-
Notifications
You must be signed in to change notification settings - Fork 5
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
Getting CUDA to work in Conda environment #6
Comments
OK, sorry for the copious log as this issue comes from upstream. It is only related to xpag insofar as my goal is to get it to work 😉 No TimeoutErrorThis second error is actually benign. Something goes wrong in gym when exiting the script (at destruction time, it tries to read from an imported module that has already been freed), but this is not blocking. Since gym is discontinued I guess we won't get that one fixed. How about switching to Gymnasium? (drop-in replacement) ptax warning
$ micromamba install -c nvidia cuda=11.4 Here I specified
I could not ignore this error, as it produced:
But things eventually worked out after removing and reinstalling
Now I can run the SAC example locally:
Hoping this helps 😃 |
Following the thread to its latest developments: things seem to be on a path to get better with the integration of CUDA directly into conda-forge: conda-forge/staged-recipes#21382 |
Great that it worked out! About the gym bool8 warning: it will soon disappear, because I should make the move towards gymnasium instead of gym (everyone should, see: https://github.com/openai/gym#important-notice). In gymnasium the deprecated bool8 have been replaced (see passive_env_checker.py). Out of curiosity, which NVIDIA GPU are you using for these results?
|
This one is a good ol' GeForce GTX 1070 🤠 (Also I should mention I reduced the number of vectorized environments to one for testing.) |
Ah ok ok, so I think you'll be a bit faster than the P3000, I get this with num_envs = 1:
|
Running from the latest commit from xpag's master, in an environment freshly created from
environment.yaml
. The GPU memory error from #5 is gone 🤔 NowReproduction code
Outcome
First, the following warning is repeated about sixty times 😅
But that may not be related to the issue at hand.
The error is:
The text was updated successfully, but these errors were encountered: