Custom Script Arguments

In caliban run or caliban cloud modes, if you pass -- to the CLI, Caliban will stop parsing commands and pass everything after -- through to your script, untouched. If you run:

caliban cloud trainer.train -- --epochs 2 --job_dir my_directory

Your script will execute inside the container environment with the following command:

python -m trainer.train --epochs 2 --job_dir my_directory

This feature is compatible with Experiment Broadcasting in cloud, run or cluster mode; arguments are prepended to the list generated by the specific experiment being executed from your experiment config.