CLI¶
Install the package, then use the trloom entry point (or python -m trloom).
trloom methods¶
List TRL training methods discovered in this environment, including experimental ones when available.
trloom validate¶
Validate a YAML config without training. Prints a JSON summary:
Typical fields: ok, method, trainer, config_class, experimental,
output_dir, wandb_enabled, modal_enabled.
trloom run¶
Run a fine-tuning job from YAML.
trloom run path/to/config.yaml
trloom run path/to/config.yaml --modal
trloom run path/to/config.yaml --local
| Flag | Behavior |
|---|---|
--modal |
Force Modal execution (overrides YAML) |
--local |
Force local execution (overrides YAML) |
--modal and --local are mutually exclusive.
trloom modal-script¶
Write a standalone Modal entrypoint for a config:
If -o / --output is omitted, a default script path is used.