We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
download.py
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".
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.
macOS
Version: 0.5.4.dev1
The text was updated successfully, but these errors were encountered:
I think this is fixed now via #1899
Sorry, something went wrong.
Nope :) Still the same: the downloading speed is capped at 10.5, but if I enable HF_HUB_ENABLE_HF_TRANSFER before downloading it is superfast.
HF_HUB_ENABLE_HF_TRANSFER
So weird, I wasn't able to reproduce!
No branches or pull requests
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: