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

MPI Adjoint CI fix #532

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
fa988d0
init commit
multiphaseCFD Oct 18, 2023
fb3bbc8
Auto update version
github-actions[bot] Oct 18, 2023
f455882
add changelog
multiphaseCFD Oct 18, 2023
6f60d87
Update readme.
vincentmr Oct 24, 2023
9504454
shush CI [skip ci]
vincentmr Oct 24, 2023
b6b8727
Merge remote-tracking branch 'origin/master' into add_doc_lgpu
vincentmr Oct 24, 2023
e72cd98
Auto update version
github-actions[bot] Oct 24, 2023
93608ee
Fix README links and code-blocks. [skip ci]
vincentmr Oct 24, 2023
9738aa0
Fix card links.
vincentmr Oct 24, 2023
35645e6
Fix obs signature to match LK/LQ
mlxd Oct 24, 2023
28d0d8f
Revert card links. [skip ci]
vincentmr Oct 24, 2023
624bb58
update docs
multiphaseCFD Oct 25, 2023
7197dca
update readme
multiphaseCFD Oct 25, 2023
7f512ba
Reorder cards and add docker support section. [skip ci]
vincentmr Oct 25, 2023
50a3f88
Build with CUDA on the CI for correct API gen
mlxd Oct 25, 2023
c9ba0bd
Add docker.rst [skip ci].
vincentmr Oct 25, 2023
377acaf
Merge branch 'add_doc_lgpu' of github.com:PennyLaneAI/pennylane-light…
mlxd Oct 25, 2023
05ce142
Add Cuda 11.8 install
mlxd Oct 25, 2023
0ffed73
Lower CUDA version
mlxd Oct 25, 2023
2e983a7
Fix typo in name and paths
mlxd Oct 25, 2023
1914de3
Disable CUDA checks for RTD
mlxd Oct 25, 2023
7a84bc5
Merge branch 'v0.33.0_rc' into add_doc_lgpu
mlxd Oct 25, 2023
9f086da
update readme
multiphaseCFD Oct 25, 2023
c09a745
update LGPU installation steps
multiphaseCFD Oct 25, 2023
4cf0774
Turn off GPU runners.
vincentmr Oct 25, 2023
1faa811
Update CUDA wheel builder
mlxd Oct 25, 2023
7ae4cec
add docstring in lightning_gpu.py
multiphaseCFD Oct 25, 2023
ef353b6
Change kokkos gpu order. [skip ci]
vincentmr Oct 26, 2023
762ed7e
Fix some headings and toctrees [skip ci].
vincentmr Oct 26, 2023
3d2dde4
skip some ci checks
multiphaseCFD Oct 26, 2023
7a34298
Merge branch 'master' into add_doc_lgpu
multiphaseCFD Oct 26, 2023
5a1119a
only allow rank0 read from io
multiphaseCFD Oct 26, 2023
5671e8c
Merge branch 'add_doc_lgpu' into mpi_adj_ci_fix
multiphaseCFD Oct 26, 2023
384343c
quick fix
multiphaseCFD Oct 26, 2023
7b2e8d3
skip cpp mpi tests
multiphaseCFD Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

### New features since last release

* Add documentation updates for the `lightning_gpu` backend.
[(#525)] (https://github.com/PennyLaneAI/pennylane-lightning/pull/525)

* Add `SparseHamiltonian` support for Lightning-Qubit and Lightning-GPU.
[(#526)] (https://github.com/PennyLaneAI/pennylane-lightning/pull/526)

Expand All @@ -28,10 +31,10 @@

### Breaking changes

* Add `tests_gpu.yml` workflow to test the Lightning-Kokkos backend with CUDA-12.
* Add `tests_gpu.yml` workflow to test the Lightning-Kokkos backend with CUDA-12.
[(#494)](https://github.com/PennyLaneAI/pennylane-lightning/pull/494)

* Implement `LM::GeneratorDoubleExcitation`, `LM::GeneratorDoubleExcitationMinus`, `LM::GeneratorDoubleExcitationPlus` kernels. L-Qubit default kernels are now strictly from the `LM` implementation, which requires less memory and is faster for large state vectors.
* Implement `LM::GeneratorDoubleExcitation`, `LM::GeneratorDoubleExcitationMinus`, `LM::GeneratorDoubleExcitationPlus` kernels. L-Qubit default kernels are now strictly from the `LM` implementation, which requires less memory and is faster for large state vectors.
[(#512)](https://github.com/PennyLaneAI/pennylane-lightning/pull/512)

* Add workflows validating compatibility between PennyLane and Lightning's most recent stable releases and development (latest) versions.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_gpu_kokkos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
required: true
description: The version of PennyLane to use. Valid values are either 'stable' (most recent git-tag) or 'latest' (most recent commit from master)
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
required: true
description: The version of PennyLane to use. Valid values are either 'stable' (most recent git-tag) or 'latest' (most recent commit from master)
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests_linux_x86_mpi_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ concurrency:

jobs:
cpp_tests:
if: contains(github.event.pull_request.labels.*.name, 'ci:use-multi-gpu-runner') || (inputs.lightning-version != '' && inputs.pennylane-version != '')
#if: contains(github.event.pull_request.labels.*.name, 'ci:use-multi-gpu-runner') || (inputs.lightning-version != '' && inputs.pennylane-version != '')
if: ${{ github.sha == 'xxxxxxxx' }}
runs-on:
- self-hosted
- linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- master
pull_request:
#pull_request:

concurrency:
group: tests_windows-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_without_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
required: true
description: The version of PennyLane to use. Valid values are either 'stable' (most recent git-tag) or 'latest' (most recent commit from master)
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
GCC_VERSION: 11

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_x86_64_cu11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
CUDA_VERSION_MINOR: 5

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Wheel::MacOS::ARM
# **Who does it impact**: Wheels to be uploaded to PyPI.

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Wheel::MacOS::Intel
# **Who does it impact**: Wheels to be uploaded to PyPI.

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_noarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Wheel::Any::None
# **Who does it impact**: Wheels to be uploaded to PyPI.

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_win_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Wheel::Windows::x86_64
# **Who does it impact**: Wheels to be uploaded to PyPI.

on:
pull_request:
#pull_request:
push:
branches:
- master
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ build:
- libopenblas-base
- libopenblas-dev
- graphviz
- nvidia-cuda-toolkit
jobs:
pre_install:
- echo "setuptools~=66.0\npip~=22.0" >> ci_build_requirements.txt
post_install:
- PL_BACKEND="lightning_kokkos" pip install -e . -vv
- rm -rf ./build && PL_BACKEND="lightning_kokkos" python setup.py bdist_wheel
- rm -rf ./build && PL_BACKEND="lightning_gpu" python setup.py build_ext --define="PL_DISABLE_CUDA_SAFETY=1" && PL_BACKEND="lightning_gpu" python setup.py bdist_wheel
- python -m pip install ./dist/*.whl
Loading
Loading