Skip to main content

build_launch_command

Function build_launch_command 

Source
pub fn build_launch_command(
    node: &NodeConfig,
    model_path: &Path,
    data_path: &Path,
    checkpoint_dir: &Path,
    rank: u32,
    epochs: u32,
) -> String
Expand description

Build a remote launch command for an adapter job on a node.

Returns the shell command that would be executed on the remote node to start training.