Checkpoint download from revision
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Description
In the Aurora.load_checkpoint method, pretrained weights are downloaded using path = hf_hub_download(repo_id=repo, filename=name). There is an additional arg revision=<huggingface-commit-hash> which can be used to only download weights from a specific commit to the huggingface repo. May I suggest this be used just for guaranteeing the expected weights are downloaded?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Aurora.load_checkpoint method and inspect how hf_hub_download receives repo_id and filename. Determine the expected Hugging Face commit hash for the pretrained weights, then verify that downloads are pinned to that revision. Done means checkpoint retrieval consistently requests the specified commit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100