-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump PennyLane and Lightning minimum versions (#1269)
Following the [release guidance docs](https://github.com/PennyLaneAI/guidance-docs/blob/master/development/catalyst-release.md#prepare-bump-pennylane-and-lightning-minimum-versions-pr), bump the PennyLane and Lightning minimum versions in preparation for the Catalyst 0.9.0 release. These changes ensure we can build the wheels after the Lightning release and before the core PennyLane release.
- Loading branch information
1 parent
01c6fa8
commit d809155
Showing
11 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -342,7 +342,7 @@ jobs: | |
-DPYTHON_EXECUTABLE=$(which python${{ matrix.python_version }}) \ | ||
-Dpybind11_DIR=$(python${{ matrix.python_version }} -c "import pybind11; print(pybind11.get_cmake_dir())") \ | ||
-DENABLE_LAPACK=OFF \ | ||
-DLIGHTNING_GIT_TAG=6f3e0d5d371ff9823a3177dd2c66052668883d42 \ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
-DENABLE_OPENMP=OFF \ | ||
|
@@ -445,6 +445,11 @@ jobs: | |
- name: Install Catalyst | ||
run: | | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple | ||
- name: Run Python Pytest Tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -301,7 +301,7 @@ jobs: | |
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=$GITHUB_WORKSPACE/runtime-build/lib \ | ||
-DPYTHON_EXECUTABLE=$(which python${{ matrix.python_version }}) \ | ||
-Dpybind11_DIR=$(python${{ matrix.python_version }} -c "import pybind11; print(pybind11.get_cmake_dir())") \ | ||
-DLIGHTNING_GIT_TAG=6f3e0d5d371ff9823a3177dd2c66052668883d42\ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_LAPACK=OFF \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
|
@@ -412,6 +412,11 @@ jobs: | |
- name: Install Catalyst | ||
run: | | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple | ||
- name: Run Python Pytest Tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,7 +292,7 @@ jobs: | |
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=$GITHUB_WORKSPACE/runtime-build/lib \ | ||
-DPYTHON_EXECUTABLE=$(which python${{ matrix.python_version }}) \ | ||
-Dpybind11_DIR=$(python${{ matrix.python_version }} -c "import pybind11; print(pybind11.get_cmake_dir())") \ | ||
-DLIGHTNING_GIT_TAG=6f3e0d5d371ff9823a3177dd2c66052668883d42 \ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_LAPACK=OFF \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
|
@@ -400,6 +400,11 @@ jobs: | |
- name: Install Catalyst | ||
run: | | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple | ||
- name: Run Python Pytest Tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,6 +412,11 @@ jobs: | |
# macOS requirements.txt | ||
python3 -m pip install cuda-quantum==0.6.0 | ||
python3 -m pip install oqc-qcaas-client | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
make frontend | ||
- name: Get Cached LLVM Build | ||
|
@@ -484,6 +489,11 @@ jobs: | |
sudo apt-get install -y python3 python3-pip libomp-dev libasan6 make | ||
python3 --version | grep ${{ needs.constants.outputs.primary_python_version }} | ||
python3 -m pip install -r requirements.txt | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
make frontend | ||
- name: Get Cached LLVM Build | ||
|
@@ -539,6 +549,11 @@ jobs: | |
sudo apt-get install -y python3 python3-pip libomp-dev libasan6 make | ||
python3 --version | grep ${{ needs.constants.outputs.primary_python_version }} | ||
python3 -m pip install -r requirements.txt | ||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
make frontend | ||
- name: Get Cached LLVM Build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,12 @@ export PATH=/catalyst/llvm-build/bin:/opt/_internal/cpython-${PYTHON_MAJOR_MINOR | |
/usr/bin/python3 -m pip install pennylane pybind11 PyYAML cmake ninja pytest pytest-xdist pytest-mock autoray PennyLane-Lightning-Kokkos 'amazon-braket-pennylane-plugin>1.27.1' | ||
/usr/bin/python3 -m pip install oqc-qcaas-client | ||
|
||
# TODO: --- remove workaround before merging to main ----------------- # | ||
pip install pennylane-lightning==0.39.0 | ||
pip install pennylane-lightning-kokkos==0.39.0 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
# -------------------------------------------------------------------- # | ||
|
||
# Install Catalyst wheel | ||
/usr/bin/python3 -m pip install /catalyst/dist/*.whl --extra-index-url https://test.pypi.org/simple | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters