We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705f84a commit a8fa83fCopy full SHA for a8fa83f
gguf-py/gguf/gguf_writer.py
@@ -832,8 +832,8 @@ def add_attention_scale(self, value: float) -> None:
832
def add_attn_output_scale(self, value: float) -> None:
833
self.add_float32(Keys.Attention.OUTPUT_SCALE.format(arch=self.arch), value)
834
835
- def add_attn_temperature_length(self, value: float) -> None:
836
- self.add_float32(Keys.Attention.TEMPERATURE_LENGTH.format(arch=self.arch), value)
+ def add_attn_temperature_length(self, value: int) -> None:
+ self.add_uint32(Keys.Attention.TEMPERATURE_LENGTH.format(arch=self.arch), value)
837
838
def add_pooling_type(self, value: PoolingType) -> None:
839
self.add_uint32(Keys.LLM.POOLING_TYPE.format(arch=self.arch), value.value)
0 commit comments