Skip to content

Commit

Permalink
Merge pull request #56 from utilityai/update-llama-cpp-2024-02-01
Browse files Browse the repository at this point in the history
updated llama.cpp
  • Loading branch information
MarcusDunn authored Feb 2, 2024
2 parents e69c46c + 0d57ff9 commit 7f04d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llama-cpp-2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn llama_time_us() -> i64 {
/// assert!(max_devices >= 0);
/// ```
#[must_use]
pub fn max_devices() -> c_int {
pub fn max_devices() -> usize {
unsafe { llama_cpp_sys_2::llama_max_devices() }
}

Expand Down

0 comments on commit 7f04d39

Please sign in to comment.