misc(ffi): remove unused ffi mapping
This commit is contained in:
parent
5b7a951389
commit
958c72a44a
|
@ -52,14 +52,6 @@ mod ffi {
|
||||||
#[rust_name = "create_single_worker_backend"]
|
#[rust_name = "create_single_worker_backend"]
|
||||||
fn create_single_worker_backend(modelPath: &str) -> Result<UniquePtr<LlamaCppBackendImpl>>;
|
fn create_single_worker_backend(modelPath: &str) -> Result<UniquePtr<LlamaCppBackendImpl>>;
|
||||||
|
|
||||||
// fn generate(
|
|
||||||
// self: Pin<&mut LlamaCppBackendImpl>,
|
|
||||||
// tokens: &[u32],
|
|
||||||
// generated: &mut [u32],
|
|
||||||
// generation_params: GenerationParams,
|
|
||||||
// sampling_params: &SamplingParams,
|
|
||||||
// ) -> Result<usize>;
|
|
||||||
|
|
||||||
unsafe fn stream(
|
unsafe fn stream(
|
||||||
self: Pin<&mut LlamaCppBackendImpl>,
|
self: Pin<&mut LlamaCppBackendImpl>,
|
||||||
tokens: &[u32],
|
tokens: &[u32],
|
||||||
|
|
Loading…
Reference in New Issue