mujoco-py icon indicating copy to clipboard operation
mujoco-py copied to clipboard

Change the device for rendering

Open wadiuvatzy opened this issue 2 years ago • 0 comments

I am using mujoco-py to do some RL tasks. When I am runing the program, it will output "Found 8 GPUs for rendering. Using device 0" image When I want to get more processes, cuda: 0 is out of memory. So I want to change the default device for rendering but I donot know how.

I have tried to add "CUDA_VISIBLE_DEVICES=1" before the python command. But there is another error coming out. 9d042071809c144b6170f4296269037 I have no idea how to fix this.

So could you tell me how to change the device for rendering?

wadiuvatzy avatar Oct 25 '23 13:10 wadiuvatzy