Skip to content

Commit bc8db8d

Browse files
mlxdringo-but-quantummaliasadi
authored
Add LK development wheels to test PyPI (#763)
### Before submitting Please complete the following checklist when submitting a PR: - [ ] All new features must include a unit test. If you've fixed a bug or added code that should be tested, add a test to the [`tests`](../tests) directory! - [x] All new functions and code must be clearly commented and documented. If you do make documentation changes, make sure that the docs build and render correctly by running `make docs`. - [x] Ensure that the test suite passes, by running `make test`. - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing the change, and including a link back to the PR. - [x] Ensure that code is properly formatted by running `make format`. When all the above are checked, delete everything above the dashed line and fill in the pull request template. ------------------------------------------------------------------------------------------------------------ **Context:** To externally develop against LightningKokkos requires the latest package version to be available. Right now, testPyPI wheels exist for LQ and LG, but not LK. This PR ensures the LK wheels are pushed alongside LQ with merges to the master branch, ensuring the packages have the same version **Description of the Change:** Updates the wheel builder file for x86 to also push LK to test PyPI. **Benefits:** Ensures ease of development and testing for Catalyst against LK. **Possible Drawbacks:** Installs of LK and LQ during a an upload may see mismatched package versions, that could create version failures if depending on the LK package. **Related GitHub Issues:** --------- Co-authored-by: ringo-but-quantum <[email protected]> Co-authored-by: Ali Asadi <[email protected]>
1 parent 97fbeb2 commit bc8db8d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535

3636
### Improvements
3737

38+
* LightningKokkos dev wheels are pushed to https://test.pypi.org/project/PennyLane-Lightning-Kokkos/ upon PR merge.
39+
[(#763)](https://github.com/PennyLaneAI/pennylane-lightning/pull/763)
40+
3841
* Change the type of tensor network objects passed to `ObservablesTNCuda` and `MeasurementsTNCuda` class from `StateTensorT` to `TensorNetT`.
3942
[(#759)](https://github.com/PennyLaneAI/pennylane-lightning/pull/759)
4043

.github/workflows/wheel_linux_x86_64.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
strategy:
201201
matrix:
202202
arch: [x86_64]
203-
pl_backend: ["lightning_qubit"]
203+
pl_backend: ["lightning_qubit", "lightning_kokkos"]
204204
runs-on: ubuntu-latest
205205

206206
if: |
@@ -216,5 +216,5 @@ jobs:
216216
uses: pypa/gh-action-pypi-publish@release/v1
217217
with:
218218
user: __token__
219-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
220-
repository-url: https://test.pypi.org/legacy/
219+
password: ${{ matrix.pl_backend == "lightning_qubit" && secrets.TEST_PYPI_API_TOKEN || secrets.TEST_PYPI_LKOKKOS_TOKEN }}
220+
repository-url: https://test.pypi.org/legacy/

pennylane_lightning/core/_version.py

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

19-
__version__ = "0.37.0-dev38"
19+
__version__ = "0.37.0-dev39"

0 commit comments

Comments
 (0)