migrate to golangci-lint v2 (#13109)

* migrate to golangci-lint v2
* copyloopvar
This commit is contained in:
Michael Yang
2025-11-18 11:00:26 -08:00
committed by GitHub
parent 330f62a7fa
commit 718961de68
7 changed files with 61 additions and 33 deletions

View File

@@ -175,7 +175,6 @@ func quantize(in, out *os.File, orig *fsggml.GGML, newFileType fsggml.FileType,
origTensors := orig.Tensors().Items()
outputTensors := make([]*fsggml.Tensor, len(origTensors))
for i, tensor := range origTensors {
tensor := tensor
newType := newType(tensor, kv, qs, newFileType)
newTensor := &fsggml.Tensor{
Name: tensor.Name,