You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of writing there is a mismatch between the NVIDIA Driver CUDA version, CUDA Toolkit and packages in the default Python environment on Vertex AI.
Driver CUDA: 12.4
CUDA Toolkit: 11.8
Python packages: cupy-cuda12x
$ nvidia-smiMon Feb 10 14:51:00 2025 +-----------------------------------------------------------------------------------------+| NVIDIA-SMI 550.90.07 Driver Version: 550.90.07 CUDA Version: 12.4 ||-----------------------------------------+------------------------+----------------------+| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC || Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. || | | MIG M. ||=========================================+========================+======================|| 0 Tesla T4 On | 00000000:00:04.0 Off | 0 || N/A 41C P8 9W / 70W | 1MiB / 15360MiB | 0% Default || | | N/A |+-----------------------------------------+------------------------+----------------------++-----------------------------------------------------------------------------------------+| Processes: || GPU GI CI PID Type Process name GPU Memory || ID ID Usage ||=========================================================================================|| No running processes found |+-----------------------------------------------------------------------------------------+
$ ls -ld /usr/local/cuda*lrwxrwxrwx 1 root root 21 Dec 25 04:27 /usr/local/cuda -> /usr/local/cuda-11.8/drwxr-xr-x 17 root root 4096 Dec 25 04:28 /usr/local/cuda-11.8
$ pip freeze | grep cudacupy-cuda12x==13.3.0
Challenges
Due to the system CTK being 11.8 it's not possible to use pip to install packages like cudf-cu12 into the default environment as they will raise errors when looking the CTK 12. However, if you install cudf-cu11 into the environment it will being in cupy-cuda11x and will then conflict with cupy-cuda12x.
As of writing there is a mismatch between the NVIDIA Driver CUDA version, CUDA Toolkit and packages in the default Python environment on Vertex AI.
Driver CUDA:
12.4
CUDA Toolkit:
11.8
Python packages:
cupy-cuda12x
Challenges
Due to the system CTK being
11.8
it's not possible to usepip
to install packages likecudf-cu12
into the default environment as they will raise errors when looking the CTK 12. However, if you installcudf-cu11
into the environment it will being incupy-cuda11x
and will then conflict withcupy-cuda12x
.Workarounds
We can work around this by creating a new
conda
environment and registering it as an ipykernel for Jupyter to use.There are two upsides to this:
The text was updated successfully, but these errors were encountered: