From b78565cb119e926388375898093aa2387a4e6480 Mon Sep 17 00:00:00 2001 From: Pietropaolo Frisoni Date: Mon, 16 Sep 2024 10:47:02 -0400 Subject: [PATCH] Updating torch to 2.3.0 (#6258) **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] --- .github/workflows/tests-gpu.yml | 2 +- doc/releases/changelog-dev.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-gpu.yml b/.github/workflows/tests-gpu.yml index 846261ff898..bd8cd5dae67 100644 --- a/.github/workflows/tests-gpu.yml +++ b/.github/workflows/tests-gpu.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true env: - TORCH_VERSION: 2.2.0 + TORCH_VERSION: 2.3.0 jobs: gpu-tests: diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md index 559f1f20b6e..045f0b4528c 100644 --- a/doc/releases/changelog-dev.md +++ b/doc/releases/changelog-dev.md @@ -7,7 +7,8 @@

Improvements 🛠

* 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)