Skip to content

Conversation

@mohamed-em2m
Copy link

Fixed version conflict:
Changed pip install -U "huggingface_hub[cli]"
To pip install -U "huggingface_hub[cli]<1.0,>=0.19.3" This keeps it compatible with your tokenizers (0.15.2) and transformers (4.39.2) packages

use hf command:
Changed huggingface-cli to hf throughout

Fixed version conflict:
Changed pip install -U "huggingface_hub[cli]"
To pip install -U "huggingface_hub[cli]<1.0,>=0.19.3"
This keeps it compatible with your tokenizers (0.15.2) and transformers (4.39.2) packages

Simplified to use hf command:
Removed the fallback logic checks
Changed huggingface-cli to hf throughout
Set HF_CMD="hf" directly
@mohamed-em2m mohamed-em2m changed the title Update download_weights.sh for improved command usage Fix Bug in Weight Download Script and Refactor Code Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant