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 found that when no Internet is available, FastLanguageModel.from_pretrained will take a long time waiting. In unsloth/load.py, the following code appears:
from huggingface_hub.utils import disable_progress_bars, enable_progress_bars, are_progress_bars_disabled
was_disabled = are_progress_bars_disabled()
disable_progress_bars()
I suspect executing these codes will need access to Internet. If not, they keep waiting and waiting until access is available.
The behavior should be if a local model is available, load it immediately without checking.
The text was updated successfully, but these errors were encountered:
I found that when no Internet is available, FastLanguageModel.from_pretrained will take a long time waiting. In
unsloth/load.py
, the following code appears:I suspect executing these codes will need access to Internet. If not, they keep waiting and waiting until access is available.
The behavior should be if a local model is available, load it immediately without checking.
The text was updated successfully, but these errors were encountered: