Skip to content

Commit 356956a

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into 8587-test-erros-on-pytorch-release-2508-on-series-50
DCO Remediation Commit for R. Garcia-Dias <rafaelagd@gmail.com> I, R. Garcia-Dias <rafaelagd@gmail.com>, hereby add my Signed-off-by to this commit: ba56a6d I, R. Garcia-Dias <rafaelagd@gmail.com>, hereby add my Signed-off-by to this commit: 09c2cd9 I, R. Garcia-Dias <rafaelagd@gmail.com>, hereby add my Signed-off-by to this commit: 7cd0607 Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>
2 parents 36e2623 + daaedaa commit 356956a

File tree

396 files changed

+11608
-3746
lines changed

Some content is hidden

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

396 files changed

+11608
-3746
lines changed

.coderabbit.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
3+
# This file configures CodeRabbit with the various options described in https://docs.coderabbit.ai/configure-coderabbit.
4+
# CodeRabbit also has a set of commands here: https://docs.coderabbit.ai/guides/commands/
5+
6+
language: "en-US"
7+
early_access: false
8+
tone_instructions: "Be terse and to the point in all statements and commentary."
9+
reviews:
10+
# chill is less verbose, assertive is more verbose with more nitpick feedback
11+
profile: chill
12+
high_level_summary: false
13+
high_level_summary_placeholder: "@coderabbitai summary"
14+
sequence_diagrams: false
15+
auto_apply_labels: false
16+
suggested_reviewers: false
17+
changed_files_summary: false
18+
suggested_labels: false
19+
abort_on_close: true
20+
poem: false
21+
path_instructions:
22+
- path: '**/*.md'
23+
instructions: Remember that documentation must be updated with the latest information.
24+
- path: '**/*.rst'
25+
instructions: Remember that documentation must be updated with the latest information.
26+
- path: '**/*.py'
27+
instructions: >-
28+
Review the Python code for quality and correctness. Ensure variable names adhere to PEP8 style guides, are
29+
sensible and informative in regards to their function, though permitting simple names for loop and comprehension
30+
variables. Ensure routine names are meaningful in regards to their function and use verbs, adjectives, and
31+
nouns in a semantically appropriate way. Docstrings should be present for all definition which describe each
32+
variable, return value, and raised exception in the appropriate section of the Google-style of docstrings.
33+
Examine code for logical error or inconsistencies, and suggest what may be changed to addressed these. Suggest
34+
any enhancements for code improving efficiency, maintainability, comprehensibility, and correctness. Ensure new
35+
or modified definitions will be covered by existing or new unit tests.
36+
37+
auto_review:
38+
# Automatic Review | Automatic code review
39+
enabled: true
40+
# Review draft PRs/MRs.
41+
drafts: false
42+
# ignore PRs with these in the title, these sorts of PRs should be drafts anyway
43+
ignore_title_keywords:
44+
- "WIP"
45+
- "DO NOT MERGE"
46+
47+
# opt out for now until it's clear this isn't too much info and is useful
48+
knowledge_base:
49+
opt_out: true
50+
51+
# chat is allowed
52+
chat:
53+
auto_reply: true

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
__pycache__/
44
docs/
55

6+
.vscode
7+
.git
8+
.mypy_cache
9+
.ruff_cache
10+
.pytype
611
.coverage
712
.coverage.*
813
.coverage/
914
coverage.xml
1015
.readthedocs.yml
11-
*.toml
1216

1317
!README.md

.github/CODEOWNERS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/monai/ @KumoLiu @ericspod @Nic-Ma
2+
/docs/ @KumoLiu @ericspod @Nic-Ma
3+
/tests/ @KumoLiu @ericspod @Nic-Ma
4+
/.github/ @KumoLiu
5+
/monai/networks/schedulers/ @virginiafdez
6+
/monai/inferers/inferer.py @virginiafdez
7+
/monai/losses/adversarial_loss.py @virginiafdez
8+
/monai/losses/perceptual.py @virginiafdez
9+
/monai/networks/blocks/spade_norm.py @virginiafdez
10+
/monai/networks/nets/autoencoderkl.py @virginiafdez
11+
/monai/networks/nets/controlnet.py @virginiafdez
12+
/monai/networks/nets/diffusion_model_unet.py @virginiafdez
13+
/monai/networks/nets/patchgan_discriminator.py @virginiafdez
14+
/monai/networks/nets/spade_autoencoderkl.py @virginiafdez
15+
/monai/networks/nets/spade_diffusion_model_unet.py @virginiafdez
16+
/monai/networks/nets/spade_network.py @virginiafdez
17+
/monai/networks/nets/vqvae.py @virginiafdez

.github/codecov.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ coverage:
2424
flags: null
2525
paths: null
2626

27-
# Disable comments on PR
28-
comment: false
27+
comment: # enable code coverage comment on PR
28+
layout: "diff, flags, files"
29+
behavior: default
30+
require_changes: false
31+
require_base: false
32+
require_head: true
33+
hide_project_coverage: true
2934

3035
ignore:
3136
- "versioneer.py"

.github/workflows/chatops.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: dispatch
13-
uses: peter-evans/slash-command-dispatch@v4.0.0
13+
uses: peter-evans/slash-command-dispatch@v5.0.2
1414
with:
1515
token: ${{ secrets.PR_MAINTAIN }}
1616
reaction-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v4
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -72,4 +72,4 @@ jobs:
7272
BUILD_MONAI=1 ./runtests.sh --build
7373
7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v3
75+
uses: github/codeql-action/analyze@v4

.github/workflows/conda.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ jobs:
2121
os: [ubuntu-latest]
2222
python-version: ["3.9", "3.10"]
2323
runs-on: ${{ matrix.os }}
24+
timeout-minutes: 46 # equal to max + 3*std over the last 600 successful runs
2425
env:
2526
QUICKTEST: True
2627
steps:
2728
- if: runner.os == 'windows'
2829
name: Config pagefile (Windows only)
29-
uses: al-cheb/configure-pagefile-action@v1.4
30+
uses: al-cheb/configure-pagefile-action@v1.5
3031
with:
3132
minimum-size: 8GB
3233
maximum-size: 16GB
3334
disk-root: "D:"
34-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3536
- name: Clean up disk space
3637
run: |
3738
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;

.github/workflows/cron-ngc-bundle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
if: github.repository == 'Project-MONAI/MONAI'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Set up Python 3.9
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.9'
2525
- name: cache weekly timestamp
2626
id: pip-cache
2727
run: echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT
2828
- name: cache for pip
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
id: cache
3131
with:
3232
path: ~/.cache/pip

.github/workflows/cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
options: "--gpus all"
3333
runs-on: [self-hosted, linux, x64, common]
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3636
- name: apt install
3737
run: |
3838
apt-get update
@@ -82,7 +82,7 @@ jobs:
8282
options: "--gpus all"
8383
runs-on: [self-hosted, linux, x64, integration]
8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v6
8686
- name: Install APT dependencies
8787
run: |
8888
apt-get update
@@ -131,7 +131,7 @@ jobs:
131131
options: "--gpus all"
132132
runs-on: [self-hosted, linux, x64, integration]
133133
steps:
134-
- uses: actions/checkout@v4
134+
- uses: actions/checkout@v6
135135
with:
136136
fetch-depth: 0
137137
- name: Install the dependencies
@@ -233,7 +233,7 @@ jobs:
233233
options: "--gpus all --ipc=host"
234234
runs-on: [self-hosted, linux, x64, integration]
235235
steps:
236-
- uses: actions/checkout@v4
236+
- uses: actions/checkout@v6
237237
- name: Install MONAI
238238
id: monai-install
239239
run: |

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
if: ${{ false }} # disable docker build job project-monai/monai#7450
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
# full history so that we can git describe
2626
with:
2727
ref: dev
2828
fetch-depth: 0
2929
- name: Set up Python 3.9
30-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3131
with:
3232
python-version: '3.9'
3333
- shell: bash
@@ -37,7 +37,7 @@ jobs:
3737
python setup.py build
3838
cat build/lib/monai/_version.py
3939
- name: Upload version
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v6
4141
with:
4242
name: _version.py
4343
path: build/lib/monai/_version.py
@@ -53,11 +53,11 @@ jobs:
5353
needs: versioning_dev
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v6
5757
with:
5858
ref: dev
5959
- name: Download version
60-
uses: actions/download-artifact@v4
60+
uses: actions/download-artifact@v6
6161
with:
6262
name: _version.py
6363
- name: docker_build

0 commit comments

Comments
 (0)