Skip to content
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

Rewrite finetune command if subcommand is not provided #1313

Merged
merged 6 commits into from
Apr 17, 2024

Conversation

awaelchli
Copy link
Contributor

This PR is a hack to add a default for the litgpt finetune command as a short-term solution. The default was chosen to be lora. In other words

litgpt finetune [args]

is now equivalent to

litgpt finetune lora [args]

and the other subcommands still exist.

Copy link
Contributor

@lantiga lantiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very reasonable to me, I think we can ship this and revisit later

@awaelchli awaelchli marked this pull request as ready for review April 17, 2024 21:37
@rasbt
Copy link
Collaborator

rasbt commented Apr 17, 2024

Looks great, Adrian! Thanks, I think this is perfect for v1.0!

@rasbt rasbt merged commit 21e9a0d into main Apr 17, 2024
9 checks passed
@rasbt rasbt deleted the feature/finetune-default branch April 17, 2024 21:57
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.

3 participants