mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-27 13:02:12 +00:00
12 lines
297 B
Rust
12 lines
297 B
Rust
|
pub mod backend;
|
||
|
|
||
|
#[cxx::bridge(namespace = "huggingface::tgi::backends::llama")]
|
||
|
mod ffi {
|
||
|
unsafe extern "C++" {
|
||
|
include!("backends/llamacpp/csrc/backend.cpp");
|
||
|
|
||
|
/// Represent an instance of the llama.cpp backend instance on C++ side
|
||
|
type LlamaCppBackendImpl;
|
||
|
}
|
||
|
}
|