v0.9.beta16
Pre-release
Pre-release
Highlights
Use subcommands instead of --mode <value>
by @amaslenn in #194
New help message looks like this:
> cloudai --help
usage: cloudai [-h] [--log-file LOG_FILE] [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
{uninstall,install,dry-run,run,generate-report,verify-systems,verify-tests,verify-test-scenarios} ...
Cloud AI
optional arguments:
-h, --help show this help message and exit
--log-file LOG_FILE The name of the log file (default: debug.log).
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Set the logging level (default: INFO).
modes:
{uninstall,install,dry-run,run,generate-report,verify-systems,verify-tests,verify-test-scenarios}
uninstall Remove the installed dependencies.
install Prepare execution by setting up env and dependencies for the tests to run.
dry-run Perform a dry-run of the test scenarios without executing them.
run Execute the test scenarios.
generate-report Generate a report based on the test results.
verify-systems Verify the system configurations.
verify-tests Verify the test configurations.
verify-test-scenarios
Verify the test scenario configurations.
- Each command (a.k.a mode) has own help message.
- Each command also has a uniq set of required and optional arguments. While for many commands options are the same, others are quite different, for example:
> cloudai run --help usage: cloudai run [-h] --system-config SYSTEM_CONFIG --tests-dir TESTS_DIR --test-scenario TEST_SCENARIO [--output-dir OUTPUT_DIR] optional arguments: -h, --help show this help message and exit --system-config SYSTEM_CONFIG Path to the system configuration file. --tests-dir TESTS_DIR Path to the test configuration directory. --test-scenario TEST_SCENARIO Path to the test scenario file. --output-dir OUTPUT_DIR Path to the output directory. > cloudai verify-tests --help usage: cloudai verify-tests [-h] test_configs positional arguments: test_configs Path to the test configuration file or directory. optional arguments: -h, --help show this help message and exit
What's Changed
- Refactor NeMoLauncherSlurmCommandGenStrategy unit tests by @TaekyungHeo in #252
- Refactor JaxToolboxSlurmCommandGenStrategy by @TaekyungHeo in #249
Full Changelog: v0.9.beta15...v0.9.beta16