File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3368,8 +3368,8 @@ def set_gguf_parameters(self):
3368
3368
self .gguf_writer .add_file_type (self .ftype )
3369
3369
self .gguf_writer .add_rope_freq_base (hparams .get ("rope_theta" , 1_000_000.0 )) # for global layers
3370
3370
# both attn_logit_softcapping and final_logit_softcapping are removed in Gemma3
3371
- assert hparams .get ("attn_logit_softcapping" ) == None
3372
- assert hparams .get ("final_logit_softcapping" ) == None
3371
+ assert hparams .get ("attn_logit_softcapping" ) is None
3372
+ assert hparams .get ("final_logit_softcapping" ) is None
3373
3373
self .gguf_writer .add_sliding_window (hparams ["sliding_window" ])
3374
3374
self .gguf_writer .add_head_count_kv (hparams .get ("num_key_value_heads" , 4 ))
3375
3375
if hparams .get ("rope_scaling" ) is not None :
You can’t perform that action at this time.
0 commit comments