We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f398e commit 3ddf41aCopy full SHA for 3ddf41a
llama-cpp-2/src/mtmd.rs
@@ -627,6 +627,7 @@ impl MtmdInputChunks {
627
let chunk_ptr =
628
unsafe { llama_cpp_sys_2::mtmd_input_chunks_get(self.chunks.as_ptr(), index) };
629
630
+ // Note: We don't own this chunk, it's owned by the chunks collection
631
NonNull::new(chunk_ptr.cast_mut()).map(|ptr| MtmdInputChunk {
632
chunk: ptr,
633
owned: false,
0 commit comments