You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The running environment is capable of running the file spaceinvaders_dqn_config_multi_gpu_dp.py, and I am using the single-machine multi-GPU mode.
When running the ddp file, I also wish to use the single-machine multi-GPU mode, but encountered an error. The command I used for running is: ding -m serial -c spaceinvaders_dqn_config_multi_gpu_ddp.py -s 0.
However, in the relevant source code of DDP: init_process_group() is placed within this DDPContext, and the rank is indeed set, but it seems to have no effect.
Therefore, I hope to seek assistance in order to smoothly execute the contents of the file named 'spaceinvaders_dqn_config_multi_gpu_ddp.py'. If any friend has relevant experience with this, please do share with me. I am very grateful!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
You should use the
torchruncommand to enable multiple worker, here is the related doc in PyTorch.