We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac7b76 commit 451fe3bCopy full SHA for 451fe3b
1 file changed
train.py
@@ -249,6 +249,7 @@ def main(cfg: ExperimentConfig) -> None:
249
device = setup_device(
250
device_type=cfg.gpu.device,
251
device_index=cfg.gpu.use,
252
+ rank=local_rank,
253
use_cudnn=cfg.gpu.use_cudnn,
254
verbose=local_rank in [-1, 0],
255
allow_tf32=cfg.gpu.use_tf32,
0 commit comments