Skip to content

Commit 909e8d4

Browse files
anagriMarcusDunn
authored andcommitted
Updating the comment for doctest
1 parent 5074871 commit 909e8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama-cpp-2/src/model/params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl LlamaModelParams {
183183
/// #[cfg(not(target_os = "macos"))]
184184
/// assert_eq!(params.n_gpu_layers(), 0, "n_gpu_layers should be 0");
185185
/// #[cfg(target_os = "macos")]
186-
/// assert_eq!(params.n_gpu_layers(), 999, "n_gpu_layers should be 0");
186+
/// assert_eq!(params.n_gpu_layers(), 999, "n_gpu_layers should be 999");
187187
/// assert_eq!(params.main_gpu(), 0, "main_gpu should be 0");
188188
/// assert_eq!(params.vocab_only(), false, "vocab_only should be false");
189189
/// assert_eq!(params.use_mmap(), true, "use_mmap should be true");

0 commit comments

Comments
 (0)