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
still the issue is not fixed. I am downloading Qwen2 VL 2b instruct model in lightning.ai studio and takes a lot of time.
3x slower downloading than kaggle.
Bug description
Sometimes the download speed is pretty slow, no more than 10.5 MB/s.
For example, gemma-2-2b takes a lot of time to download.
In
download.py
the code sets hf_transfer variable via constants:litgpt/litgpt/scripts/download.py
Lines 79 to 82 in fe96c63
But it doesn't help.
Even if set the value through
os.environ["HF_HUB_ENABLE_HF_TRANSFER"]="1"
.But, if to export the env variable before running a script one can notice a significant speed-up:
export HF_HUB_ENABLE_HF_TRANSFER=1
Most likely, HF Hub checks the env variable upon initialization.
The code needs to be fixed.
What operating system are you using?
macOS
LitGPT Version
The text was updated successfully, but these errors were encountered: