Help Center> ModelArts> FAQs> Notebook> Environment Configurations> How Do I Create a Soft Link and Switch a CUDA Version?

How Do I Create a Soft Link and Switch a CUDA Version?

Create a soft link.

sudo ln -snf xxx

Check the CUDA versions in the environment.

ll /usr/local | grep cuda

Switch the CUDA version by setting version to the CUDA version.

sudo ln -snf /usr/local/cuda-{version}   /usr/local/cuda