Skip to content

Commit fd45636

Browse files
authored
Release v23.11.00
Release 23.11.00
2 parents 21ea7b3 + 6fa0acc commit fd45636

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1147
-864
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: Bug report
2+
description: Submit a bug report
3+
title: "[BUG] "
4+
labels: TRIAGE
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "# Bug report"
9+
- type: markdown
10+
attributes:
11+
value: Thank you for reporting a bug and helping us improve Legate!
12+
- type: markdown
13+
attributes:
14+
value: >
15+
Please fill out all of the required information.
16+
- type: markdown
17+
attributes:
18+
value: |
19+
---
20+
## Environment information
21+
- type: textarea
22+
id: legate_issue
23+
attributes:
24+
label: Software versions
25+
description: >-
26+
Run `legate-issue` and paste the output here.
27+
placeholder: |
28+
Python : 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:58:44) [GCC 11.3.0]
29+
Platform : Linux-5.14.0-1042-oem-x86_64-with-glibc2.31
30+
Legion : v23.11.00.dev-16-g2499f878
31+
Legate : 23.11.00.dev+17.gb7b50313
32+
Cunumeric : (ImportError: cannot import name 'LogicalArray' from 'legate.core')
33+
Numpy : 1.24.4
34+
Scipy : 1.10.1
35+
Numba : (not installed)
36+
CTK package : cuda-version-11.8-h70ddcb2_2 (conda-forge)
37+
GPU Driver : 515.65.01
38+
GPU Devices :
39+
GPU 0: Quadro RTX 8000
40+
GPU 1: Quadro RTX 8000
41+
validations:
42+
required: true
43+
- type: input
44+
id: jupyter
45+
attributes:
46+
label: Jupyter notebook / Jupyter Lab version
47+
description: >-
48+
Please supply if the issue you are reporting is related to Jupyter
49+
notebook or Jupyter Lab.
50+
validations:
51+
required: false
52+
- type: markdown
53+
attributes:
54+
value: |
55+
## Issue details
56+
- type: textarea
57+
id: expected-behavior
58+
attributes:
59+
label: Expected behavior
60+
description: What did you expect to happen?
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: observed-behavior
65+
attributes:
66+
label: Observed behavior
67+
description: What did actually happen?
68+
validations:
69+
required: true
70+
- type: markdown
71+
attributes:
72+
value: |
73+
## Directions to reproduce
74+
- type: textarea
75+
id: example
76+
attributes:
77+
label: Example code or instructions
78+
description: >
79+
Please provide detailed instructions to reproduce the issue. Ideally this includes a
80+
[Complete, minimal, self-contained example code](https://stackoverflow.com/help/minimal-reproducible-example)
81+
given here or as a link to code in another repository.
82+
render: Python
83+
validations:
84+
required: true
85+
- type: markdown
86+
attributes:
87+
value: |
88+
## Additional information
89+
- type: textarea
90+
id: traceback-console
91+
attributes:
92+
label: Stack traceback or browser console output
93+
description: >
94+
Add any error messages or logs that might be helpful in reproducing and
95+
identifying the bug, for example a Python stack traceback.
96+
validations:
97+
required: false
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build conda release packages
2+
3+
concurrency:
4+
group: ci-release-on-${{ github.event_name }}-from-${{ github.ref_name }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
workflow_dispatch:
10+
branches:
11+
- "pull-request/[0-9]+"
12+
- "branch-*"
13+
14+
jobs:
15+
build:
16+
uses:
17+
./.github/workflows/gh-build.yml
18+
with:
19+
build-target: all
20+
repos-name: ${{ github.event.repository.name }}
21+
runs-on: ${{ github.repository_owner == 'nv-legate' && 'linux-amd64-32cpu' || 'ubuntu-latest' }}
22+
sha: ${{ github.sha }}
23+
build-type: release

.github/workflows/ci-gh-cpu-build-and-test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ on:
88
push:
99
branches:
1010
- "pull-request/[0-9]+"
11-
- "branch-*"
11+
- "*branch-*"
1212

1313
jobs:
1414
build-cpu:
15+
if: ${{ github.repository_owner == 'nv-legate' }}
1516
uses:
1617
./.github/workflows/gh-build.yml
1718
with:
1819
build-target: cpu
19-
# Ref: https://docs.rapids.ai/resources/github-actions/#cpu-labels for `linux-amd64-cpu4`
20-
runs-on: ${{ github.repository == 'nv-legate/legate.core' && 'linux-amd64-cpu4' || 'ubuntu-latest' }}
20+
repos-name: ${{ github.event.repository.name }}
21+
runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu4' || 'ubuntu-latest' }}
2122
sha: ${{ github.sha }}
23+
build-type: ci
2224

2325
test-cpu:
2426
needs:
@@ -30,11 +32,13 @@ jobs:
3032
- { name: Pytest Unit Tests, test-scope: unit }
3133
- { name: mypy, test-scope: mypy }
3234
name: ${{ matrix.name }}
35+
if: ${{ github.repository_owner == 'nv-legate' }}
3336
uses:
3437
./.github/workflows/gh-test.yml
3538
with:
3639
build-target: cpu
37-
runs-on: ${{ github.repository == 'nv-legate/legate.core' && 'linux-amd64-cpu4' || 'ubuntu-latest' }}
40+
repos-name: ${{ github.event.repository.name }}
41+
runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-32cpu' || 'ubuntu-latest' }}
3842
sha: ${{ github.sha }}
3943
test-scope: ${{ matrix.test-scope }}
4044

.github/workflows/ci-gh-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
uses: actions/checkout@v3
5555

5656
- name: Generate YAML file listing dependencies
57-
run: scripts/generate-conda-envs.py --python 3.10 --ctk 11.8 --os linux --compilers --openmpi
57+
run: scripts/generate-conda-envs.py --python 3.10 --ctk 12.0 --os linux --compilers --openmpi
5858

5959
- name: Install dependencies from generated YAML file
60-
run: conda env create -n legate -f environment-test-linux-py3.10-cuda11.8-compilers-openmpi.yaml
60+
run: conda env create -n legate -f environment-test-linux-py3.10-cuda12.0-compilers-openmpi.yaml
6161

6262
- name: Build doxygen documentation through install.py
6363
run: |

.github/workflows/ci-gh-gpu-build-and-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ on:
88
push:
99
branches:
1010
- "pull-request/[0-9]+"
11-
- "branch-*"
11+
- "*branch-*"
1212

1313
jobs:
1414
build-gpu:
15+
if: ${{ github.repository_owner == 'nv-legate' }}
1516
uses:
1617
./.github/workflows/gh-build.yml
1718
with:
1819
build-target: gpu
19-
# Ref: https://docs.rapids.ai/resources/github-actions/#cpu-labels for `linux-amd64-cpu4`
20-
runs-on: ${{ github.repository == 'nv-legate/legate.core' && 'linux-amd64-cpu4' || 'ubuntu-latest' }}
20+
repos-name: ${{ github.event.repository.name }}
21+
runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-32cpu' || 'ubuntu-latest' }}
2122
sha: ${{ github.sha }}
23+
build-type: ci
2224

2325
test-gpu:
2426
needs:
@@ -31,10 +33,12 @@ jobs:
3133
- { name: Pytest Unit Tests, test-scope: unit, runner: linux-amd64-2gpu }
3234
- { name: mypy, test-scope: mypy, runner: 'linux-amd64-gpu-v100-latest-1' }
3335
name: ${{ matrix.name }}
36+
if: ${{ github.repository_owner == 'nv-legate' }}
3437
uses:
3538
./.github/workflows/gh-test.yml
3639
with:
3740
build-target: gpu
41+
repos-name: ${{ github.event.repository.name }}
3842
runs-on: ${{ matrix.runner }}
3943
sha: ${{ github.sha }}
4044
test-scope: ${{ matrix.test-scope }}

.github/workflows/gh-build.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,28 @@ on:
66
build-target:
77
required: true
88
type: string
9+
description: One of CPU / GPU
10+
repos-name:
11+
required: true
12+
type: string
913
runs-on:
1014
required: true
1115
type: string
1216
sha:
1317
required: true
1418
type: string
19+
description: A unique identifier for labeling the images / artifacts
20+
build-type:
21+
required: true
22+
type: string
23+
description: One of ci / release
1524

1625
env:
1726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1827
BASE_IMAGE: rapidsai/devcontainers:23.06-cpp-mambaforge-ubuntu22.04
19-
IMAGE_NAME: legate.core-${{ inputs.build-target }}
28+
IMAGE_NAME: ${{ inputs.repos-name }}-${{ inputs.build-target }}
2029
USE_CUDA: ${{ (inputs.build-target == 'cpu' && 'OFF') || 'ON' }}
30+
PUSH_IMAGE: ${{ inputs.build-type == 'ci' && 'true' || 'false'}}
2131

2232
jobs:
2333
build:
@@ -31,7 +41,7 @@ jobs:
3141
runs-on: ${{ inputs.runs-on }}
3242

3343
steps:
34-
- name: Checkout legate.core (= this repo)
44+
- name: Checkout ${{ inputs.repos-name }} (= this repo)
3545
uses: actions/checkout@v3
3646
with:
3747
fetch-depth: 0
@@ -51,29 +61,26 @@ jobs:
5161
5262
- name: Build docker image
5363
run: |
54-
echo BUILD_TARGET: ${{ inputs.build-target }}
55-
echo USE_CUDA: ${{ env.USE_CUDA }}
56-
5764
IMAGE_TAG=${{ env.IMAGE_NAME }}:${{ inputs.sha }}
5865
5966
continuous_integration/build-docker-image \
6067
--base-image "$BASE_IMAGE" \
6168
--image-tag "$IMAGE_TAG" \
62-
--source-dir .
69+
--use-cuda "$USE_CUDA" \
70+
--source-dir . \
71+
--build-type "${{ inputs.build-type }}"
6372
6473
- name: Dump docker history of image before upload
6574
run: |
6675
IMAGE_TAG=${{ env.IMAGE_NAME }}:${{ inputs.sha }}
6776
docker history $IMAGE_TAG
6877
69-
- name: Dump docker history of image before upload
70-
run: |
71-
IMAGE_TAG=${{ env.IMAGE_NAME_CUNUMERIC }}:${{ inputs.sha }}
72-
73-
- name: Log in to container image registry
78+
- if: env.PUSH_IMAGE == 'true'
79+
name: Log in to container image registry
7480
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
7581

76-
- name: Push image
82+
- if: env.PUSH_IMAGE == 'true'
83+
name: Push image
7784
run: |
7885
IMAGE_TAG=${{ env.IMAGE_NAME }}:${{ inputs.sha }}
7986
@@ -91,14 +98,13 @@ jobs:
9198
run: |
9299
IMAGE_TAG=${{ env.IMAGE_NAME }}:${{ inputs.sha }}
93100
mkdir -p artifacts
94-
docker run -v "$(pwd)/artifacts:/home/coder/.artifacts" --rm -t $IMAGE_TAG copy-artifacts
95-
101+
docker run -v "$(pwd)/artifacts:/home/coder/.artifacts" --rm -t $IMAGE_TAG copy-artifacts ${{ inputs.build-type }}
96102
97103
- name: Display structure of workdir
98104
run: ls -R
99105

100106
- name: Upload build artifacts
101107
uses: actions/upload-artifact@v3
102108
with:
103-
name: "legate.core-${{ inputs.build-target }}-${{ inputs.sha }}"
109+
name: "${{ inputs.repos-name }}-${{ inputs.build-target }}-${{ inputs.sha }}"
104110
path: artifacts

.github/workflows/gh-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
build-target:
77
required: true
88
type: string
9+
repos-name:
10+
required: true
11+
type: string
912
runs-on:
1013
required: true
1114
type: string
@@ -23,7 +26,7 @@ jobs:
2326
runs-on: ${{ inputs.runs-on }}
2427
container:
2528
options: -u root
26-
image: ghcr.io/nv-legate/legate.core-${{ inputs.build-target }}:${{ inputs.sha }}
29+
image: ghcr.io/nv-legate/${{ inputs.repos-name }}-${{ inputs.build-target }}:${{ inputs.sha }}
2730
env:
2831
PYTHONDONTWRITEBYTECODE: 1
2932
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ repos:
44
hooks:
55
- id: isort
66
- repo: https://github.com/psf/black
7-
rev: 23.3.0
7+
rev: 23.9.1
88
hooks:
99
- id: black
1010
- repo: https://github.com/PyCQA/flake8
11-
rev: 6.0.0
11+
rev: 6.1.0
1212
hooks:
1313
- id: flake8
1414
- repo: https://github.com/pre-commit/mirrors-clang-format
@@ -18,7 +18,7 @@ repos:
1818
files: \.(cu|cuh|h|cc|inl)$
1919
types_or: []
2020
- repo: https://github.com/pre-commit/mirrors-mypy
21-
rev: 'v1.4.1'
21+
rev: 'v1.5.1'
2222
hooks:
2323
- id: mypy
2424
pass_filenames: false

0 commit comments

Comments
 (0)