ERROR:root:Model type openelm not supported.
ERROR:root:Model type openelm not supported.
ModuleNotFoundError Traceback (most recent call last)
File ~/anaconda3/lib/python3.11/site-packages/mlx_lm/utils.py:46, in _get_classes(config)
45 try:
---> 46 arch = importlib.import_module(f"mlx_lm.models.{model_type}")
47 except ImportError:
File ~/anaconda3/lib/python3.11/importlib/init.py:126, in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
File :1204, in _gcd_import(name, package, level)
File :1176, in find_and_load(name, import)
File :1140, in find_and_load_unlocked(name, import)
ModuleNotFoundError: No module named 'mlx_lm.models.openelm'
pip install -U mlx-lm
Same problem for me and the library is already installed, any update?
What version of mlx-lm are you running?