mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Improve the quantized whisper setup. (#1018)
* Improve the quantized whisper setup. * Fix the config file paths. * Use the standard matmul where possible.
This commit is contained in:
@ -90,7 +90,7 @@ impl QMatMul {
|
||||
vb: crate::quantized_var_builder::VarBuilder,
|
||||
) -> Result<Self> {
|
||||
let ws = vb.get((in_dim, out_dim), "weight")?;
|
||||
let inner = candle::quantized::QMatMul::from_arc(ws);
|
||||
let inner = candle::quantized::QMatMul::from_arc(ws)?;
|
||||
let span = tracing::span!(tracing::Level::TRACE, "qmatmul");
|
||||
Ok(Self { inner, span })
|
||||
}
|
||||
|
Reference in New Issue
Block a user