Skip to content

[pre-commit.ci] pre-commit autoupdate #1163

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

Open
wants to merge 121 commits into
base: branch-24.11
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
23c22e6
Update API interface for amax and amin and add tests for them. Also f…
mona-nv Nov 1, 2024
880dd42
Add the method parameter to cunumeric.convolve (#449)
magnatelee Nov 1, 2024
e9dc0e1
Port and test squeeze. (#111)
robinwnv Nov 2, 2024
2809e95
Update version to 25.01.00 (#465)
marcinz Nov 5, 2024
892b293
remove no_tril parameter for cholesky (#456)
XiaLuNV Nov 5, 2024
cdb806a
Use legate-gh-ci v1.18 (#452)
mag1cp1n Nov 5, 2024
38fbcbb
Clean up docs, bump to latest Legate (#470)
manopapad Nov 6, 2024
919ccc0
More Numpy 2 fixes (#454)
bryevdv Nov 6, 2024
8ddf1a8
Port and test where. (#95)
robinwnv Nov 7, 2024
72b0d13
Removed the dependencies-workflow param. (#406)
sandeepd-nv Nov 7, 2024
c69bf60
Update legate-gh-ci to v1.19. (#476)
sandeepd-nv Nov 9, 2024
6ceedc5
enhance einsum (#478)
XiaLuNV Nov 12, 2024
51e1ea4
update to public nv theme (#472)
bryevdv Nov 12, 2024
c109eae
add trademark disclaimer (#482)
bryevdv Nov 13, 2024
c65e521
cuNumeric -> cuPyNumeric (#477)
bryevdv Nov 14, 2024
f44aa8c
Complete cunumeric->cupynumeric renaming (#493)
marcinz Nov 14, 2024
251c2c5
Update project references in install.py (#496)
manopapad Nov 14, 2024
e23e4d8
enhance clip (#485)
XiaLuNV Nov 15, 2024
a8dd4a7
enhance for random (#458)
XiaLuNV Nov 15, 2024
0c323e2
update switcher.json (#503)
bryevdv Nov 15, 2024
48aa2a3
cuPy (project) -> CuPy (#504)
bryevdv Nov 15, 2024
e591c64
addind TorchSWE into the docs (#499)
ipdemes Nov 16, 2024
4222f17
Move the Note from the top of page to the bottom of the page in READM…
dongb Nov 16, 2024
a4b656a
Documentation improvements (#502)
marcinz Nov 16, 2024
1ed98c2
remove typing_extensions cruft (#511)
bryevdv Nov 19, 2024
c9ceba1
use tester hooks for cunumeric-specific config (#515)
bryevdv Nov 25, 2024
e510ff2
Removing `std::` from unary_ops (#514)
ipdemes Nov 27, 2024
ed80b2f
Read versions.json for Legate version (#513)
marcinz Nov 27, 2024
fc1bc6a
Update legate-gh-ci version to v1.21 (#494)
mag1cp1n Nov 27, 2024
758b8e7
Update repo name for legate (#525)
m3vaz Nov 28, 2024
fdfa554
Port dot from Python to C++. (#11)
robinwnv Nov 30, 2024
196dfe0
Update legate-gh-ci version (#523)
mag1cp1n Dec 3, 2024
471385a
Re-updating the repo name because the repo name needs to be updated w…
m3vaz Dec 3, 2024
7d614e2
fix comparison table API scraping (#530)
bryevdv Dec 3, 2024
7e7fe8d
Reducing number of dimensions used in tests +fix ROUND logic for __ha…
ipdemes Dec 12, 2024
ebf0e2a
bringing logic for "ceil", "floor" and "trunc" on-par with numpy 2.1…
ipdemes Dec 12, 2024
8831355
Pass github refname (PR Id) to upload in gh-legate-ci (#536)
mag1cp1n Dec 12, 2024
d43e1fa
update test_clip for np2 (#539)
bryevdv Dec 12, 2024
69988dc
Bump Legate to get HDF5 fixes (#538)
manopapad Dec 13, 2024
fc68ff7
fix fft assertion failure (#533)
XiaLuNV Dec 13, 2024
01344ef
fix tests for all LEGATE_MAX_DIMS (#541)
ipdemes Dec 13, 2024
150dead
add cases to enhance fft/fft.py (#542)
XiaLuNV Dec 18, 2024
9f0e103
enhance for test_squeeze.py (#524)
XiaLuNV Dec 20, 2024
b18e325
Remove `Mapper::task_target()` callback (#545)
Jacobfaib Dec 20, 2024
0c78365
Explicit fallback to __array__() on __buffer__ (#508) (#509)
manopapad Dec 30, 2024
574e404
BUG: Improve `CMAKE_CUDA_ARCHITECTURES` logic (#555)
cryos Dec 31, 2024
6e1a539
Bump CMake minimum to 3.26.4 (#556)
cryos Dec 31, 2024
d9c849b
Update to `rapids-cmake` 24.12 (#557)
cryos Jan 2, 2025
43413c0
Update to a more modern CMake using target properties (#558)
cryos Jan 2, 2025
1e54aa4
Update reshape() implementation to avoid unnecessary deepcopy (#543)
shijie-nv Jan 6, 2025
bd5f558
Revert "Update reshape() implementation to avoid unnecessary deepcopy…
shijie-nv Jan 6, 2025
73d1867
enhance test_nanquantiles.py (#549)
XiaLuNV Jan 7, 2025
f4cf540
override stream on cached handle (#561)
mfoerste4 Jan 7, 2025
1d59df5
Changes for the one pool world (#387)
magnatelee Jan 8, 2025
e988fc2
enable version banner (#562)
bryevdv Jan 8, 2025
2533c1e
fix bad blog link (#565)
bryevdv Jan 9, 2025
bc19ac2
Fix the convolve test failure by adding latest update in c++ code (#563)
mona-nv Jan 10, 2025
5a99959
Fix the build failure caused by adding new pure virtual method in leg…
mona-nv Jan 15, 2025
0966053
CMake: Remove the `--trace-expand` argument (#571)
cryos Jan 15, 2025
6de86c4
enhance test_diff.py (#564)
XiaLuNV Jan 16, 2025
f098abe
Bump Legate hash (#572)
manopapad Jan 17, 2025
e5f53eb
Added a tests-pass job which aggregates results from all instances of…
sandeepd-nv Jan 17, 2025
92b966f
Add missing opt_einsum setup.py dependency (#568)
manopapad Jan 20, 2025
e10c542
Final version bumps before 25.01 release cut (#582)
Jacobfaib Jan 22, 2025
6d9dd46
Add docs option for annotation overlay (#581)
bryevdv Jan 23, 2025
24aab86
prevent matmul batching in case we are on a single proc (#586)
mfoerste4 Jan 27, 2025
b1c644c
Post branch-cut version bumps (#583)
Jacobfaib Jan 27, 2025
5483b09
updating legate commit hash (#590)
ipdemes Jan 30, 2025
5620c5c
Catch up the renaming change (#457)
magnatelee Jan 30, 2025
e04b935
Disable upload on URM (#591)
mag1cp1n Jan 31, 2025
5ce4f9c
Verify legate SHA [Not for review] (#597)
mag1cp1n Feb 4, 2025
97d7dae
Use `uniform()` instead of `rand()` to avoid temporary allocations (#…
magnatelee Feb 4, 2025
5fff8e5
Add local_task_array helper (#589)
bryevdv Feb 5, 2025
d11b8a7
Fix the insame amount of output when compare the array (#595)
mona-nv Feb 7, 2025
a856e85
Add cryos to the CODEOWNERS file (#600)
cryos Feb 10, 2025
532e5da
enhance test_index_routines.py (#602)
XiaLuNV Feb 13, 2025
453603d
Fixes for cuNumeric.jl (#607)
magnatelee Feb 14, 2025
9654c97
Use Use new label policy. (#605)
mag1cp1n Feb 18, 2025
6969510
Download and install legate from Anaconda (#596)
mag1cp1n Feb 19, 2025
af2b21d
Bump Legate SHA (#614)
manopapad Feb 19, 2025
a66eea2
Don't share the dependency file. (#620)
mag1cp1n Feb 21, 2025
90684e8
Renamed: .github/workflows/ci-gh-release.yml -> .github/workflows/…
sandeepd-nv Feb 21, 2025
4654fb1
Bump Legate, for communicator return size fix (#623)
manopapad Feb 24, 2025
1d40f67
enhance fft_c2r.py (#619)
XiaLuNV Feb 25, 2025
b0cf59c
Fix channel order in conda package installation (#626)
marcinz Feb 27, 2025
8bb56fc
Matrix Exponential (#445)
aschaffer Feb 27, 2025
e5f963c
add version fixups from legate (#629)
bryevdv Feb 27, 2025
7525f53
Build binary pip wheels for cupynumeric (#610)
cryos Feb 28, 2025
625f4c7
Added seeding to fix intermittent CI failures. (#633)
aschaffer Mar 3, 2025
280010b
Rename the wheel: cupynumeric -> nvidia-cupynumeric (#636)
cryos Mar 4, 2025
ee49d5c
Add 'linalg.eigvals' & 'linalg.eig' API (#628)
mfoerste4 Mar 5, 2025
1caa394
Add in missing CTK wheel dependencies (#637)
cryos Mar 5, 2025
e44b99f
updating Legate hash (#638)
ipdemes Mar 6, 2025
78997f8
Update to build new format conda packages (#577)
cryos Mar 7, 2025
eb4e972
enhance test_flags.py (#640)
XiaLuNV Mar 11, 2025
079679b
Bump to 25.05 (#643)
Jacobfaib Mar 11, 2025
da8c96f
Add TaskConfig support (#641)
Jacobfaib Mar 11, 2025
e7356d3
updating legate commit hash (#648)
ipdemes Mar 12, 2025
f22ae8c
Add separate docs workflow and push nightly docs to gh pages. (#611)
sandeepd-nv Mar 12, 2025
3f1e884
Fixes #645 (#647)
manopapad Mar 12, 2025
ab44cbf
Fix nvbug 5156643 (#649)
manopapad Mar 13, 2025
9dba1f3
Documentation fixes (#651)
manopapad Mar 14, 2025
4298c00
Fix build has tests (#652) (#653)
marcinz Mar 18, 2025
7569d68
CPP tests (#447)
sandeepd-nv Mar 18, 2025
a29a2cf
Disable ARM64 GPU testing for wheels (#655)
cryos Mar 18, 2025
bdceb14
Upload docs only on main (#657)
sandeepd-nv Mar 19, 2025
06244e4
Update for removal of LEGATE_NEED_* envvars (#650)
manopapad Mar 19, 2025
3e88ba2
Remove debug and don't cache the wheel (#660)
cryos Mar 20, 2025
c07bc2e
Migrate to a `gh` CLI based artifact download (#661)
cryos Mar 24, 2025
1f53931
Update licenses that were missed - wheels (#664)
cryos Mar 24, 2025
cc09301
Use a clean version before the build starts (#667)
cryos Mar 25, 2025
a55045d
Nightly push to external repo (#659)
sandeepd-nv Mar 26, 2025
73f64bb
Get the Legate SHA from `versions.cmake` (#669)
cryos Apr 1, 2025
7fc9dc9
Move the conda build string version info to end (#671)
cryos Apr 1, 2025
45492a8
Update runners to NVKS (#588)
marcinz Apr 3, 2025
70e91d5
Update CODEOWNERS to use the GitHub team (#675)
cryos Apr 3, 2025
c95afb3
Enable sccache in for CI builds (#674)
cryos Apr 3, 2025
0a1f3dc
Wheels docs (#670)
marcinz Apr 3, 2025
3715044
add special case to handle matmul ufunc (#679)
bryevdv Apr 4, 2025
a26f8fc
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 7, 2025
2f2a4d3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cunumeric/_version.py export-subst
cunpyumeric/_version.py export-subst
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code Ownership
.github @marcinz @m3vaz @sandeepd-nv @mag1cp1n
continuous_integration @marcinz @m3vaz @sandeepd-nv @mag1cp1n
conda @marcinz @m3vaz @sandeepd-nv @mag1cp1n
.github @nv-legate/devops-reviewers
continuous_integration @nv-legate/devops-reviewers
conda @nv-legate/devops-reviewers
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
value: "# Bug report"
- type: markdown
attributes:
value: Thank you for reporting a bug and helping us improve Cunumeric!
value: Thank you for reporting a bug and helping us improve cuPyNumeric!
- type: markdown
attributes:
value: >
Expand All @@ -29,7 +29,7 @@ body:
Platform : Linux-6.8.0-40-generic-x86_64-with-glibc2.35
Legion : (failed to detect)
Legate : 24.05.00+255.g2656afbd
Cunumeric : 24.05.00+132.gc4741d57
cuPynumeric : 24.05.00+132.gc4741d57
Numpy : 1.26.4
Scipy : 1.13.1
Numba : (failed to detect)
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/ci-gh-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Docs

concurrency:
group: ${{ startsWith(github.ref_name, 'main') && format('unique-{0}', github.run_id) || format('ci-build-docs-on-{0}-from-{1}', github.event_name, github.ref_name) }}
cancel-in-progress: true

on:
push:
branches:
- "pull-request/[0-9]+"
- "branch-*"
- "main"
merge_group:

jobs:
build-and-test:
name: Build documentation (${{ matrix.platform }}, ${{ matrix.target-device }}, ${{ matrix.build-mode }}, ucx enabled)
strategy:
fail-fast: false
matrix:
platform:
- linux
target-device:
- gpu
build-mode:
- release
uses:
./.github/workflows/gh-build-docs.yml
with:
platform: ${{ matrix.platform }}
target-device: ${{ matrix.target-device }}
build-mode: ${{ matrix.build-mode }}
build-type: ci
upload-docs-to-gh-pages: false
secrets: inherit

docs-pass:
if: always()
needs:
- build-and-test
runs-on: linux-amd64-cpu4
steps:
- name: Check job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
37 changes: 34 additions & 3 deletions .github/workflows/ci-gh-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,42 @@ jobs:
uses:
./.github/workflows/gh-build-and-test.yml
with:
build-type: release
dependencies-workflow: ci-gh-nightly-release.yml
build-type: nightly
platform: ${{ matrix.platform }}
python-version: ${{ matrix.python-version }}
target-device: ${{ matrix.target-device }}
upload-enabled: ${{ matrix.upload-enabled }}
waive-gpu-tests: ${{ github.workflow == 'Build Release package' && matrix.platform == 'linux-aarch64' }}
refname: ${{ github.ref_name }}
default-branch: ${{ github.event.repository.default_branch }}
secrets: inherit

build-nightly-docs:
name: Build Nightly documentation (${{ matrix.platform }}, ${{ matrix.target-device }}, ${{ matrix.build-mode }}, ucx enabled)
strategy:
fail-fast: false
matrix:
platform:
- linux
target-device:
- gpu
build-mode:
- release
uses:
./.github/workflows/gh-build-docs.yml
with:
platform: ${{ matrix.platform }}
target-device: ${{ matrix.target-device }}
build-mode: ${{ matrix.build-mode }}
build-type: nightly
upload-docs-to-gh-pages: true
secrets: inherit

push_code:
name: Nightly source release
uses:
nv-legate/legate-gh-ci/.github/workflows/gh-push-code.yml@nightly_push_to_external_repo
with:
runs-on: linux-amd64-cpu4
source-repo: "${{ github.repository_owner }}/cupynumeric.internal"
dest-repo: "${{ github.repository_owner }}/cupynumeric"
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/ci-gh-validate-legate-sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: cunumeric.internal
path: cupynumeric.internal

- name: Set up environment
run: |
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Parse versions.json
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
DEPENDENCIES_FILE="cunumeric.internal/cmake/versions.json"
DEPENDENCIES_FILE="cupynumeric.internal/cmake/versions.json"
GIT_REPO=$(jq -r '.packages.legate.repo' ${DEPENDENCIES_FILE})
GIT_ORG=$(jq -r '.packages.legate.org' ${DEPENDENCIES_FILE})
GIT_TAG=$(jq -r '.packages.legate.git_tag' ${DEPENDENCIES_FILE})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Release package
name: Build CI package

concurrency:
group: ${{ startsWith(github.ref_name, 'main') && format('unique-{0}', github.run_id) || format('ci-build-and-test-on-{0}-from-{1}', github.event_name, github.ref_name) }}
Expand Down Expand Up @@ -33,10 +33,21 @@ jobs:
uses:
./.github/workflows/gh-build-and-test.yml
with:
build-type: release
build-type: ci
platform: ${{ matrix.platform }}
python-version: "3.10"
python-version: ${{ matrix.python-version }}
target-device: ${{ matrix.target-device }}
upload-enabled: ${{ matrix.upload-enabled }}
waive-gpu-tests: ${{ github.workflow == 'Build Release package' && matrix.platform == 'linux-aarch64' }}
refname: ${{ github.ref_name }}
default-branch: ${{ github.event.repository.default_branch }}
secrets: inherit

tests-pass:
if: always()
needs:
- build-and-test
runs-on: linux-amd64-cpu4
steps:
- name: Check job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
107 changes: 58 additions & 49 deletions .github/workflows/gh-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ on:
upload-enabled:
type: boolean
required: true
waive-gpu-tests:
required: true
type: boolean
description: Waive GPU tests based on specific configuration
python-version:
required: false
type: string
default: "3.12"
dependencies-workflow:
required: false
refname:
required: true
type: string
default-branch:
required: true
type: string
default: ci-gh.yml

jobs:
setup-build:
Expand All @@ -51,14 +49,14 @@ jobs:
needs: setup-build
name: "Build (${{ inputs.platform }}, ${{ inputs.target-device }}, ${{ inputs.build-type }}, Python ${{ inputs.python-version }})"
uses:
nv-legate/legate-gh-ci/.github/workflows/gh-build.yml@v1.17
nv-legate/legate-gh-ci/.github/workflows/gh-build.yml@v1.29
with:
build-has-tests: ${{ !inputs.upload-enabled }}
build-mode: ""
build-type: ${{ inputs.build-type }}
client-repo: ${{ github.event.repository.name }}
dependencies-file: "cmake/versions.json"
dependencies-workflow: ${{ inputs.dependencies-workflow }}
legate-gh-ci-tag: "v1.17"
dependencies-file: ""
legate-gh-ci-tag: "v1.29"
network: "ucx"
platform: ${{ inputs.platform }}
python-version: ${{ inputs.python-version }}
Expand All @@ -68,45 +66,29 @@ jobs:
use-container: ${{ inputs.platform == 'linux' || inputs.platform == 'linux-aarch64' }}
secrets: inherit

nightly-exists:
needs: setup-build
name: "Check if legate.internal nightly exists for SHA specified in versions.json (${{ inputs.platform }}, ${{ inputs.target-device }}, ${{ inputs.build-type }})"
uses:
nv-legate/legate-gh-ci/.github/workflows/[email protected]
with:
build-mode: ""
build-type: ${{ inputs.build-type }}
client-repo: ${{ github.event.repository.name }}
dependencies-file: "cmake/versions.json"
legate-gh-ci-tag: "v1.17"
network: "ucx"
platform: ${{ inputs.platform }}
python-version: ${{ inputs.python-version }}
runs-on: linux-amd64-cpu4
target-device: ${{ inputs.target-device }}
upload-enabled: ${{ inputs.upload-enabled }}
secrets: inherit

upload:
needs: build
if: ${{ github.repository_owner == 'nv-legate' && contains(github.workflow, 'release') && inputs.upload-enabled == true }}
name: Upload package to Server
uses:
nv-legate/legate-gh-ci/.github/workflows/gh-upload.yml@v1.17
nv-legate/legate-gh-ci/.github/workflows/gh-upload.yml@v1.29
with:
build-has-tests: ${{ !inputs.upload-enabled }}
build-mode: ""
build-type: ${{ inputs.build-type }}
client-repo: ${{ github.event.repository.name }}
legate-gh-ci-tag: "v1.17"
legate-gh-ci-tag: "v1.29"
name: Upload package to Server
network: "ucx"
pkgSubString: "cunumeric-"
pkgSubString: "cupynumeric-"
platform: ${{ inputs.platform }}
python-version: ${{ inputs.python-version }}
repos-Root: "cunumeric"
repos-Root: "cupynumeric"
target-device: ${{ inputs.target-device }}
upload-action: "upload-package"
upload-action: "upload-package-Anaconda"
upload-enabled: ${{ inputs.upload-enabled }}
refname: ${{ inputs.refname }}
default-branch: ${{ inputs.default-branch }}
secrets: inherit

setup-test:
Expand All @@ -121,20 +103,25 @@ jobs:
- id: set-matrix
run: |
set -xeuo pipefail

MATRIX_JSON='{"include": ['

RUNNERS=(
'linux-amd64-gpu-v100-latest-1:gpu:gpu:linux' 'linux-amd64-2gpu:gpu:2gpu:linux'
'linux-amd64-gpu-l4-latest-1:gpu:gpu:linux' 'linux-amd64-2gpu:gpu:2gpu:linux'
'linux-amd64-cpu16:cpu:cpu:linux'
'linux-arm64-cpu16:cpu:cpu:linux-aarch64' 'linux-aarch64-2gpu:gpu:2gpu:linux-aarch64' 'linux-aarch64-2gpu:gpu:gpu:linux-aarch64'
'macos-latest:cpu:cpu:mac')

TEST_CONFIGS=(
'1 CPU test:test --cpus 1 --debug:cpu'
'1 CPU test:test --cpus 1 --debug:gpu'
'2 CPU test:test --cpus 2 --debug:cpu'
'2 CPU test:test --cpus 2 --debug:gpu'
# set the number of workers manually because nvidia runners report 6 gpus when onyl one is really available
# this workaround can be removed when the number of available gpus is reported correctly (when we run on VMs)
'GPU test:test --use cuda --gpus 1 -j 7 --debug:gpu'
# Set the number of workers manually because nvidia runners report 6
# gpus when only one is really available this workaround can be
# removed when the number of available gpus is reported correctly
# (when we run on VMs)
'GPU test:test --use cuda --gpus 1 --debug:gpu'
'2 GPU test:test --use cuda --gpus 2 --debug:2gpu'
'OpenMP test:test --use openmp --omps 1 --ompthreads 2 --debug:gpu'
'OpenMP test:test --use openmp --omps 1 --ompthreads 2 --debug:cpu'
Expand All @@ -143,31 +130,49 @@ jobs:
'Eager execution test:test --use eager --debug:gpu'
'Eager execution test:test --use eager --debug:cpu'
'mypy:mypy:cpu'
'Documentation:docs:cpu'
'Unit tests:unit:cpu'
'CPP tests:cpp:cpu'
# TODO: Uncomment the following lines once
# https://github.com/nv-legate/cupynumeric.internal/issues/654 has
# been fixed.
# 'CPP tests:cpp:gpu'
# 'CPP tests:cpp:2gpu'
)

for RUNNER in "${RUNNERS[@]}"; do
IFS=':' read -ra RUNNER_INFO <<< "$RUNNER"
RUNNER_NAME=${RUNNER_INFO[0]}
RUNNER_TYPE=${RUNNER_INFO[1]}
RUNNER_DEVICE=${RUNNER_INFO[2]}
RUNNER_PLATFORM=${RUNNER_INFO[3]}

if [[ "$RUNNER_TYPE" == "${{ inputs.target-device }}" && "$RUNNER_PLATFORM" == "${{ inputs.platform }}" ]]; then

for TEST_CONFIG in "${TEST_CONFIGS[@]}"; do
IFS=':' read -ra CONFIG_INFO <<< "$TEST_CONFIG"
TEST_NAME=${CONFIG_INFO[0]}
TEST_OPTIONS=${CONFIG_INFO[1]}
TEST_TARGET_DEVICE=${CONFIG_INFO[2]}

# Note: we don't have enough linux-aarch64 GPU runners to
# support per commit testing. This is why these tests are waived
# here.
WAIVE_TEST="${{ inputs.target-device == 'gpu' && inputs.build-type == 'ci' && inputs.platform == 'linux-aarch64' }}"

if [[ "$TEST_TARGET_DEVICE" == "$RUNNER_DEVICE" ]]; then
if ! [[ "$TEST_NAME" =~ "GPU" && "${{ inputs.waive-gpu-tests }}" == 'true' ]]; then
if [[ "${WAIVE_TEST}" == "false" ]]; then
MATRIX_JSON+="{\"runner\": {\"name\": \"$RUNNER_NAME\", \"type\": \"$RUNNER_TYPE\", \"platform\": \"$RUNNER_PLATFORM\"}, \"test-config\": {\"name\": \"$TEST_NAME\", \"test-options\": \"$TEST_OPTIONS\"}},"
fi
fi
done
fi
done
MATRIX_JSON=$(echo "$MATRIX_JSON" | sed 's/,$//') # Remove the trailing comma

# Remove the trailing comma
MATRIX_JSON=$(echo "$MATRIX_JSON" | sed 's/,$//')
# Terminate JSON expression
MATRIX_JSON+=']}'

echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT

test:
Expand All @@ -180,13 +185,14 @@ jobs:
matrix: ${{fromJson(needs.setup-test.outputs.matrix)}}

uses:
nv-legate/legate-gh-ci/.github/workflows/gh-test-within-container.yml@v1.17
nv-legate/legate-gh-ci/.github/workflows/gh-test-within-container.yml@v1.29
with:
build-has-tests: ${{ !inputs.upload-enabled }}
build-mode: ""
build-type: ${{ inputs.build-type }}
client-repo: ${{ github.event.repository.name }}
has-gpu: ${{ matrix.runner.type == 'gpu' }}
legate-gh-ci-tag: "v1.17"
legate-gh-ci-tag: "v1.29"
name: ${{ matrix.test-config.name }}
network: "ucx"
platform: ${{ inputs.platform }}
Expand All @@ -200,21 +206,24 @@ jobs:
updateTestStatus:
needs: test
name: Update Test status on Server
if: ${{ (github.repository_owner == 'nv-legate') && contains(github.workflow, 'Nightly') && (inputs.upload-enabled == true) }}
if: ${{ false }}
uses:
nv-legate/legate-gh-ci/.github/workflows/gh-upload.yml@v1.17
nv-legate/legate-gh-ci/.github/workflows/gh-upload.yml@v1.29
with:
build-has-tests: ${{ !inputs.upload-enabled }}
build-mode: ""
build-type: ${{ inputs.build-type }}
client-repo: ${{ github.event.repository.name }}
legate-gh-ci-tag: "v1.17"
legate-gh-ci-tag: "v1.29"
name: UpdateTestStatus
network: "ucx"
pkgSubString: "cunumeric-"
pkgSubString: "cupynumeric-"
platform: ${{ inputs.platform }}
python-version: ${{ inputs.python-version }}
repos-Root: "cunumeric"
repos-Root: "cupynumeric"
target-device: ${{ inputs.target-device }}
upload-action: "update-test-status"
upload-enabled: true
refname: ${{ inputs.refname }}
default-branch: ${{ inputs.default-branch }}
secrets: inherit
Loading
Loading