Skip to content

Import specific version #824

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
merged 3 commits into from
Apr 10, 2025
Merged

Conversation

amisevsk
Copy link
Contributor

Description

Add flag --ref to kit import command to allow specifying a revision (i.e. other than main) to import. Supported by both the git and hf importer.

To test, it's convenient to use

  • Default branch: kit import HuggingFaceTB/SmolLM-135M-Instruct
  • v0.1 branch: kit import HuggingFaceTB/SmolLM-135M-Instruct --ref v0.1

Linked issues

Closes #823

Add flag `--ref` to kit import command to allow importing tagged
versions of the repository instead of only 'main'

Signed-off-by: Angel Misevski <[email protected]>
@amisevsk amisevsk requested a review from gorkem April 10, 2025 19:04
@amisevsk amisevsk merged commit ed837a3 into kitops-ml:main Apr 10, 2025
4 checks passed
@amisevsk amisevsk deleted the import-specific-version branch April 10, 2025 20:13
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.

Allow importing specific versions of repositories rather than default
2 participants