Skip to content

Commit 451fe3b

Browse files
committed
update
1 parent 8ac7b76 commit 451fe3b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def main(cfg: ExperimentConfig) -> None:
249249
device = setup_device(
250250
device_type=cfg.gpu.device,
251251
device_index=cfg.gpu.use,
252+
rank=local_rank,
252253
use_cudnn=cfg.gpu.use_cudnn,
253254
verbose=local_rank in [-1, 0],
254255
allow_tf32=cfg.gpu.use_tf32,

0 commit comments

Comments
 (0)