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

Autodetect GPU compute capability using nvidia-smi. #388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akulchik
Copy link

@akulchik akulchik commented May 8, 2024

Resolves #387

@rosslwheeler
Copy link
Contributor

rosslwheeler commented May 9, 2024

@akulchik - what toolkit version are you using and what OS? The change looks good but interested to understand what version of the Cuda toolkit does not have the device query executable file. It's in 12.4 which is the current toolkit.

@akulchik
Copy link
Author

akulchik commented May 9, 2024

@rosslwheeler I use Ubuntu 22.04 on WSL 2. Funny, because I have indeed CUDA (and the toolkit) 12.4 installed.

$ nvidia-smi --version
NVIDIA-SMI version  : 550.76.01
NVML version        : 550.76
DRIVER version      : 552.22
CUDA Version        : 12.4

@rosslwheeler
Copy link
Contributor

rosslwheeler commented May 9, 2024

Just did a check on an older 11.7 Cuda SDK and the file is there. I think your installation might have a problem. I do like your change but not sure it it's urgent unless it's critical that we support the older SDKs with auto-detect. Can you try either reinstalling or using the latest 12.4.1 SDK? The file is supposed to be installed with nvcc.

@akulchik
Copy link
Author

Ok, I will try to install the latest SDK version and let you know the results, thanks.

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

Successfully merging this pull request may close these issues.

make fails to autodetect GPU compute capability
2 participants