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 1fb7ec3 commit cf360fcCopy full SHA for cf360fc
llama-cpp-2/src/model.rs
@@ -432,7 +432,6 @@ impl LlamaModel {
432
.collect();
433
// Set the tmpl pointer
434
let tmpl = tmpl.map(|v| CString::new(v));
435
- eprintln!("TEMPLATE AGAIN: {:?}", tmpl);
436
let tmpl_ptr = match tmpl {
437
Some(str) => str?.as_ptr(),
438
None => std::ptr::null(),
@@ -451,7 +450,6 @@ impl LlamaModel {
451
450
if res > buff.len() as i32 {
452
return Err(ApplyChatTemplateError::BuffSizeError);
453
}
454
- println!("BUFF: {:?}", buff);
455
String::from_utf8(buff.iter().filter(|c| **c > 0).map(|&c| c as u8).collect())
456
};
457
Ok(formatted_chat?)
0 commit comments