Skip to content

Commit db7b57b

Browse files
committed
fix defaults
1 parent 97c38ad commit db7b57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl LlamaContextParams {
161161
/// ```rust
162162
/// use llama_cpp_2::context::params::LlamaContextParams;
163163
/// let params = LlamaContextParams::default();
164-
/// assert_eq!(params.n_batch(), 512);
164+
/// assert_eq!(params.n_batch(), 2048);
165165
/// ```
166166
#[must_use]
167167
pub fn n_batch(&self) -> u32 {

0 commit comments

Comments
 (0)