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

Doesn't find CUDA on Nvidia PRIME Laptop #532

Closed
FutureExcited opened this issue May 30, 2024 · 3 comments
Closed

Doesn't find CUDA on Nvidia PRIME Laptop #532

FutureExcited opened this issue May 30, 2024 · 3 comments

Comments

@FutureExcited
Copy link

Reproducing the behavior

Example:
Running command: bend run-cu helloworld.bend
With code: Your sorter.bend code
Error... CUDA runtime not available! If you've installed CUDA and nvcc after HVM, please reinstall HVM. Errors: Failed to parse result from HVM.
Expected behavior: run

System Settings

Example:

  • HVM: 20.17
  • Bend: 0.2.27
  • OS: Linux Pop!_OS 22.04
  • CPU: Intel i5-12500H
  • GPU: RTX 4060
  • Cuda Version 12.4

Additional context

Laptop with an iGPU and a dGPU RTX 4060
Running this on Pop!_OS, which is famous for their laptop nvidia drivers support.
nvidia-smi finds CUDA, and running local LLM models with Llama is working well with no config.
Additional info: running this on a laptop screen, not external monitor. Doesn't work with both hybrid mode, and Nvidia Graphics mode set via systems76-power (even though the whole system begins to run on dGPU).

nvidia-smi output:
image

Tried reinstalling the HVM - doesn't work.

@edusporto
Copy link
Contributor

Just to be sure, have you tried running nvcc in a terminal to be sure that it's installed and in your PATH variable?

@FutureExcited
Copy link
Author

☠️☠️☠️ it was not installed

ON THE BRIGHT SIDE IT WORKS AFTER THIS AND REINSTALLING HVM LETS GOOOOO

Thanks, would be cool to have an installation checklist for noobs, and checks to see if it's installed.

You language is crazy, good luck in development, and I will definitely follow along with your updates!

@edusporto
Copy link
Contributor

Thanks, glad it worked!

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

2 participants