Remove unused variables (#706)

This commit is contained in:
Jack Mousseau
2024-02-18 12:50:10 -08:00
committed by GitHub
parent dc937b8ed3
commit 0925af43b0
7 changed files with 0 additions and 11 deletions

View File

@@ -114,7 +114,6 @@ void gguf_load_quantized(
<< "has incompatible last dim shape: " << shape[shape.size() - 1];
throw std::runtime_error(msg.str());
}
const uint64_t num_blocks = tensor.num_weights / weights_per_block;
std::vector<int> weights_shape = shape;
weights_shape.back() /= (weights_per_byte * 4);