Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the device for rendering #778

Open
wadiuvatzy opened this issue Oct 25, 2023 · 0 comments
Open

Change the device for rendering #778

wadiuvatzy opened this issue Oct 25, 2023 · 0 comments

Comments

@wadiuvatzy
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant