Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Nov 14, 2024
1 parent 940b14e commit 6efab89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions candle-core/src/quantized/metal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,6 @@ impl QMetalStorage {
)
}

let m = dst_shape[..src_shape.rank() - self_shape.rank()]
.iter()
.product::<usize>();
if src_shape.dim(D::Minus2)? == 1 {
return self.fwd_mv(self_shape, storage, layout);
}
Expand Down
1 change: 1 addition & 0 deletions candle-core/tests/quantized_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ fn test_matmul(
Ok(())
}

#[cfg(feature = "metal")]
#[test]
fn test_matmul_mm() -> Result<()> {
let dtype = GgmlDType::Q8_0;
Expand Down

0 comments on commit 6efab89

Please sign in to comment.