Skip to content

Commit bf07d68

Browse files
committed
Update
1 parent d803b40 commit bf07d68

12 files changed

+27
-34
lines changed

.github/workflows/tests_lgpu_cpp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
pl_backend: ["lightning_gpu"]
6464
cuda_version: ["12"]
6565

66-
name: ${{matrix.pl_backend}} C++ Tests (cuda-${{matrix.cuda_version}})
66+
name: C++ Tests (${{ matrix.pl_backend }}, cuda-${{ matrix.cuda_version }})
6767
runs-on:
6868
- ubuntu-22.04
6969
- self-hosted

.github/workflows/tests_lgpu_python.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
default_backend: ["lightning_qubit"]
6666
cuda_version: ["12"]
6767

68-
name: ${{matrix.pl_backend}} Python Tests (cuda-${{matrix.cuda_version}})
68+
name: Python Tests (${{ matrix.pl_backend }}, cuda-${{ matrix.cuda_version }})
6969
runs-on:
7070
- ubuntu-22.04
7171
- self-hosted
@@ -132,7 +132,7 @@ jobs:
132132
py_path=$(which python)
133133
echo "Python Interpreter Path => $py_path"
134134
echo "python=$py_path" >> $GITHUB_OUTPUT
135-
135+
136136
pip_path=$(which python)
137137
echo "PIP Path => $pip_path"
138138
echo "pip=$pip_path" >> $GITHUB_OUTPUT
@@ -165,7 +165,7 @@ jobs:
165165
python -m pip uninstall -y pennylane && python -m pip install -U pennylane
166166
167167
- name: Build and install package
168-
env:
168+
env:
169169
CUQUANTUM_SDK: $(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum')")
170170
run: |
171171
cd main
@@ -180,34 +180,34 @@ jobs:
180180
181181
- name: Run PennyLane-Lightning-GPU unit tests
182182
if: ${{ matrix.pl_backend != 'all'}}
183-
env:
183+
env:
184184
OMP_NUM_THREADS: 1
185185
OMP_PROC_BIND: false
186186
run: |
187187
cd main/
188188
DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"`
189-
pl-device-test --device ${DEVICENAME} --skip-ops --shots=20000 $COVERAGE_FLAGS --cov-append
189+
pl-device-test --device ${DEVICENAME} --skip-ops --shots=20000 $COVERAGE_FLAGS --cov-append
190190
pl-device-test --device ${DEVICENAME} --shots=None --skip-ops $COVERAGE_FLAGS --cov-append
191-
PL_DEVICE=${DEVICENAME} python -m pytest tests/ $COVERAGE_FLAGS
191+
PL_DEVICE=${DEVICENAME} python -m pytest tests/ $COVERAGE_FLAGS
192192
mv coverage.xml coverage-${{ github.job }}-${{ matrix.pl_backend }}.xml
193193
194194
- name: Install all backend devices
195195
if: ${{ matrix.pl_backend == 'all' }}
196-
env:
196+
env:
197197
CUQUANTUM_SDK: $(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum')")
198198
run: |
199199
cd main
200200
rm -rf build
201201
CMAKE_ARGS="-DPL_BACKEND=${{matrix.default_backend}} -DENABLE_PYTHON=ON -DCMAKE_CXX_COMPILER=$(which g++-$GCC_VERSION)" \
202202
python -m pip install . -vv
203203
rm -rf build
204-
204+
205205
CMAKE_ARGS="-DPL_BACKEND=${{ matrix.pl_backend }} -DENABLE_PYTHON=ON -DCMAKE_CXX_COMPILER=$(which g++-$GCC_VERSION)" \
206206
python -m pip install . -vv
207207
208208
- name: Run PennyLane-Lightning unit tests for lightning.qubit with all devices installed
209209
if: ${{ matrix.pl_backend == 'all' }}
210-
env:
210+
env:
211211
OMP_NUM_THREADS: 1
212212
OMP_PROC_BIND: false
213213
run: |

.github/workflows/tests_lgpumpi_cpp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
fail_ci_if_error: true
185185
verbose: true
186186
token: ${{ secrets.CODECOV_TOKEN }}
187-
187+
188188
- name: Cleanup
189189
if: always()
190190
run: |

.github/workflows/tests_linux_cpp.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- enable_kernel_omp: OFF
5252
enable_kernel_avx_stream: ON
5353
timeout-minutes: 60
54-
name: ${{ matrix.pl_backend }} C++ Tests (ENABLE_KERNEL_OMP=${{ matrix.enable_kernel_omp }}, ENABLE_KERNEL_AVX_STREAM=${{ matrix.enable_kernel_avx_stream }})
54+
name: C++ Tests (${{ matrix.pl_backend }}, ENABLE_KERNEL_OMP=${{ matrix.enable_kernel_omp }}, ENABLE_KERNEL_AVX_STREAM=${{ matrix.enable_kernel_avx_stream }})
5555
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
5656

5757
steps:
@@ -113,7 +113,7 @@ jobs:
113113
matrix:
114114
pl_backend: ["lightning_qubit"]
115115
timeout-minutes: 60
116-
name: ${{ matrix.pl_backend }} C++ Tests (ENABLE_BLAS=ON)
116+
name: C++ Tests (${{ matrix.pl_backend }}, blas-ON)
117117
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
118118

119119
steps:
@@ -181,7 +181,7 @@ jobs:
181181
exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }}
182182
kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }}
183183
timeout-minutes: 60
184-
name: ${{ matrix.pl_backend }} C++ Tests (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
184+
name: C++ Tests (${{ matrix.pl_backend }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
185185
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
186186

187187
steps:
@@ -275,7 +275,7 @@ jobs:
275275
exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }}
276276
kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }}
277277
timeout-minutes: 60
278-
name: Multiple backends C++ Tests (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
278+
name: C++ Tests (multiple-backends, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
279279
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
280280

281281
steps:

.github/workflows/tests_lkcpu_python.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }}
5858
kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }}
5959
timeout-minutes: 60
60-
name: ${{matrix.pl_backend}} Python Tests (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
60+
name: Build (${{ matrix.pl_backend }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
6161
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
6262

6363
steps:
@@ -152,7 +152,7 @@ jobs:
152152
exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }}
153153
kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }}
154154
timeout-minutes: 60
155-
name: ${{matrix.pl_backend}} Python Tests (test-group-${{ matrix.group }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
155+
name: Python Tests (${{ matrix.pl_backend }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }}, test-group-${{ matrix.group }})
156156
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
157157

158158
steps:

.github/workflows/tests_lkcuda_cpp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
exec_model: ["CUDA"]
112112
kokkos_version: ["4.2.00"]
113113

114-
name: ${{matrix.pl_backend}} C++ Tests (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
114+
name: C++ Tests (${{ matrix.pl_backend }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
115115
runs-on:
116116
- ${{ matrix.os }}
117117
- self-hosted

.github/workflows/tests_lkcuda_python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
exec_model: ["CUDA"]
112112
kokkos_version: ["4.2.00"]
113113

114-
name: ${{matrix.pl_backend}} Python Tests (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
114+
name: Python Tests (${{ matrix.pl_backend }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
115115
runs-on:
116116
- ${{ matrix.os }}
117117
- self-hosted

.github/workflows/tests_lqcpu_python.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
pl_backend: ["lightning_qubit"]
4949
blas: ["OFF", "ON"]
5050
timeout-minutes: 60
51-
name: Python tests
51+
name: Build (${{ matrix.pl_backend }}, blas-${{ matrix.blas }})
5252
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
5353

5454
steps:
@@ -125,7 +125,7 @@ jobs:
125125
blas: ["OFF", "ON"]
126126
group: [1, 2, 3, 4]
127127
timeout-minutes: 60
128-
name: ${{matrix.pl_backend}} Python Tests (test-group-${{ matrix.group }}, ENABLE_BLAS=${{ matrix.kokkos_version }})
128+
name: Python Tests (${{ matrix.pl_backend }}, blas-${{ matrix.blas }}, test-group-${{ matrix.group }})
129129
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
130130

131131
steps:

.github/workflows/tests_windows_cpp.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
exec_model: ${{ fromJson(needs.win-set-matrix-x86.outputs.exec_model) }}
5454
kokkos_version: ${{ fromJson(needs.win-set-matrix-x86.outputs.kokkos_version) }}
5555
timeout-minutes: 30
56-
name: Kokkos core (${{ matrix.exec_model }})
56+
name: Build Kokkos core (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
5757
runs-on: ${{ matrix.os }}
5858

5959
steps:
@@ -105,7 +105,7 @@ jobs:
105105
matrix:
106106
os: [windows-latest]
107107
pl_backend: ["lightning_qubit"]
108-
name: ${{matrix.pl_backend}} C++ Tests (Windows)
108+
name: C++ Tests (${{ matrix.pl_backend }}, on-${{ matrix.os }})
109109

110110
steps:
111111
- uses: actions/setup-python@v4
@@ -115,7 +115,7 @@ jobs:
115115

116116
- name: Checkout PennyLane-Lightning
117117
uses: actions/checkout@v3
118-
118+
119119
- name: Install dependencies
120120
run: |
121121
python -m pip install cmake build ninja scipy
@@ -156,7 +156,7 @@ jobs:
156156
name: windows-test-report-${{ github.job }}-${{ matrix.pl_backend }}
157157
path: .\Build\tests\results\
158158
if-no-files-found: error
159-
159+
160160
- name: Upload coverage results
161161
uses: actions/upload-artifact@v3
162162
with:
@@ -175,7 +175,7 @@ jobs:
175175
kokkos_version: ${{ fromJson(needs.win-set-matrix-x86.outputs.kokkos_version) }}
176176

177177
timeout-minutes: 30
178-
name: ${{matrix.pl_backend}} C++ Tests (Windows) (kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
178+
name: C++ Tests (${{matrix.pl_backend}}, on-${{ matrix.os }}, kokkos-${{ matrix.kokkos_version }}, model-${{ matrix.exec_model }})
179179
runs-on: ${{ matrix.os }}
180180

181181
steps:

.github/workflows/tests_without_binary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
pl_backend: ["lightning_qubit", "lightning_kokkos", "lightning_gpu"]
4141

42-
name: ${{matrix.pl_backend}} Python Tests (Without Binary)
42+
name: Python Tests without Binary (${{ matrix.pl_backend }})
4343

4444
steps:
4545
- name: Checkout PennyLane-Lightning

doc/dev/release_notes.rst

-6
This file was deleted.

doc/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ The Lightning ecosystem provides the following devices:
4444
:hidden:
4545

4646
dev/installation
47-
dev/release_notes
4847
dev/docker
4948
dev/support
5049

0 commit comments

Comments
 (0)