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 97c38ad commit db7b57bCopy full SHA for db7b57b
llama-cpp-2/src/context/params.rs
@@ -161,7 +161,7 @@ impl LlamaContextParams {
161
/// ```rust
162
/// use llama_cpp_2::context::params::LlamaContextParams;
163
/// let params = LlamaContextParams::default();
164
- /// assert_eq!(params.n_batch(), 512);
+ /// assert_eq!(params.n_batch(), 2048);
165
/// ```
166
#[must_use]
167
pub fn n_batch(&self) -> u32 {
0 commit comments