summaryrefslogtreecommitdiff
path: root/candle-core/src/quantized/simd128.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-core/src/quantized/simd128.rs')
-rw-r--r--candle-core/src/quantized/simd128.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/candle-core/src/quantized/simd128.rs b/candle-core/src/quantized/simd128.rs
index 687399c2..f256fdc2 100644
--- a/candle-core/src/quantized/simd128.rs
+++ b/candle-core/src/quantized/simd128.rs
@@ -61,10 +61,6 @@ pub(crate) fn vec_dot_q8_0_q8_0(n: usize, xs: &[BlockQ8_0], ys: &[BlockQ8_0]) ->
if n % QK8_0 != 0 {
crate::bail!("vec_dot_q8_0_q8_0: {n} is not divisible by {qk}")
}
- let nb = n / QK8_0;
- if nb % 2 != 0 {
- crate::bail!("vec_dot_q8_0_q8_0: {nb} is not even")
- }
unsafe {
let mut acc = f32x4_splat(0.0f32);
for (x, y) in xs.iter().zip(ys.iter()) {