-
Notifications
You must be signed in to change notification settings - Fork 13
Feature: Support downloading model weights on-the-fly from HuggingFace (#166) #167
New issue
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
Merged
XkunW
merged 24 commits into
VectorInstitute:main
from
Center-for-AI-Innovation:hf_download
Mar 30, 2026
Merged
Changes from 9 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
fc843ed
Add support to download models automatically if --model specified in …
rohan-uiuc 5f790ff
create model dir if it doesn't exist
rohan-uiuc 0f22bec
Check model weights existence before binding; use HF model name if mi…
rohan-uiuc 9f2fdd2
Remove commented code
rohan-uiuc 38011be
Apply code formatting fixes from pre-commit
rohan-uiuc 4de3563
revert unnecessary test change
rohan-uiuc eb1e929
Merge branch 'develop' of https://github.com/Center-for-AI-Innovation…
rohan-uiuc 8b6a211
Apply formatting fixes from pre-commit
rohan-uiuc c68cb35
Add tests for model weights existence coverage
rohan-uiuc b610891
Remove redundant /dev/infiniband
rohan-uiuc a7a5deb
Remove unused variable
rohan-uiuc bb3142b
Add warning if downloading weights and HF cache not set
rohan-uiuc 2db9c6c
format ONLY
rohan-uiuc 079c86a
Add --hf-model CLI option and config field
rohan-uiuc 20163da
Use hf_model as model source when local weights missing
rohan-uiuc ed82b77
Pass hf_model from CLI to launch params
rohan-uiuc d3f6772
Add tests for hf_model override in slurm script generation
rohan-uiuc 1c312df
Add documentation for --hf-model option
rohan-uiuc cd7a9b1
Rebase with main and update hf_model field processing logic
XkunW 03864a5
Fix typos
XkunW 292200f
Fix tests
XkunW ba9030f
ruff check & format
XkunW b4037e6
Merge branch 'main' into hf_download
XkunW 8e66e26
ruff format
XkunW File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.