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

Run example code on CPU #115

Open
aleksmaksimovic opened this issue Aug 27, 2024 · 1 comment
Open

Run example code on CPU #115

aleksmaksimovic opened this issue Aug 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aleksmaksimovic
Copy link

Hello,

how can I run the code sample shown in the section
🏃 Getting Started on my CPU device?

When running the code, I get the error

"RuntimeError: The NVIDIA driver on your system is too old (found version 10020). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.".

Unfortunately, at the moment I'm not able to update my CUDA driver, so I have to stick to the CPU.

Is there a way to run this code example on the CPU?

@aleksmaksimovic aleksmaksimovic added the bug Something isn't working label Aug 27, 2024
@aleksmaksimovic aleksmaksimovic changed the title Run on CPU Run example code on CPU Aug 27, 2024
@chenghaoliu89
Copy link
Contributor

@aleksmaksimovic, yes, the model can run on a CPU. Could you show the code snippet and the full stacktrace with error msg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants