From 8d6c6de8e04afad7a4dd7e3b3c9ca042e95e3a3f Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Sat, 11 Nov 2023 17:42:53 +0100 Subject: [PATCH] Missing new test. --- candle-core/tests/tensor_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/candle-core/tests/tensor_tests.rs b/candle-core/tests/tensor_tests.rs index eb684909..c871dc96 100644 --- a/candle-core/tests/tensor_tests.rs +++ b/candle-core/tests/tensor_tests.rs @@ -1123,6 +1123,7 @@ test_device!( ); test_device!(randn, randn_cpu, randn_gpu, randn_metal); test_device!(clamp, clamp_cpu, clamp_gpu, clamp_metal); +test_device!(var, var_cpu, var_gpu, var_metal); // There was originally a bug on the CPU implementation for randn // https://github.com/huggingface/candle/issues/381