You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed this error upon importing from mlx_lm. I have found out that it seems due to a breaking change in huggingface_hub 0.25, which was released today. I reverted to HF_hub version 0.24.6 and this fixes the problem.
Python 3.12.6 (main, Sep 9 2024, 21:36:32) [Clang 18.1.8 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
from mlx_lm import load, generate
Traceback (most recent call last):
File "", line 1, in
File "/Users/arogister/Documents/mlx/.venv/lib/python3.12/site-packages/mlx_lm/init.py", line 3, in
from .utils import convert, generate, load, stream_generate
File "/Users/arogister/Documents/mlx/.venv/lib/python3.12/site-packages/mlx_lm/utils.py", line 17, in
from huggingface_hub.utils._errors import RepositoryNotFoundError
ModuleNotFoundError: No module named 'huggingface_hub.utils._errors'
The text was updated successfully, but these errors were encountered:
I have noticed this error upon importing from mlx_lm. I have found out that it seems due to a breaking change in huggingface_hub 0.25, which was released today. I reverted to HF_hub version 0.24.6 and this fixes the problem.
Python 3.12.6 (main, Sep 9 2024, 21:36:32) [Clang 18.1.8 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: