From 35a2ee914308c85ab5cb576467381443ad23f0ac Mon Sep 17 00:00:00 2001 From: Michael Klimenko Date: Sat, 27 Jan 2024 15:25:55 +0100 Subject: Remove unused data and add fixes (#5154) * Remove unused data and add fixes * Add missing file * Address review comments * Replace the scope of vq allocation --- tests/test-backend-ops.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/test-backend-ops.cpp') diff --git a/tests/test-backend-ops.cpp b/tests/test-backend-ops.cpp index 55ce14e0..e3c656f5 100644 --- a/tests/test-backend-ops.cpp +++ b/tests/test-backend-ops.cpp @@ -102,7 +102,6 @@ static std::vector tensor_to_float(const ggml_tensor * t) { } else if (t->type == GGML_TYPE_I8) { tv.push_back((float)*(int8_t *) &buf[i]); } else if (quantized) { - std::vector vq(ggml_blck_size(t->type)); tt.to_float(&buf[i], vq.data(), ggml_blck_size(t->type)); tv.insert(tv.end(), vq.begin(), vq.end()); } else { -- cgit v1.2.3