diff --git a/backends/llamacpp/src/lib.rs b/backends/llamacpp/src/lib.rs index 01f2054d..006c7387 100644 --- a/backends/llamacpp/src/lib.rs +++ b/backends/llamacpp/src/lib.rs @@ -52,14 +52,6 @@ mod ffi { #[rust_name = "create_single_worker_backend"] fn create_single_worker_backend(modelPath: &str) -> Result>; - // fn generate( - // self: Pin<&mut LlamaCppBackendImpl>, - // tokens: &[u32], - // generated: &mut [u32], - // generation_params: GenerationParams, - // sampling_params: &SamplingParams, - // ) -> Result; - unsafe fn stream( self: Pin<&mut LlamaCppBackendImpl>, tokens: &[u32],