Skip to content

Commit

Permalink
Fixed clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperoni21 committed Nov 11, 2023
1 parent 73398db commit acadb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generation/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl GenerationOptions {
self
}

/// Sets the number of threads to use during computation. By default, Ollama will detect this for optimal performance. It is recommended to set this value to the number of physical CPU cores your system has (as opposed to the logical number of cores).
/// Sets the number of threads to use during computation. By default, Ollama will detect this for optimal performance. It is recommended to set this value to the number of physical CPU cores your system has (as opposed to the logical number of cores).
pub fn num_thread(mut self, num_thread: u32) -> Self {
self.num_thread = Some(num_thread);
self
Expand Down

0 comments on commit acadb20

Please sign in to comment.