Skip to content

Commit

Permalink
Mirror llama.cpp metric
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Nov 14, 2024
1 parent 4a0908a commit 940b14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-core/src/quantized/metal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ impl QMetalStorage {
let m = dst_shape[..src_shape.rank() - self_shape.rank()]
.iter()
.product::<usize>();
if m == 1 || src_shape.dim(D::Minus2)? == 1 {
if src_shape.dim(D::Minus2)? == 1 {
return self.fwd_mv(self_shape, storage, layout);
}

Expand Down

0 comments on commit 940b14e

Please sign in to comment.