Skip to content

Add the revision CheckpointInfo.from_hf_repo()#401

Merged
ameroyer merged 1 commit into
kyutai-labs:mainfrom
gabrieldemarmiesse:allow_setting_the_revision
Feb 11, 2026
Merged

Add the revision CheckpointInfo.from_hf_repo()#401
ameroyer merged 1 commit into
kyutai-labs:mainfrom
gabrieldemarmiesse:allow_setting_the_revision

Conversation

@gabrieldemarmiesse

@gabrieldemarmiesse gabrieldemarmiesse commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

Checklist

  • Read CONTRIBUTING.md, and accept the CLA by including the provided snippet. We will not accept PR without this.
  • Run pre-commit hook.
  • If you changed Rust code, run cargo check, cargo clippy, cargo test.

PR Description

The revision is quite useful for a few cases:

  • being resilient to code and model changes (old versions of the code still work even after modifying the hf repo)
  • When using the revision, if the files are already downloaded, there is no call to HF being done to check if a new version of the file is available leading to 1) faster loading and 2) possible offline use

@gabrieldemarmiesse gabrieldemarmiesse marked this pull request as ready for review February 11, 2026 14:09
@ameroyer ameroyer merged commit 753a43e into kyutai-labs:main Feb 11, 2026
9 checks passed
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.

2 participants