Skip to content

Commit 2a0a81a

Browse files
committed
python: fix style
1 parent e0cc2b4 commit 2a0a81a

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
@@ -3368,7 +3368,7 @@ def set_gguf_parameters(self):
33683368
self.gguf_writer.add_file_type(self.ftype)
33693369
self.gguf_writer.add_rope_freq_base(hparams.get("rope_theta", 1_000_000.0)) # for global layers
33703370
# both attn_logit_softcapping and final_logit_softcapping are removed in Gemma3
3371-
assert hparams.get("attn_logit_softcapping") is None
3371+
assert hparams.get("attn_logit_softcapping") is None
33723372
assert hparams.get("final_logit_softcapping") is None
33733373
self.gguf_writer.add_sliding_window(hparams["sliding_window"])
33743374
self.gguf_writer.add_head_count_kv(hparams.get("num_key_value_heads", 4))

0 commit comments

Comments
 (0)