in torchx/schedulers/ray_scheduler.py [0:0]
def run_opts(self) -> runopts:
opts = runopts()
opts.add(
"cluster_config_file",
type_=str,
required=True,
help="Use CLUSTER_CONFIG_FILE to access or create the Ray cluster.",
)
opts.add(
"cluster_name",
type_=str,
help="Override the configured cluster name.",
)
opts.add(
"copy_scripts",
type_=bool,
default=False,
help="Copy the Python script(s) to the cluster.",
)
opts.add(
"copy_script_dirs",
type_=bool,
default=False,
help="Copy the directories containing the Python scripts to the cluster.",
)
opts.add(
"verbose",
type_=bool,
default=False,
help="Enable verbose output.",
)
return opts