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
[tune][rllib] Windows: GPU not recognized #9166
Comments
@mehrdadn Did you get a chance to look at this? I updated the script to reproduce to remove external dependencies. |
@juliusfrost I don't have the full CUDA setup available to test this right now, but perhaps try running this after
2022 update: If the above doesn't work, you can try using PowerShell (below) instead. |
@mehrdadn Awesome it worked! Great job 👍 |
I'm still getting this issue. Following the snippet posted by @mehrdadn ray version: 0.9.0.dev0 |
@wuisawesome Might this be due to |
Heads up, WMIC is now deprecated so the approach from #9300 may stop working. CC @richardliaw |
I am on Ray 1.9.0 and on Windows 11 Insider Preview (Build 22483.1011) and attempting to run GPU experiments results in a "FileNotFoundError: [WinError 2] The system cannot find the file specified" error when trying to run the WMIC command in the GPU auto-detection function, which would seem to indicate that WMIC has already been removed, at least on Insider Preview builds. |
Anyone managed to fix this? |
@sai-prasanna @richardliaw @fnw you should be able to use PowerShell instead:
That should be sufficient if they haven't removed the ability to query WMI from PowerShell. Otherwise, you can do
and then
If it tries to install It's probably possible to use |
I wonder if we could use gpustat to get this information instead |
What is the problem?
I'm getting
ray.tune.error.TuneError: Insufficient cluster resources to launch trial
.I specified a GPU in my config but ray does not recognize my GPU (RTX 2080) and throws an error.
I can get passed this by setting
num_gpus: 0
in my config for now.https://gist.github.com/juliusfrost/fa7ebbb8d1dfc66eea0bbc4babcbe5aa
Reproduction (REQUIRED)
The text was updated successfully, but these errors were encountered: