Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed May 13, 2024
1 parent 7d34ac1 commit e94046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/llama-cpp-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl LlamaCppServer {
pub fn new(device: &str, model_path: &str, parallelism: u8) -> Self {
let use_gpu = device != "cpu";
let Some(binary_name) = find_binary_name(Some(device)) else {
panic!("Failed to find llama-server binary for device {device}, please make sure you have corresponding llama-server binary locates in the same directory as the current executable");
panic!("Failed to find llama-server binary for device {device}, please make sure you have corresponding llama-server binary locates in the same directory as the current executable.");
};

let model_path = model_path.to_owned();
Expand Down

0 comments on commit e94046b

Please sign in to comment.