# Lightning.gpu doesn't seem to use GPUs

**URL:** <https://discuss.pennylane.ai/t/lightning-gpu-doesnt-seem-to-use-gpus/3620>\
**Category:** PennyLane Lightning\
**Created:** [November 2, 2023, 10:01am UTC](https://discuss.pennylane.ai/t/lightning-gpu-doesnt-seem-to-use-gpus/3620 "2023-11-02T10:01:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CatalinaAlbornoz](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/catalinaalbornoz/32/1196_2.png) [@CatalinaAlbornoz](https://discuss.pennylane.ai/u/CatalinaAlbornoz)\
**Post date:** [November 3, 2023, 4:53pm UTC](https://discuss.pennylane.ai/t/lightning-gpu-doesnt-seem-to-use-gpus/3620/2 "2023-11-03T16:53:55Z")

</div>

Hi @psansebastian,

Thank you for your question!

We released a new version of PennyLane recently so it would be best if you could upgrade to the latest version.

You can try creating a new virtual environment with python 3.10 and installing PennyLane, custatevec and pennylane-lightning-gpu as follows:

```auto
python -m pip install pennylane custatevec-cu11 pennylane-lightning-gpu

```

If you want to use your existing environment you just need to add `--upgrade` at the end.

I also see that your CUDA is version 12.3 so I would recommend going to version 11.8 or following the instructions [here](https://discuss.pennylane.ai/t/issues-installing-and-running-pennylane-lightning-gpu/3612/2) if you want to stay in version 12.

Note that lightning.gpu only supports NVIDIA gpus with SM7.0 or higher so it’s possible that your GPU isn’t supported.

Please let me know if you have any additional questions! I hope this helps.

---

_[View the full topic](https://discuss.pennylane.ai/t/lightning-gpu-doesnt-seem-to-use-gpus/3620)._
