gguf-py: remove wrong clip -> clamp

This commit is contained in:
Pierrick HYMBERT 2024-04-06 15:46:47 +02:00
parent ed582c1dde
commit 3e3d2d127c

View file

@ -379,9 +379,6 @@ class GGUFWriter:
def add_causal_attention(self, value: bool) -> None: def add_causal_attention(self, value: bool) -> None:
self.add_bool(Keys.Attention.CAUSAL.format(arch=self.arch), value) self.add_bool(Keys.Attention.CAUSAL.format(arch=self.arch), value)
def add_clip_kqv(self, value: int) -> None:
self.add_uint32(Keys.Attention.CLIP_KQV.format(arch=self.arch), value)
def add_pooling_type(self, value: PoolingType) -> None: def add_pooling_type(self, value: PoolingType) -> None:
self.add_uint32(Keys.LLM.POOLING_TYPE.format(arch=self.arch), value.value) self.add_uint32(Keys.LLM.POOLING_TYPE.format(arch=self.arch), value.value)