From 677efb42358188805c058600dd6174e5f74b9c90 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Tue, 19 Sep 2023 17:20:02 -0400 Subject: [PATCH 1/9] Lower timeout-minutes. --- .github/workflows/build_and_cache_Kokkos_linux.yml | 1 + .github/workflows/changelog_reminder.yml | 1 + .github/workflows/format.yml | 1 + .github/workflows/post_release_tag.yml | 1 + .github/workflows/post_release_version_bump.yml | 1 + .github/workflows/pre_release_version_bump.yml | 1 + .github/workflows/set_wheel_build_matrix.yml | 1 + .github/workflows/tests_linux.yml | 1 + .github/workflows/tests_windows.yml | 1 + .github/workflows/tests_without_binary.yml | 1 + .github/workflows/update_dev_version.yml | 1 + .github/workflows/wheel_linux_aarch64.yml | 1 + .github/workflows/wheel_linux_ppc64le.yml | 1 + .github/workflows/wheel_linux_x86_64.yml | 1 + .github/workflows/wheel_macos_arm64.yml | 1 + .github/workflows/wheel_macos_x86_64.yml | 1 + .github/workflows/wheel_noarch.yml | 1 + .github/workflows/wheel_win_x86_64.yml | 1 + 18 files changed, 18 insertions(+) diff --git a/.github/workflows/build_and_cache_Kokkos_linux.yml b/.github/workflows/build_and_cache_Kokkos_linux.yml index 3129bcb0d8..29aeea245a 100644 --- a/.github/workflows/build_and_cache_Kokkos_linux.yml +++ b/.github/workflows/build_and_cache_Kokkos_linux.yml @@ -22,6 +22,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 linux-set-builder-matrix: name: Set Kokkos builder matrix runs-on: ubuntu-22.04 diff --git a/.github/workflows/changelog_reminder.yml b/.github/workflows/changelog_reminder.yml index 2eb934c165..6c6b56eb35 100644 --- a/.github/workflows/changelog_reminder.yml +++ b/.github/workflows/changelog_reminder.yml @@ -5,6 +5,7 @@ on: name: Changelog Reminder jobs: + timeout-minutes: 30 remind: name: Changelog Reminder runs-on: ubuntu-latest diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 6cbde05023..096db0bc2f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,6 +10,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 60 black: runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/post_release_tag.yml b/.github/workflows/post_release_tag.yml index d2d36d6f6d..08b6dab66e 100644 --- a/.github/workflows/post_release_tag.yml +++ b/.github/workflows/post_release_tag.yml @@ -8,6 +8,7 @@ env: TAG_NAME: latest_release jobs: + timeout-minutes: 30 post_release_tag_latest: runs-on: ubuntu-latest diff --git a/.github/workflows/post_release_version_bump.yml b/.github/workflows/post_release_version_bump.yml index 312c746313..43c2d6b459 100644 --- a/.github/workflows/post_release_version_bump.yml +++ b/.github/workflows/post_release_version_bump.yml @@ -5,6 +5,7 @@ on: types: [published] jobs: + timeout-minutes: 30 post_release_version_bump: runs-on: ubuntu-latest diff --git a/.github/workflows/pre_release_version_bump.yml b/.github/workflows/pre_release_version_bump.yml index 8be3604bc4..9c1375905c 100644 --- a/.github/workflows/pre_release_version_bump.yml +++ b/.github/workflows/pre_release_version_bump.yml @@ -4,6 +4,7 @@ on: workflow_dispatch: jobs: + timeout-minutes: 30 pre_release_version_bump: runs-on: ubuntu-latest diff --git a/.github/workflows/set_wheel_build_matrix.yml b/.github/workflows/set_wheel_build_matrix.yml index 2cb9d820e7..a806786ff9 100644 --- a/.github/workflows/set_wheel_build_matrix.yml +++ b/.github/workflows/set_wheel_build_matrix.yml @@ -26,6 +26,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 set-builder-matrix: runs-on: ubuntu-22.04 diff --git a/.github/workflows/tests_linux.yml b/.github/workflows/tests_linux.yml index 5273d15322..5f0da60b99 100644 --- a/.github/workflows/tests_linux.yml +++ b/.github/workflows/tests_linux.yml @@ -17,6 +17,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 cpptests: strategy: matrix: diff --git a/.github/workflows/tests_windows.yml b/.github/workflows/tests_windows.yml index 6ccc95f0c8..038f402479 100644 --- a/.github/workflows/tests_windows.yml +++ b/.github/workflows/tests_windows.yml @@ -10,6 +10,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 cpptests: name: C++ tests (Windows) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/tests_without_binary.yml b/.github/workflows/tests_without_binary.yml index e674728e95..db76d3c3c7 100644 --- a/.github/workflows/tests_without_binary.yml +++ b/.github/workflows/tests_without_binary.yml @@ -13,6 +13,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 pythontests: name: Python tests runs-on: ${{ matrix.os }} diff --git a/.github/workflows/update_dev_version.yml b/.github/workflows/update_dev_version.yml index bfa66e1e8b..02fd53a048 100644 --- a/.github/workflows/update_dev_version.yml +++ b/.github/workflows/update_dev_version.yml @@ -3,6 +3,7 @@ on: pull_request: jobs: + timeout-minutes: 30 update-dev-version: name: Update version for development branches runs-on: ubuntu-latest diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index 4709d0a6d0..1abb5fa450 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -17,6 +17,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 60 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml diff --git a/.github/workflows/wheel_linux_ppc64le.yml b/.github/workflows/wheel_linux_ppc64le.yml index 98d22db51d..edd780e693 100644 --- a/.github/workflows/wheel_linux_ppc64le.yml +++ b/.github/workflows/wheel_linux_ppc64le.yml @@ -17,6 +17,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 60 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index b704c63796..a0701bb3b3 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -21,6 +21,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index ab0f8f27cb..5bcfbfb65f 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -23,6 +23,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 60 mac-set-matrix-arm: name: Set builder matrix runs-on: ubuntu-latest diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index 91950f54d1..aabee45c11 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -21,6 +21,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml diff --git a/.github/workflows/wheel_noarch.yml b/.github/workflows/wheel_noarch.yml index 9b3bcb57be..6d914f47b4 100644 --- a/.github/workflows/wheel_noarch.yml +++ b/.github/workflows/wheel_noarch.yml @@ -18,6 +18,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 build-pure-python-wheel: strategy: matrix: diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 0396cabc6b..7ad111c23d 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -22,6 +22,7 @@ concurrency: cancel-in-progress: true jobs: + timeout-minutes: 30 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml From 12c3dab6a5759795e65090a567cc87e5f7b3d9e9 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Tue, 19 Sep 2023 17:43:44 -0400 Subject: [PATCH 2/9] trigger CI From abf087fe9e411739148a296116a08d95aa647e14 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 20 Sep 2023 14:46:01 -0400 Subject: [PATCH 3/9] Update changelog. --- .github/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 506d924fac..28ff1f9292 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -7,6 +7,9 @@ ### Breaking changes +* Introduce `timeout-minutes` in various workflows, mainly to avoid Windows builds hanging for several hours. + [(#503)](https://github.com/PennyLaneAI/pennylane-lightning/pull/503) + * Cast integral-valued arrays to the device's complex type on entry in `_preprocess_state_vector` to ensure the state is correctly represented with floating-point numbers. [(#501)](https://github.com/PennyLaneAI/pennylane-lightning/pull/501) From b58bf4b895e49096ced553f78df37daf20e6ff63 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 20 Sep 2023 15:16:37 -0400 Subject: [PATCH 4/9] Fix timeout-minutes. --- .../workflows/build_and_cache_Kokkos_linux.yml | 3 +-- .github/workflows/changelog_reminder.yml | 1 - .github/workflows/format.yml | 1 - .github/workflows/post_release_tag.yml | 1 - .github/workflows/post_release_version_bump.yml | 1 - .github/workflows/pre_release_version_bump.yml | 1 - .github/workflows/set_wheel_build_matrix.yml | 1 - .github/workflows/tests_linux.yml | 17 ++++++++--------- .github/workflows/tests_windows.yml | 7 ++++--- .github/workflows/tests_without_binary.yml | 2 +- .github/workflows/update_dev_version.yml | 1 - .github/workflows/wheel_linux_aarch64.yml | 5 ++--- .github/workflows/wheel_linux_ppc64le.yml | 5 ++--- .github/workflows/wheel_linux_x86_64.yml | 5 ++--- .github/workflows/wheel_macos_arm64.yml | 4 ++-- .github/workflows/wheel_macos_x86_64.yml | 7 +++---- .github/workflows/wheel_noarch.yml | 3 +-- .github/workflows/wheel_win_x86_64.yml | 5 ++--- 18 files changed, 28 insertions(+), 42 deletions(-) diff --git a/.github/workflows/build_and_cache_Kokkos_linux.yml b/.github/workflows/build_and_cache_Kokkos_linux.yml index 29aeea245a..0522df6128 100644 --- a/.github/workflows/build_and_cache_Kokkos_linux.yml +++ b/.github/workflows/build_and_cache_Kokkos_linux.yml @@ -22,7 +22,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 linux-set-builder-matrix: name: Set Kokkos builder matrix runs-on: ubuntu-22.04 @@ -46,7 +45,7 @@ jobs: matrix: exec_model: ${{ fromJson(needs.linux-set-builder-matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.linux-set-builder-matrix.outputs.kokkos_version) }} - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}) runs-on: ${{ inputs.os }} diff --git a/.github/workflows/changelog_reminder.yml b/.github/workflows/changelog_reminder.yml index 6c6b56eb35..2eb934c165 100644 --- a/.github/workflows/changelog_reminder.yml +++ b/.github/workflows/changelog_reminder.yml @@ -5,7 +5,6 @@ on: name: Changelog Reminder jobs: - timeout-minutes: 30 remind: name: Changelog Reminder runs-on: ubuntu-latest diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 096db0bc2f..6cbde05023 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,7 +10,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 60 black: runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/post_release_tag.yml b/.github/workflows/post_release_tag.yml index 08b6dab66e..d2d36d6f6d 100644 --- a/.github/workflows/post_release_tag.yml +++ b/.github/workflows/post_release_tag.yml @@ -8,7 +8,6 @@ env: TAG_NAME: latest_release jobs: - timeout-minutes: 30 post_release_tag_latest: runs-on: ubuntu-latest diff --git a/.github/workflows/post_release_version_bump.yml b/.github/workflows/post_release_version_bump.yml index 43c2d6b459..312c746313 100644 --- a/.github/workflows/post_release_version_bump.yml +++ b/.github/workflows/post_release_version_bump.yml @@ -5,7 +5,6 @@ on: types: [published] jobs: - timeout-minutes: 30 post_release_version_bump: runs-on: ubuntu-latest diff --git a/.github/workflows/pre_release_version_bump.yml b/.github/workflows/pre_release_version_bump.yml index 9c1375905c..8be3604bc4 100644 --- a/.github/workflows/pre_release_version_bump.yml +++ b/.github/workflows/pre_release_version_bump.yml @@ -4,7 +4,6 @@ on: workflow_dispatch: jobs: - timeout-minutes: 30 pre_release_version_bump: runs-on: ubuntu-latest diff --git a/.github/workflows/set_wheel_build_matrix.yml b/.github/workflows/set_wheel_build_matrix.yml index a806786ff9..2cb9d820e7 100644 --- a/.github/workflows/set_wheel_build_matrix.yml +++ b/.github/workflows/set_wheel_build_matrix.yml @@ -26,7 +26,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 set-builder-matrix: runs-on: ubuntu-22.04 diff --git a/.github/workflows/tests_linux.yml b/.github/workflows/tests_linux.yml index 5f0da60b99..215a247374 100644 --- a/.github/workflows/tests_linux.yml +++ b/.github/workflows/tests_linux.yml @@ -17,13 +17,12 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 cpptests: strategy: matrix: os: [ubuntu-22.04] pl_backend: ["lightning_qubit"] - + timeout-minutes: 30 name: C++ tests runs-on: ${{ matrix.os }} @@ -89,7 +88,7 @@ jobs: matrix: os: [ubuntu-22.04] pl_backend: ["lightning_qubit"] - + timeout-minutes: 30 name: Python tests runs-on: ${{ matrix.os }} @@ -145,7 +144,7 @@ jobs: matrix: os: [ubuntu-22.04] pl_backend: ["lightning_qubit"] - + timeout-minutes: 30 name: C++ tests (OpenBLAS) runs-on: ${{ matrix.os }} @@ -212,7 +211,7 @@ jobs: matrix: os: [ubuntu-22.04] pl_backend: ["lightning_qubit"] - + timeout-minutes: 30 name: Python tests with OpenBLAS runs-on: ${{ matrix.os }} @@ -263,7 +262,7 @@ jobs: name: ubuntu-codecov-results-python path: ./main/coverage-${{ github.job }}-${{ matrix.pl_backend }}.xml - build_and_cache_Kokkos: + build_and_cache_Kokkos: name: "Build and cache Kokkos" uses: ./.github/workflows/build_and_cache_Kokkos_linux.yml with: @@ -277,7 +276,7 @@ jobs: pl_backend: ["lightning_kokkos"] exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }} - + timeout-minutes: 30 name: C++ tests (Kokkos) runs-on: ${{ matrix.os }} @@ -362,7 +361,7 @@ jobs: exclude: - pl_backend: ["all"] exec_model: OPENMP - + timeout-minutes: 30 name: Python tests with Kokkos runs-on: ${{ matrix.os }} @@ -497,7 +496,7 @@ jobs: os: [ubuntu-22.04] exec_model: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.build_and_cache_Kokkos.outputs.kokkos_version) }} - + timeout-minutes: 30 name: C++ tests (multiple backends) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/tests_windows.yml b/.github/workflows/tests_windows.yml index 038f402479..09d71d1294 100644 --- a/.github/workflows/tests_windows.yml +++ b/.github/workflows/tests_windows.yml @@ -10,8 +10,8 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 cpptests: + timeout-minutes: 30 name: C++ tests (Windows) runs-on: ${{ matrix.os }} strategy: @@ -99,7 +99,7 @@ jobs: os: [windows-latest] exec_model: ${{ fromJson(needs.win-set-matrix-x86.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.win-set-matrix-x86.outputs.kokkos_version) }} - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}) runs-on: ${{ matrix.os }} @@ -156,6 +156,7 @@ jobs: exec_model: ${{ fromJson(needs.win-set-matrix-x86.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.win-set-matrix-x86.outputs.kokkos_version) }} + timeout-minutes: 30 name: C++ tests (Windows, Kokkos) runs-on: ${{ matrix.os }} @@ -230,7 +231,7 @@ jobs: path: .\coverage-${{ github.job }}-${{ matrix.pl_backend }}.xml upload-to-codecov-windows: - needs: [cpptests, cpptestswithKokkos] + needs: [cpptests, cpptestswithkokkos] name: Upload coverage data to codecov runs-on: ubuntu-latest steps: diff --git a/.github/workflows/tests_without_binary.yml b/.github/workflows/tests_without_binary.yml index db76d3c3c7..095d90a917 100644 --- a/.github/workflows/tests_without_binary.yml +++ b/.github/workflows/tests_without_binary.yml @@ -13,8 +13,8 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 pythontests: + timeout-minutes: 30 name: Python tests runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/update_dev_version.yml b/.github/workflows/update_dev_version.yml index 02fd53a048..bfa66e1e8b 100644 --- a/.github/workflows/update_dev_version.yml +++ b/.github/workflows/update_dev_version.yml @@ -3,7 +3,6 @@ on: pull_request: jobs: - timeout-minutes: 30 update-dev-version: name: Update version for development branches runs-on: ubuntu-latest diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index 1abb5fa450..665092f738 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -17,7 +17,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 60 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml @@ -33,7 +32,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_aarch64"] - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}::${{ matrix.arch }}) runs-on: ${{ matrix.os }} @@ -95,7 +94,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_aarch64"] - + timeout-minutes: 30 name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_linux_ppc64le.yml b/.github/workflows/wheel_linux_ppc64le.yml index edd780e693..bf090bedbf 100644 --- a/.github/workflows/wheel_linux_ppc64le.yml +++ b/.github/workflows/wheel_linux_ppc64le.yml @@ -17,7 +17,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 60 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml @@ -33,7 +32,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_ppc64le"] - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}::${{ matrix.arch }}) runs-on: ${{ matrix.os }} @@ -95,7 +94,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_ppc64le"] - + timeout-minutes: 30 name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{"cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index a0701bb3b3..486c480b04 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -21,7 +21,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml @@ -36,7 +35,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_x86_64"] - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}) runs-on: ${{ matrix.os }} container: ${{ matrix.container_img }} @@ -100,7 +99,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_x86_64"] - + timeout-minutes: 30 name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} container: ${{ matrix.container_img }} diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index 5bcfbfb65f..4e0449038c 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -23,8 +23,8 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 60 mac-set-matrix-arm: + timeout-minutes: 30 name: Set builder matrix runs-on: ubuntu-latest @@ -57,7 +57,7 @@ jobs: arch: [arm64] pl_backend: ["lightning_kokkos", "lightning_qubit"] cibw_build: ${{fromJson(needs.mac-set-matrix-arm.outputs.python_version)}} - + timeout-minutes: 30 name: macos-latest::arm64 - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index aabee45c11..e63cfb46d3 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -21,8 +21,7 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 - set_wheel_build_matrix: + set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml with: @@ -36,7 +35,7 @@ jobs: arch: [x86_64] exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} - + timeout-minutes: 30 name: Kokkos (${{ matrix.exec_model }}::${{ matrix.arch }}) runs-on: ${{ matrix.os }} @@ -98,7 +97,7 @@ jobs: cibw_build: ${{fromJson(needs.set_wheel_build_matrix.outputs.python_version)}} exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} - + timeout-minutes: 30 name: ${{ matrix.os }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_noarch.yml b/.github/workflows/wheel_noarch.yml index 6d914f47b4..d3e6622730 100644 --- a/.github/workflows/wheel_noarch.yml +++ b/.github/workflows/wheel_noarch.yml @@ -18,13 +18,12 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 build-pure-python-wheel: strategy: matrix: os: [ubuntu-latest] pl_backend: ["lightning_kokkos", "lightning_qubit"] - + timeout-minutes: 30 name: ${{ matrix.os }} - Pure Python wheels - ${{ matrix.pl_backend }} (Python 3.9) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 7ad111c23d..2cbde98bbe 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -22,7 +22,6 @@ concurrency: cancel-in-progress: true jobs: - timeout-minutes: 30 set_wheel_build_matrix: name: "Set wheel build matrix" uses: ./.github/workflows/set_wheel_build_matrix.yml @@ -37,7 +36,7 @@ jobs: os: [windows-2022] exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} - + timeout-minutes: 30 name: Kokkos core (${{ matrix.exec_model }}) runs-on: ${{ matrix.os }} @@ -96,7 +95,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} - + timeout-minutes: 30 name: ${{ matrix.os }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} From 9403d691c5b595070647c132ab1d88a92b4afdcf Mon Sep 17 00:00:00 2001 From: Dev version update bot Date: Wed, 20 Sep 2023 19:16:55 +0000 Subject: [PATCH 5/9] Auto update version --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index cddcc3d9a7..f01d24c559 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.33.0-dev11" +__version__ = "0.33.0-dev12" From c4d43287d1347e5cb3e76170f69cb38f49ea9c5d Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 20 Sep 2023 15:27:58 -0400 Subject: [PATCH 6/9] trigger CI From d7033bb15869b4ffe1c7c9842f879c0650f797cc Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Thu, 21 Sep 2023 10:54:26 -0400 Subject: [PATCH 7/9] Bump aarch64 and ppc64le timeouts to 45 minutes. --- .github/workflows/wheel_linux_aarch64.yml | 4 ++-- .github/workflows/wheel_linux_ppc64le.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index 665092f738..b8990cf7d1 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -32,7 +32,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_aarch64"] - timeout-minutes: 30 + timeout-minutes: 45 name: Kokkos core (${{ matrix.exec_model }}::${{ matrix.arch }}) runs-on: ${{ matrix.os }} @@ -94,7 +94,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_aarch64"] - timeout-minutes: 30 + timeout-minutes: 45 name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{ "cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} diff --git a/.github/workflows/wheel_linux_ppc64le.yml b/.github/workflows/wheel_linux_ppc64le.yml index bf090bedbf..563daabc42 100644 --- a/.github/workflows/wheel_linux_ppc64le.yml +++ b/.github/workflows/wheel_linux_ppc64le.yml @@ -32,7 +32,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_ppc64le"] - timeout-minutes: 30 + timeout-minutes: 45 name: Kokkos core (${{ matrix.exec_model }}::${{ matrix.arch }}) runs-on: ${{ matrix.os }} @@ -94,7 +94,7 @@ jobs: exec_model: ${{ fromJson(needs.set_wheel_build_matrix.outputs.exec_model) }} kokkos_version: ${{ fromJson(needs.set_wheel_build_matrix.outputs.kokkos_version) }} container_img: ["quay.io/pypa/manylinux2014_ppc64le"] - timeout-minutes: 30 + timeout-minutes: 45 name: ${{ matrix.os }}::${{ matrix.arch }} - ${{ matrix.pl_backend }} (Python ${{ fromJson('{"cp39-*":"3.9","cp310-*":"3.10","cp311-*":"3.11" }')[matrix.cibw_build] }}) runs-on: ${{ matrix.os }} From 17ffd5c7e8ea4083b902c4a9e6b752748bf380d3 Mon Sep 17 00:00:00 2001 From: Dev version update bot Date: Thu, 21 Sep 2023 14:55:21 +0000 Subject: [PATCH 8/9] Auto update version --- pennylane_lightning/core/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index f01d24c559..08baf0c551 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.33.0-dev12" +__version__ = "0.33.0-dev13" From 4cc2c16eb9bdd7d459c47b95b4b91ea9715868d8 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Thu, 21 Sep 2023 10:55:44 -0400 Subject: [PATCH 9/9] trigger CI