diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index d9209800a8..818522dbb5 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -2,7 +2,7 @@ ### New features since last release -* Add Matrix Product Operator (MPO) for all gates support to `lightning.tensor`. Note current C++ implementation only works for MPO sites data provided by users. +* Add Matrix Product Operator (MPO) for all gates support to `lightning.tensor`. Note current C++ implementation only works for MPO sites data provided by users. [(#859)](https://github.com/PennyLaneAI/pennylane-lightning/pull/859) * Add shot measurement support to `lightning.tensor`. @@ -34,6 +34,9 @@ ### Improvements +* Add the `ci:use-gpu-runner` GitHub label to `lightning.kokkos` GPU Testing CIs. + [(#916)](https://github.com/PennyLaneAI/pennylane-lightning/pull/916) + * Merge `lightning.gpu` and `lightning.tensor` GPU tests in single Python and C++ CIs controlled by the `ci:use-gpu-runner` label. [(#911)](https://github.com/PennyLaneAI/pennylane-lightning/pull/911) diff --git a/.github/workflows/tests_gpu_cpp.yml b/.github/workflows/tests_gpu_cpp.yml index b88c4392f1..28edf185c3 100644 --- a/.github/workflows/tests_gpu_cpp.yml +++ b/.github/workflows/tests_gpu_cpp.yml @@ -31,7 +31,7 @@ concurrency: jobs: builddeps: - if: ${{ github.event.pull_request.draft == false || contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner') }} + if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner')) }} runs-on: - self-hosted - ubuntu-22.04 diff --git a/.github/workflows/tests_gpu_python.yml b/.github/workflows/tests_gpu_python.yml index 2fad7ee75e..37a9ca95d6 100644 --- a/.github/workflows/tests_gpu_python.yml +++ b/.github/workflows/tests_gpu_python.yml @@ -31,7 +31,7 @@ concurrency: jobs: builddeps: - if: github.event.pull_request.draft == false || contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner') + if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner')) }} runs-on: - self-hosted - ubuntu-22.04 diff --git a/.github/workflows/tests_lkcuda_cpp.yml b/.github/workflows/tests_lkcuda_cpp.yml index b8dadaa46c..a8bcdefcc9 100644 --- a/.github/workflows/tests_lkcuda_cpp.yml +++ b/.github/workflows/tests_lkcuda_cpp.yml @@ -39,7 +39,7 @@ concurrency: jobs: builddeps: - if: github.event.pull_request.draft == false + if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner')) }} runs-on: - self-hosted - ubuntu-22.04 diff --git a/.github/workflows/tests_lkcuda_python.yml b/.github/workflows/tests_lkcuda_python.yml index 7041713481..20b50042d4 100644 --- a/.github/workflows/tests_lkcuda_python.yml +++ b/.github/workflows/tests_lkcuda_python.yml @@ -43,7 +43,7 @@ concurrency: jobs: builddeps: - if: github.event.pull_request.draft == false + if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci:use-gpu-runner')) }} runs-on: - self-hosted - ubuntu-22.04 diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index bb3de8f43b..83c48476df 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.39.0-dev27" +__version__ = "0.39.0-dev28"