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):
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" ) == 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
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 ))
33753375 if hparams .get ("rope_scaling" ) is not None :
You can’t perform that action at this time.
0 commit comments