Skip to content

Commit ab0b550

Browse files
committed
rm redundant code
1 parent 1bd57a3 commit ab0b550

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

convert_hf_to_gguf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ def dequant_compressed_tensor(weight: Tensor, scale: Tensor) -> Tensor:
401401
)
402402
]
403403
elif quant_method == "compressed-tensors":
404-
weight_block_size = quant_config["config_groups"]["group_0"]["weights"]["group_size"]
405-
quant_config["weight_block_size"] = weight_block_size
406404
for name in self.model_tensors.keys():
407405
if name.endswith("_packed"):
408406
base_name = name.removesuffix("_packed")

0 commit comments

Comments
 (0)