Repository navigation
Description
Use cases, pain points, and background
The current CLI has 40+ entry points across two naming conventions (ng_* and nemo_gym_*), all using underscore-separated names:
ng_collect_rollouts
ng_init_resources_server
ng_e2e_collect_rollouts
ng_upload_dataset_to_gitlab
ng_download_dataset_from_hfMost modern CLI tools use a tool subcommand pattern (docker run, git status, kubectl apply). A single top-level command i.e. gym or nemo with grouped subcommands would be more intuitive and easier to discover.
Description:
Replace the ng_* / nemo_gym_* entry points with a single gym CLI. Top-level commands for common operations, with subcommand groups for related clusters (e.g. gym data * for all data operations, gym benchmark * for benchmark operations), examples:
gym run # ng_run
gym test # ng_test
gym test --all # ng_test_all
gym status # ng_status
gym version # ng_version
gym config dump # ng_dump_config
gym rollouts # ng_collect_rollouts
gym profile # ng_reward_profile
gym data prepare # ng_prepare_data
gym data upload # ng_upload_dataset_to_hf / ng_upload_dataset_to_gitlab
gym data download # ng_download_dataset_from_hf / ng_download_dataset_from_gitlab
gym benchmark list # ng_list_benchmarks
gym benchmark prepare # ng_prepare_benchmarkKeep the ng_* aliases around as deprecated shims during a transition period, with a deprecation warning pointing users to the new command.
Design:
What files should be touched? What logic should be written?
Out of scope:
What are some items that this issue could be mistaken to cover that this issue should explicitly NOT cover?
Acceptance Criteria:
- Individual items that need to be finished in order for this issue to be considered completed
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity