-
Notifications
You must be signed in to change notification settings - Fork 547
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
Set up a new version of the Oumi CLI using Typer #588
Conversation
src/oumi/core/cli/train.py
Outdated
import typer | ||
from typing_extensions import Annotated | ||
|
||
import oumi.core.cli.utils as utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use a more specific name like as cli_utils
? utils
is too generic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, renamed to cli_utils
.
Would users still be able to run |
They can still run |
This PR creates a new
oumi
command that accepts 3 subcommands:oumi train
oumi infer
oumi evaluate
These commands have full typer integration.
I will be adding
oumi launch
as a follow-up as it's more involved.I will remove the old CLI when we have parity + update all references.
Towards OPE-500 and OPE-473