Skip to content

Commit b4cc586

Browse files
convert: fix ty type-check for GraniteSpeechMmprojModel registration
1 parent 332924c commit b4cc586

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12452,7 +12452,7 @@ def modify_tensors(self, data_torch, name, bid):
1245212452
yield from super().modify_tensors(data_torch, name, bid)
1245312453

1245412454

12455-
@ModelBase.register("GraniteSpeechForConditionalGeneration", ModelType.MMPROJ)
12455+
@ModelBase.register("GraniteSpeechForConditionalGeneration")
1245612456
class GraniteSpeechMmprojModel(MmprojModel):
1245712457
has_vision_encoder = False
1245812458
has_audio_encoder = True

0 commit comments

Comments
 (0)