Skip to content

Commit 43c2e75

Browse files
committed
small fix
1 parent 93b5f71 commit 43c2e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def print_registered_models(cls):
442442
logger.error(f" - {name}")
443443

444444
@classmethod
445-
def from_model_architecture(cls, arch: str, model_type = ModelType.TEXT) -> type[Model]:
445+
def from_model_architecture(cls, arch: str, model_type = ModelType.TEXT) -> type[ModelBase]:
446446
try:
447447
return cls._model_classes[model_type][arch]
448448
except KeyError:

0 commit comments

Comments
 (0)