Closed artyomboyko closed 1 month ago
After downgrading driver on Windows 11 problem still reproduce:
Did you install the CUDA Toolkit? See our WSL2 instructions here, specifically step 4: https://docs.rapids.ai/install/#wsl2-pip
If you use conda
to install rather than pip
, it will come with a CUDA Toolkit and you don't need to install it yourself.
@bdice Ok. I test.
Can you please tell, why Docker container (VSCode dev container) return exception to?
Devcontainer project TEST.zip
@bdice Problem with WSL2 solved. I install latest driver again (Nvidia Studio 561.09) and install latest CUDA toolkit (CUDA Toolkit 12.6 Update 1) in WSL2 on Ubuntu 22.04.
Only one question remains. How to fix dev container in VS code. Or close this bug and open a new one? Only where is it more appropriate to open it?
I'm not sure how to diagnose the error shown at the bottom of your screenshot. It looks like you are using Docker. Are you using Docker Desktop? Did you follow the RAPIDS Docker instructions to install the NVIDIA Container Toolkit?
Please try to compile and run a sample CUDA program or another GPU library like CuPy so we can see what might be going wrong.
A sample CuPy program:
import cupy as cp
print(cp.array([[1, 2, 3], [4, 5, 6]]))
@bdice
Yes. I have Windows 11 Pro + WSL2 + Docker 4.34.2 (167172). I install VS Code and try to use Dev container with custom Docker file.
As i undestan Docker in Windows work over Docker. Docker use WSL2 (Ubuntu 22.04). I install Nvidia toolkit in WSL2. WSL2 work as expected.
Yesterday I tried install Nvidia toolkit in Windows. Then rebuilt the dev container. But that didn't help.
Everything is pretty much done as described in the video.
My test "project" - TEST.zip
When I try run notebook i get error.... Surprise! It all worked.
Bottom line, what I did: 1) After yesterday's experiment with installing Nvidia Toolkit in Windows, I uninstalled it from Windows. But when uninstalling it, I didn't touch the driver. 2) I upgraded the Docker version this morning to Docker Desktop 4.34.2 (167172). And Reboot ))) 3) Rebuilt the containers.
And result:
Looks like we won))))
@bdice I'll check it out and come back with feedback.
@bdice Tested. I use container nvcr.io/nvidia/pytorch:24.09-py3
as dev container. Everything seems to be working properly now.
Thanks!
Great. Glad that worked out for you @blademoon! 🥳
@bdice Thank you so much for your help! 👍
Describe the bug Try to use Rapids on WSL2 and get error:
Steps/Code to reproduce bug
Install clear WSL 2 Ubuntu 22.04
$ sudo apt-get update && sudo apt-get install -y python3-pip
$ pip install jupyterlab jupyterlab-git ipywidgets
Install Rapids in WSL2:
Lanch JupyterLab and create notepad:
Environment overview (please complete the following information)
Environment details
Additional context