# Cuda Version - Conda

**URL:** <https://forums.developer.nvidia.com/t/cuda-version-conda/288064>\
**Category:** CUDA Setup and Installation\
**Created:** [April 1, 2024, 1:04pm UTC](https://forums.developer.nvidia.com/t/cuda-version-conda/288064 "2024-04-01T13:04:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![batuhanozyurt](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@batuhanozyurt](https://forums.developer.nvidia.com/u/batuhanozyurt)\
**Post date:** [April 1, 2024, 1:04pm UTC](https://forums.developer.nvidia.com/t/cuda-version-conda/288064/1 "2024-04-01T13:04:53Z")

</div>

Hello,

I’m having difficulty understanding the CUDA installation process, particularly with the various versions displayed by different commands. In my conda environment, running the command `conda list cudatoolkit` shows version 11.8.0. However, the command `nvidia-smi` indicates that the CUDA version is 12.3, and `nvcc --version` shows 12.2. Moreover, when I execute `print(torch.version.cuda)` in Python, it displays 12.1. Could you please explain the differences between these versions? I realize this might be a basic question, but any clarification would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![rs277](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rs277](https://forums.developer.nvidia.com/u/rs277)\
**Post date:** [April 1, 2024, 6:04pm UTC](https://forums.developer.nvidia.com/t/cuda-version-conda/288064/2 "2024-04-01T18:04:14Z")

</div>

> [@batuhanozyurt](#):
>
> the command `nvidia-smi` indicates that the CUDA version is 12.3

This indicates that the driver supports Cuda up to and including 12.3.

> [@batuhanozyurt](#):
>
> and `nvcc --version` shows 12.2

This indicates 12.2 is the currently active installed Cuda toolkit.

> [@batuhanozyurt](#):
>
> when I execute `print(torch.version.cuda)` in Python, it displays 12.1

My understanding, (not having used pytorch), is that the version of pytorch you have, was built to use the 12.1 toolkit.

---

<div class="post-metadata">

**Author:** ![batuhanozyurt](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@batuhanozyurt](https://forums.developer.nvidia.com/u/batuhanozyurt)\
**Post date:** [April 3, 2024, 11:51am UTC](https://forums.developer.nvidia.com/t/cuda-version-conda/288064/3 "2024-04-03T11:51:05Z")

</div>

Thank you.
