# Is it required to set-up CUDA on PC before installing CUDA enabled pytorch?

**URL:** <https://discuss.pytorch.org/t/is-it-required-to-set-up-cuda-on-pc-before-installing-cuda-enabled-pytorch/60181>\
**Category:** Uncategorized\
**Created:** [November 6, 2019, 2:03pm UTC](https://discuss.pytorch.org/t/is-it-required-to-set-up-cuda-on-pc-before-installing-cuda-enabled-pytorch/60181 "2019-11-06T14:03:54Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [February 10, 2021, 5:53am UTC](https://discuss.pytorch.org/t/is-it-required-to-set-up-cuda-on-pc-before-installing-cuda-enabled-pytorch/60181/15 "2021-02-10T05:53:17Z")

</div>

The conda binaries and pip wheels are not yet built with `cudatoolkit=11.2` and you would have to use 9.2, 10.1, 10.2, or 11.0 as given in the [install instructions](https://pytorch.org/get-started/locally/).

Since these binaries ship with their own CUDA runtime, you would only need a local NVIDIA driver corresponding to the CUDA runtime you are selecting.  
In case you want to build PyTorch from source or any custom CUDA extensions, you should install a matching local CUDA toolkit.

---

_[View the full topic](https://discuss.pytorch.org/t/is-it-required-to-set-up-cuda-on-pc-before-installing-cuda-enabled-pytorch/60181)._
