Skip to main content

worker_args

Function worker_args 

Source
pub fn worker_args() -> Option<WorkerArgs>
Expand description

Parse this process’s worker invocation: --rank N --hostfile PATH (rank falls back to RLX_RANK). Returns None when neither --rank nor RLX_RANK is present — meaning this is the top-level launcher, which should build a LocalCluster.