From 958c72a44a4bba4f8cdcb12d09d4038de7dc95bf Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Mon, 4 Nov 2024 16:26:05 +0100 Subject: [PATCH] misc(ffi): remove unused ffi mapping --- backends/llamacpp/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) 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],