# GPU-enabled training and testing in Windows 10

**URL:** <https://discuss.pytorch.org/t/gpu-enabled-training-and-testing-in-windows-10/143028>\
**Category:** windows\
**Created:** [February 1, 2022, 4:01pm UTC](https://discuss.pytorch.org/t/gpu-enabled-training-and-testing-in-windows-10/143028 "2022-02-01T16:01:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anantguptadbl](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/anantguptadbl/32/17784_2.png) [@anantguptadbl](https://discuss.pytorch.org/u/anantguptadbl)\
**Post date:** [February 1, 2022, 4:06pm UTC](https://discuss.pytorch.org/t/gpu-enabled-training-and-testing-in-windows-10/143028/2 "2022-02-01T16:06:26Z")

</div>

@hjung although you are getting `True` for `torch.cuda.is_available()`, without underlying nvidia drivers you will be unable to use it for tensor operations

There is an older thread discussing the same thing

> [@Is it required to set-up CUDA on PC before installing CUDA enabled pytorch?](https://discuss.pytorch.org/t/is-it-required-to-set-up-cuda-on-pc-before-installing-cuda-enabled-pytorch/60181):
>
> Can I simply go to pytorch website and use the following link to download a CUDA enabled pytorch library ? Or do i have to set up the CUDA on my device first, before installing the CUDA enabled pytorch ? pip3 install torch===1.3.0 torchvision===0.4.1 -f https://download.pytorch.org/whl/torch\_stable.html

---

_[View the full topic](https://discuss.pytorch.org/t/gpu-enabled-training-and-testing-in-windows-10/143028)._
