Skip to content

Commit cf360fc

Browse files
committed
Cleaned up
1 parent 1fb7ec3 commit cf360fc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llama-cpp-2/src/model.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ impl LlamaModel {
432432
.collect();
433433
// Set the tmpl pointer
434434
let tmpl = tmpl.map(|v| CString::new(v));
435-
eprintln!("TEMPLATE AGAIN: {:?}", tmpl);
436435
let tmpl_ptr = match tmpl {
437436
Some(str) => str?.as_ptr(),
438437
None => std::ptr::null(),
@@ -451,7 +450,6 @@ impl LlamaModel {
451450
if res > buff.len() as i32 {
452451
return Err(ApplyChatTemplateError::BuffSizeError);
453452
}
454-
println!("BUFF: {:?}", buff);
455453
String::from_utf8(buff.iter().filter(|c| **c > 0).map(|&c| c as u8).collect())
456454
};
457455
Ok(formatted_chat?)

0 commit comments

Comments
 (0)