-
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 (#1089)
**Context:** Merge only after Lightning has been released! --------- Co-authored-by: Romain Moyard <[email protected]>
- Loading branch information
1 parent
af1bd8d
commit 2cb2fc8
Showing
13 changed files
with
44 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=1536d88 \ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
-DENABLE_OPENMP=OFF \ | ||
|
@@ -442,6 +442,11 @@ jobs: | |
- name: Install OQC client | ||
run: | | ||
python${{ matrix.python_version }} -m pip install oqc-qcaas-client | ||
# TODO: remove workaround before merging to main | ||
- name: Install PennyLane RC | ||
run: | | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
- name: Install Catalyst | ||
run: | | ||
|
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=1536d88 \ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_LAPACK=OFF \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
|
@@ -410,6 +410,11 @@ jobs: | |
run: | | ||
python${{ matrix.python_version }} -m pip install oqc-qcaas-client | ||
# TODO: remove workaround before merging to main | ||
- name: Install PennyLane RC | ||
run: | | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
- name: Install Catalyst | ||
run: | | ||
python${{ matrix.python_version }} -m pip install 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
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=1536d88 \ | ||
-DLIGHTNING_GIT_TAG=latest_release \ | ||
-DENABLE_LAPACK=OFF \ | ||
-DENABLE_WARNINGS=OFF \ | ||
-DENABLE_OPENQASM=ON \ | ||
|
@@ -398,6 +398,11 @@ jobs: | |
run: | | ||
python${{ matrix.python_version }} -m pip install oqc-qcaas-client | ||
# TODO: remove workaround before merging to main | ||
- name: Install PennyLane RC | ||
run: | | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
- name: Install Catalyst | ||
run: | | ||
python${{ matrix.python_version }} -m pip install 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -421,6 +421,10 @@ 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.38 | ||
pip install pennylane-lightning-kokkos==0.38 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
make frontend | ||
- name: Get Cached LLVM Build | ||
|
@@ -493,6 +497,10 @@ 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.38 | ||
pip install pennylane-lightning-kokkos==0.38 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
make frontend | ||
- name: Get Cached LLVM Build | ||
|
@@ -548,6 +556,9 @@ 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-kokkos==0.38 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,10 @@ jobs: | |
DIALECTS_BUILD_DIR="$(pwd)/quantum-build" \ | ||
ENABLE_LLD=ON \ | ||
make dialects | ||
# TODO: remove workaround before merging to main | ||
pip install pennylane-lightning==0.38 | ||
pip install pennylane-lightning-kokkos==0.38 | ||
pip install git+https://github.com/PennyLaneAI/[email protected] | ||
make frontend | ||
- name: Build Catalyst Runtime (latest) | ||
|
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 |
---|---|---|
|
@@ -43,6 +43,9 @@ export PATH=/catalyst/llvm-build/bin:/opt/_internal/cpython-${PYTHON_VERSION}.${ | |
/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 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
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