RAGEN / cleanrl /tests /test_atari_multigpu.py
Harryis's picture
Add files using upload-large-folder tool
358dd8b verified
Raw
History Blame Contribute Delete
254 Bytes
import subprocess
def test_ppo_multigpu():
subprocess.run(
"torchrun --standalone --nnodes=1 --nproc_per_node=2 cleanrl/ppo_atari_multigpu.py --num-envs 8 --num-steps 32 --total-timesteps 256",
shell=True,
check=True,
)