This commit is contained in:
ryan-mangeno 2025-08-28 12:37:02 -04:00
parent 9805635c12
commit 40249dd5ec
1 changed files with 0 additions and 1 deletions

View File

@ -465,7 +465,6 @@ class ModelBase:
@classmethod @classmethod
def from_model_architecture(cls, arch: str, model_type = ModelType.TEXT) -> type[ModelBase]: def from_model_architecture(cls, arch: str, model_type = ModelType.TEXT) -> type[ModelBase]:
try: try:
print(f"model_type: {model_type}, arch: {arch}")
return cls._model_classes[model_type][arch] return cls._model_classes[model_type][arch]
except KeyError: except KeyError:
raise NotImplementedError(f'Architecture {arch!r} not supported!') from None raise NotImplementedError(f'Architecture {arch!r} not supported!') from None