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

[Question] Can stable-baselines3 be installed through pip without cuda dependencies? Is the CPU only docker image the only alternative? #2019

Open
4 tasks done
joemc94 opened this issue Oct 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@joemc94
Copy link

joemc94 commented Oct 9, 2024

❓ Question

Question in the title: Can stable-baselines3 be installed through pip without cuda dependencies? Is the CPU only docker image the only alternative?

Checklist

@joemc94 joemc94 added the question Further information is requested label Oct 9, 2024
@araffin
Copy link
Member

araffin commented Oct 9, 2024

Can stable-baselines3 be installed through pip without cuda dependencies?

You need to install torch cpu version first:

# cpu version of pytorch
pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu

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

No branches or pull requests

2 participants