Installing CUDA in a Conda Environment

I’ve been wanting to learn CUDA recently. Here are my notes on setting up the environment. Create an environment. We’re just using Conda for environment isolation here — no Python needed. $ conda create -n cuda-dev $ conda activate cuda-dev Check the CUDA version with nvidia-smi. Note that this version is the maximum CUDA version supported by the driver, not the CUDA runtime version we’ll install later. When installing, make sure the CUDA runtime version ≤ the driver version....

October 14, 2024 · 1 min · 175 words · Wokron