# Pennylane Lightning GPU

**URL:** <https://discuss.pennylane.ai/t/pennylane-lightning-gpu/3200>\
**Category:** PennyLane Lightning\
**Created:** [July 19, 2023, 7:57pm UTC](https://discuss.pennylane.ai/t/pennylane-lightning-gpu/3200 "2023-07-19T19:57:47Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![mlxd](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/mlxd/32/526_2.png) [@mlxd](https://discuss.pennylane.ai/u/mlxd)\
**Post date:** [July 31, 2023, 1:06pm UTC](https://discuss.pennylane.ai/t/pennylane-lightning-gpu/3200/14 "2023-07-31T13:06:06Z")

</div>

Hi @bharadwaj509

The NVidia T4 GPU seems to have only 16GB of available memory – likely the issue is the size of the problem representation is too large to be run on a GPU of that size (I assume you have 1 qubit per feature, 26 features → 26 qubits). Though, overall, for 26 qubits you will need 16 bytes per complex value, and 2^26 values, which will require around 1GB of memory just for the statevector storage alone. Without explicitly seeing your circuit I cannot recommend further, but you should have enough memory available to store and evaluate this computation on a GPU of that size. Can you provide a minimum working example of your script that reproduces this error?

With that we should be able to better advise the next steps.

---

_[View the full topic](https://discuss.pennylane.ai/t/pennylane-lightning-gpu/3200)._
