File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
examples/disaggregated/slurm/benchmark Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 55 account : " <account>"
66 job_time : " 02:00:00"
77 job_name : " <job_name>"
8- extra_args : " "
8+ extra_args : " " # Cluster specific arguments, e.g. "--gres=gpu:4 --exclude=node1,node2"
99 numa_bind : true # Only enable for GB200 NVL72
1010
1111# Benchmark Mode
Original file line number Diff line number Diff line change @@ -130,15 +130,14 @@ def submit_job(config):
130130 cmd = [
131131 'sbatch' ,
132132 f'--partition={ slurm_config ["partition" ]} ' ,
133- f'--gres=gpu:{ hw_config ["gpus_per_node" ]} ' ,
134133 f'--account={ slurm_config ["account" ]} ' ,
135134 f'--time={ slurm_config ["job_time" ]} ' ,
136135 f'--job-name={ slurm_config ["job_name" ]} ' ,
137136 f'--nodes={ total_nodes } ' ,
138137 f'--ntasks={ total_tasks } ' ,
139138 f'--ntasks-per-node={ hw_config ["gpus_per_node" ]} ' ,
140139 f'--segment={ total_nodes } ' ,
141- slurm_config ['extra_args' ],
140+ * ([ arg for arg in slurm_config ['extra_args' ]. split () if arg ]) ,
142141 slurm_config ['script_file' ],
143142 # Hardware configuration
144143 str (hw_config ['gpus_per_node' ]),
You can’t perform that action at this time.
0 commit comments