Skip to content

Commit

Permalink
Updating torch to 2.3.0 (#6258)
Browse files Browse the repository at this point in the history
**Context:** We want to make PL compatible with torch 2.3.0 (including
GPU tests) after updating Numpy from 1.x to 2.x.

**Description of the Change:** As above.

**Benefits:** We are sure that PL is compatible with torch 2.3.0.

**Possible Drawbacks:** None that I can think of right now.

**Related GitHub Issues:** None.

**Related Shortcut Stories:** [sc-61391]
  • Loading branch information
PietropaoloFrisoni authored and mudit2812 committed Sep 16, 2024
1 parent ac344e7 commit fd2fa46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

env:
TORCH_VERSION: 2.2.0
TORCH_VERSION: 2.3.0

jobs:
gpu-tests:
Expand Down
3 changes: 2 additions & 1 deletion doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<h3>Improvements 🛠</h3>

* PennyLane is now compatible with NumPy 2.0.
[(#6061)](https://github.com/PennyLaneAI/pennylane/pull/6061)
[(#6061)](https://github.com/PennyLaneAI/pennylane/pull/6061)
[(#6258)](https://github.com/PennyLaneAI/pennylane/pull/6258)

* `qml.qchem.excitations` now optionally returns fermionic operators.
[(#6171)](https://github.com/PennyLaneAI/pennylane/pull/6171)
Expand Down

0 comments on commit fd2fa46

Please sign in to comment.