Skip to main content

run

Function run 

Source
pub fn run(cli: &JoinArgs, bin_tail: Option<&[String]>) -> i32
Expand description

Run fdl join. bin_tail is everything after the command line’s standalone --: the training binary’s own arguments, forwarded verbatim (rank children re-enter the binary with them). None = no -- was given (the config block’s args: applies); a present but empty tail is an explicit “no arguments”.

Exit code: the agent’s own exit code (one-shot); EXIT_PERMANENT for a failure retrying cannot fix; 1 for a transient one. --persist re-dials through transient failures and agent exits, and returns only on a permanent one.