Skip to content

Commit

Permalink
Fix the artifact name in LGPU and remove old installation commands in…
Browse files Browse the repository at this point in the history
… stable installation of LQ & LK (#890)

### 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!

- [ ] 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`.

- [ ] Ensure that the test suite passes, by running `make test`.

- [ ] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
the
      change, and including a link back to the PR.

- [ ] 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:**

**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: ringo-but-quantum <[email protected]>
Co-authored-by: Amintor Dusko <[email protected]>
  • Loading branch information
3 people authored Sep 5, 2024
1 parent f4a6114 commit 4bb34b7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 28 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests_lgpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ jobs:
- name: Download coverage reports
uses: actions/download-artifact@v4
with:
name: ubuntu-codecov-results-python
pattern: ubuntu-codecov-*
merge-multiple: true

- name: Upload to Codecov
uses: codecov/codecov-action@v4
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/tests_lkcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,20 +121,7 @@ jobs:
run: |
python -m pip install -r requirements-dev.txt
# TODO: Update after Release 0.37
- name: Create device wheel ${{ inputs.lightning-version }}
if: inputs.lightning-version == 'stable'
run: |
PL_BACKEND=${{ matrix.pl_backend }} CMAKE_ARGS="-DCMAKE_PREFIX_PATH=${{ github.workspace }}/Kokkos" \
python setup.py bdist_wheel
cd dist
WHEEL_NAME=$(ls *.whl)
cp $WHEEL_NAME ${{ github.workspace }}/wheel_${{ matrix.pl_backend }}-${{ matrix.exec_model }}.whl
echo $WHEEL_NAME > ${{ github.workspace }}/${{ matrix.pl_backend }}-${{ matrix.exec_model }}_name.txt
# TODO: Remove after Release 0.37
- name: Create device wheel ${{ inputs.lightning-version }}
if: inputs.lightning-version != 'stable'
run: |
PL_BACKEND=${{ matrix.pl_backend }} python scripts/configure_pyproject_toml.py
CMAKE_ARGS="-DCMAKE_PREFIX_PATH=${{ github.workspace }}/Kokkos" python -m build
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/tests_lqcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ jobs:
run: |
python -m pip install -r requirements-dev.txt
# TODO: Update after Release 0.37
- name: Create device wheel ${{ inputs.lightning-version }}
if: inputs.lightning-version != 'stable'
run: |
PL_BACKEND=${{ matrix.pl_backend }} python scripts/configure_pyproject_toml.py
CMAKE_ARGS="-DENABLE_BLAS=${{ matrix.blas }} -DLQ_ENABLE_KERNEL_OMP=ON -DENABLE_PYTHON=ON" python -m build
Expand All @@ -104,17 +102,6 @@ jobs:
cp $WHEEL_NAME ${{ github.workspace }}/wheel_${{ matrix.pl_backend }}-${{ matrix.blas }}.whl
echo $WHEEL_NAME > ${{ github.workspace }}/${{ matrix.pl_backend }}-${{ matrix.blas }}_name.txt
# TODO: Remove after Release 0.37
- name: Create device wheel (stable)
if: inputs.lightning-version == 'stable'
run: |
PL_BACKEND=${{ matrix.pl_backend }} CMAKE_ARGS="-DENABLE_BLAS=${{ matrix.blas }} -DLQ_ENABLE_KERNEL_OMP=ON -DENABLE_PYTHON=ON" \
python setup.py bdist_wheel
cd dist
WHEEL_NAME=$(ls *.whl)
cp $WHEEL_NAME ${{ github.workspace }}/wheel_${{ matrix.pl_backend }}-${{ matrix.blas }}.whl
echo $WHEEL_NAME > ${{ github.workspace }}/${{ matrix.pl_backend }}-${{ matrix.blas }}_name.txt
- name: Send wheel name
uses: actions/upload-artifact@v4
with:
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-dev4"
__version__ = "0.39.0-dev5"

0 comments on commit 4bb34b7

Please sign in to comment.