Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoko authored Dec 20, 2024
1 parent cceceac commit 2eefef6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mistralrs-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ impl MistralRsBuilder {
self.disable_eos_stop = Some(disable_eos_stop);
self
}

/// This setting is only applicable on CUDA.
/// If set to false or not specified, this setting enables f16/bf16 reduced
/// precision matmul for GPUs which support it.
/// If set to true, this setting has no effect.
pub fn with_gemm_full_precision_f16(mut self, gemm_full_precision: bool) -> Self {
self.gemm_full_precision_f16 = Some(gemm_full_precision);
self
Expand Down

0 comments on commit 2eefef6

Please sign in to comment.