summaryrefslogtreecommitdiff
path: root/candle-wasm-tests/tests/quantized_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-wasm-tests/tests/quantized_tests.rs')
-rw-r--r--candle-wasm-tests/tests/quantized_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-wasm-tests/tests/quantized_tests.rs b/candle-wasm-tests/tests/quantized_tests.rs
index e5fa7dec..fc107e61 100644
--- a/candle-wasm-tests/tests/quantized_tests.rs
+++ b/candle-wasm-tests/tests/quantized_tests.rs
@@ -40,7 +40,7 @@ fn quantized_matmul_neg() -> Result<()> {
]
);
- let qtensor = quantized::QTensor::new(rhs_t, (4, 64))?;
+ let qtensor = quantized::QTensor::new(quantized::QStorage::Cpu(Box::new(rhs_t)), (4, 64))?;
let matmul = quantized::QMatMul::from_qtensor(qtensor)?;
let res = matmul.forward(&tensor_lhs)?;
assert_eq!(