Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PTM stable latest #961

Merged
merged 12 commits into from
Oct 25, 2024
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@

### Improvements

* Fix PTM stable-latest.
[(#961)](https://github.com/PennyLaneAI/pennylane-lightning/pull/961)

* Update `README.rst` installation instructions for `lightning.gpu` and `lightning.tensor`.
[(#957)](https://github.com/PennyLaneAI/pennylane-lightning/pull/957)

Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_gpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,20 @@ jobs:
run: |
python -m pip install cutensornet-cu${{ matrix.cuda_version }}

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_lgpumpi_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,20 @@ jobs:
python scripts/configure_pyproject_toml.py || true
python -m pip install . -vv

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_lkcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,20 @@ jobs:
fi
python -m pip install ${{ github.workspace }}/$WHEEL_NAME --no-deps

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_lkcuda_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,20 @@ jobs:
python -m pip install -r requirements-dev.txt
python -m pip install openfermionpyscf

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_lqcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,20 @@ jobs:
python -m pip install semantic-version
python -m pip install ${{ github.workspace }}/$WHEEL_NAME --no-deps --force-reinstall

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/tests_without_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,20 @@ jobs:
rm -fr $(python -m pip cache dir)/selfcheck/
python -m pip install -r requirements-dev.txt

- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
- name: Checkout PennyLane for release or latest build
if: inputs.pennylane-version == 'release' || inputs.pennylane-version == 'latest'
uses: actions/checkout@v4
with:
path: pennylane
repository: PennyLaneAI/pennylane

- name: Switch to latest build of PennyLane
if: inputs.pennylane-version == 'latest'
run: |
cd pennylane
git checkout master
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps

- name: Switch to release build of PennyLane
if: inputs.pennylane-version == 'release'
run: |
Expand Down
2 changes: 1 addition & 1 deletion pennylane_lightning/core/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.39.0-dev49"
__version__ = "0.39.0-dev50"
Loading