This gist contains all the steps required to:
- Install multiple CUDA versions (e.g.,
CUDA 11.3
andCUDA 11.8
). - Manage multiple CUDA environments on Ubuntu using the utility called environment modules.
- Use this approach to avoid CUDA environment conflicts.
Environment Modules is a package that provides for the dynamic modification of a user's environment via modulefiles. You can find more on it at https://modules.readthedocs.io/en/latest/