Skip to content

Commit 274fd42

Browse files
Fix the LGPU+MPI CUDA Sync issue in stable/stable (CUDA 12.9) (#1355)
**Context:** To support GPU runner upgrade to CUDA 12.9, we had to fix a CUDA Sync issue in the LGPU+MPI device. While this fix passes on [latest/latest](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/23143917247), we are seeing expected failures on [stable/stable](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/23143878344). This PR patches the CUDA Sync fix into the stable branch on CI temporarily. This will pass stable/stable and remove the "expected" failure! **Description of the Change:** **Benefits:** - [stable/stable](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/23155305723) :green_circle: **Possible Drawbacks:** - This is a temporary fix and should be removed with the next release. **Related GitHub Issues:** [sc-112893] --------- Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
1 parent 97f544c commit 274fd42

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- Upgrade CIs to use CUDA 12.9.
3939
[(#1353)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1353)
4040
[(#1354)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1354)
41+
[(#1355)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1355)
4142

4243
- Update Catch2 testing framework to v3.11.
4344
[(#1350)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1350)

.github/workflows/tests_lgpumpi_python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
run: |
8686
git fetch --tags --force
8787
git checkout latest_release
88+
# FIXME: remove after v0.45 release:
89+
sed -i "2068i\ PL_CUDA_IS_SUCCESS(cudaDeviceSynchronize());" $PWD/pennylane_lightning/core/simulators/lightning_gpu/StateVectorCudaMPI.hpp
90+
8891
8992
- uses: actions/setup-python@v5
9093
id: setup_python

pennylane_lightning/core/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.45.0-dev27"
19+
__version__ = "0.45.0-dev28"

0 commit comments

Comments
 (0)