Skip to content

Commit e2afcc0

Browse files
committed
remove extra space in convert_hf_to_gguf.py:1556
1 parent 29b9b2f commit e2afcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ def __init__(self, *args, **kwargs):
15531553
# _num_kv_heads[il] is num_attention_head // n_heads_in_group and
15541554
# _num_heads[il] is num_attention_head
15551555
for il in range(len(_block_configs)):
1556-
if _block_configs[il]["attention"]["n_heads_in_group"] is None:
1556+
if _block_configs[il]["attention"]["n_heads_in_group"] is None:
15571557
if _block_configs[il]["attention"]["replace_with_linear"] is True:
15581558
self._num_kv_heads.append(0)
15591559
self._num_heads.append(self.hparams["num_attention_heads"])

0 commit comments

Comments
 (0)