ValueError: Model type gemma2 not supported

#2
by alexcardo - opened

ModuleNotFoundError: No module named 'mlx_lm.models.gemma2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/Users/alex/j/lib/python3.9/site-packages/mlx_lm/utils.py", line 419, in load
model = load_model(model_path, lazy, model_config)
File "/Users/alex/j/lib/python3.9/site-packages/mlx_lm/utils.py", line 359, in load_model
model_class, model_args_class = _get_classes(config=config)
File "/Users/alex/j/lib/python3.9/site-packages/mlx_lm/utils.py", line 60, in _get_classes
raise ValueError(msg)
ValueError: Model type gemma2 not supported.

Sign up or log in to comment