microsoft / microsoft/aurora

Checkpoint download from revision

Open
#114 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.