Skip to content

Commit b2f9be4

Browse files
convert: fix ty type-check for GraniteSpeechMmprojModel registration
1 parent d25dae6 commit b2f9be4

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
@@ -12469,7 +12469,7 @@ def modify_tensors(self, data_torch, name, bid):
1246912469
yield from super().modify_tensors(data_torch, name, bid)
1247012470

1247112471

12472-
@ModelBase.register("GraniteSpeechForConditionalGeneration", ModelType.MMPROJ)
12472+
@ModelBase.register("GraniteSpeechForConditionalGeneration")
1247312473
class GraniteSpeechMmprojModel(MmprojModel):
1247412474
has_vision_encoder = False
1247512475
has_audio_encoder = True

0 commit comments

Comments
 (0)