Skip to content

Commit f066edf

Browse files
authored
Merge branch 'Project-MONAI:dev' into dev
2 parents 07f10b6 + 0968da2 commit f066edf

File tree

151 files changed

+2807
-1868
lines changed

Some content is hidden

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

151 files changed

+2807
-1868
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

.github/workflows/conda.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ 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:

.github/workflows/pythonapp-min.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
strategy:
125125
fail-fast: false
126126
matrix:
127-
pytorch-version: ['2.4.1', '2.5.1', '2.6.0'] # FIXME: add 'latest' back once PyTorch 2.7 issues are resolved
127+
pytorch-version: ['2.5.1', '2.6.0', '2.7.1', '2.8.0']
128128
timeout-minutes: 40
129129
steps:
130130
- uses: actions/checkout@v4
@@ -151,11 +151,7 @@ jobs:
151151
- name: Install the dependencies
152152
run: |
153153
# min. requirements
154-
if [ ${{ matrix.pytorch-version }} == "latest" ]; then
155-
python -m pip install torch
156-
else
157-
python -m pip install torch==${{ matrix.pytorch-version }}
158-
fi
154+
python -m pip install torch==${{ matrix.pytorch-version }}
159155
python -m pip install -r requirements-min.txt
160156
python -m pip list
161157
BUILD_MONAI=0 python setup.py develop # no compile of extensions

.github/workflows/pythonapp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- if: runner.os == 'windows'
9595
name: Install torch cpu from pytorch.org (Windows only)
9696
run: |
97-
python -m pip install torch==2.4.1 torchvision==0.19.1+cpu --index-url https://download.pytorch.org/whl/cpu
97+
python -m pip install torch==2.5.1 torchvision==0.20.1+cpu --index-url https://download.pytorch.org/whl/cpu
9898
- if: runner.os == 'Linux'
9999
name: Install itk pre-release (Linux only)
100100
run: |
@@ -103,7 +103,7 @@ jobs:
103103
- name: Install the dependencies
104104
run: |
105105
python -m pip install --user --upgrade pip wheel
106-
python -m pip install torch==2.4.1 torchvision==0.19.1
106+
python -m pip install torch==2.5.1 torchvision==0.20.1
107107
cat "requirements-dev.txt"
108108
python -m pip install -r requirements-dev.txt
109109
python -m pip list
@@ -155,7 +155,7 @@ jobs:
155155
# install the latest pytorch for testing
156156
# however, "pip install monai*.tar.gz" will build cpp/cuda with an isolated
157157
# fresh torch installation according to pyproject.toml
158-
python -m pip install torch>=2.4.1 torchvision
158+
python -m pip install torch>=2.5.1 torchvision
159159
- name: Check packages
160160
run: |
161161
pip uninstall monai

.github/workflows/weekly-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
export YEAR_WEEK=$(date +'%y%U')
6767
echo "Year week for tag is ${YEAR_WEEK}"
6868
if ! [[ $YEAR_WEEK =~ ^[0-9]{4}$ ]] ; then echo "Wrong 'year week' format. Should be 4 digits."; exit 1 ; fi
69-
git tag "1.5.dev${YEAR_WEEK}"
69+
git tag "1.6.dev${YEAR_WEEK}"
7070
git log -1
7171
git tag --list
7272
python setup.py sdist bdist_wheel

CHANGELOG.md

Lines changed: 99 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,103 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

66
## [Unreleased]
77

8+
## [1.5.0] - 2025-06-13
9+
10+
## What's Changed
11+
### Added
12+
* Add platform-specific constraints to setup.cfg (#8260)
13+
* Add PythonicWorkflow (#8151)
14+
* Add SM architecture version check (#8199)
15+
* Add MedNext implementation (#8004)
16+
* Added a top button to CONSTRIBUTING.md (#8163)
17+
* Adding CODEOWNERS (#8457)
18+
* Restormer Implementation (#8312)
19+
* Add rectified flow noise scheduler for accelerated diffusion model (#8374)
20+
* Add prediction type for rflow scheduler (#8386)
21+
* Add Average Precision to metrics (#8089)
22+
* Implementation of a Masked Autoencoder for representation learning (#8152)
23+
* Implement TorchIO transforms wrapper analogous to TorchVision transfo… (#7579)
24+
* 8328 nnunet bundle integration (#8329)
25+
* Adding Support Policy + Doc Updates (#8458)
26+
* Classifier free guidance (#8460)
27+
28+
### Fixed
29+
* Fix Ruff Numpy2 deprecation rules (#8179)
30+
* Fix `torch.load()` frequently warning in PersistentDataset and GDSDataset (#8177)
31+
* Fix the logging of a nested dictionary metric in MLflow (#8169)
32+
* Fix ImageFilter to allow Gaussian filter without filter_size (#8189)
33+
* Fix fold_constants, test_handler switched to onnx (#8211)
34+
* Fix TypeError in meshgrid (#8252)
35+
* Fix PatchMerging duplicate merging (#8285)
36+
* Fix test load image issue (#8297)
37+
* Fix bundle download error from ngc source (#8307)
38+
* Fix deprecated usage in zarr (#8313, #8477)
39+
* Fix DataFrame subsets indexing in CSVDataset() (#8351)
40+
* Fix `packaging` imports in version comparison logic (#8347)
41+
* Fix CommonKeys docstring (#8342)
42+
* Fix: correctly apply fftshift to real-valued data inputs (#8407)
43+
* Fix OptionalImportError: required package `openslide` is not installed (#8419)
44+
* Fix cosine noise scheduler (#8427)
45+
* Fix AutoencoderKL docstrings. (#8445)
46+
* Inverse Threading Fix (#8418)
47+
* Fix normalize intensity (#8286)
48+
* Fix path at test onnx trt export (#8361)
49+
* Fix broken urls (#8481, #8483)
50+
51+
### Changed
52+
* [DOC] Update README.md (#8157)
53+
* Streamlined Rearrange in SpatialAttentionBlock (#8130)
54+
* Optimize VISTA3D (#8123)
55+
* Skip torch trt convert test with torch newer than or equal to 2.5.0 (#8165)
56+
* Enable redirection of all loggers by configuring a FileHandler within the bundle (#8142)
57+
* Apply pyupgrade fixes for Python 3.9+ syntax (#8150)
58+
* Update base image to 2410 (#8164)
59+
* TRT support for MAISI (#8153)
60+
* 8134 Add unit test for responsive inference (#8146)
61+
* SwinUNETR refactor to accept additional parameters (#8212)
62+
* Allow an arbitrary mask to be used in the self attention (#8235)
63+
* Bump codecov/codecov-action from 4 to 5 (#8245)
64+
* Docs: update brats classes description (#8246)
65+
* Change default value of `patch_norm` to False in `SwinUNETR` (#8249)
66+
* Modify Dice, Jaccard and Tversky losses (#8138)
67+
* Modify Workflow to Allow IterableDataset Inputs (#8263)
68+
* Enhance download_and_extract (#8216)
69+
* Relax gpu load check (#8282, #8275)
70+
* Using LocalStore in Zarr v3 (#8299)
71+
* Enable gpu load nifti (#8188)
72+
* update pydicom reader to enable gpu load (#8283)
73+
* Zarr compression tests only with versions before 3.0 (#8319)
74+
* Changing utils.py to test_utils.py (#8335)
75+
* Refactor testd (#8231)
76+
* Recursive Item Mapping for Nested Lists in Compose (#8187)
77+
* Bump min torch to 1.13.1 to mitigate CVE-2022-45907 unsafe usage of eval (#8296)
78+
* Inferer modification - save_intermediates clashes with latent shape adjustment in latent diffusion inferers (#8343)
79+
* Solves path problem in test_bundle_trt_export.py (#8357)
80+
* Modify ControlNet inferer so that it takes in context when the diffus… (#8360)
81+
* Update monaihosting download method (#8364)
82+
* Bump torch minimum to mitigate CVE-2024-31580 & CVE-2024-31583 and enable numpy 2 compatibility (#8368)
83+
* Auto3DSeg algo_template hash update (#8378)
84+
* Enable Pytorch 2.6 (#8309)
85+
* Auto3DSeg algo_template hash update (#8393, #8397)
86+
* Update Dice Metric Docs (#8388)
87+
* Auto3DSeg algo_template hash update (#8406)
88+
* Update bundle download API (#8403)
89+
* Add Skip test in TestTranschex (#8416)
90+
* Update get latest bundle version function (#8420)
91+
* Temporarily Restrict setuptools Version to 79.0.1 (#8441)
92+
* Update default overlap value in occlusion_sensitivity to 0.6 (#8446)
93+
* Enable code coverage comments on PRs in codecov configuration (#8402)
94+
* Migrate to modern Python Logger API (#8449)
95+
96+
### Deprecated
97+
### Removed
98+
* Remove deprecated functionality for v1.5 (#8430)
99+
* Remove deprecated `return_state_dict ` in bundle `load` (#8454)
100+
* Remove deprecated `net_name` in test file (#8461)
101+
* Remove unused test cases in bundle load (#8463)
102+
* selfattention block: Remove the fc linear layer if it is not used (#8325)
103+
* Removed outdated `torch` version checks from transform functions (#8359)
104+
8105
## [1.4.0] - 2024-10-17
9106
## What's Changed
10107
### Added
@@ -1132,7 +1229,8 @@ the postprocessing steps should be used before calling the metrics methods
11321229

11331230
[highlights]: https://github.com/Project-MONAI/MONAI/blob/master/docs/source/highlights.md
11341231

1135-
[Unreleased]: https://github.com/Project-MONAI/MONAI/compare/1.4.0...HEAD
1232+
[Unreleased]: https://github.com/Project-MONAI/MONAI/compare/1.5.0...HEAD
1233+
[1.5.0]: https://github.com/Project-MONAI/MONAI/compare/1.4.0...1.5.0
11361234
[1.4.0]: https://github.com/Project-MONAI/MONAI/compare/1.3.2...1.4.0
11371235
[1.3.2]: https://github.com/Project-MONAI/MONAI/compare/1.3.1...1.3.2
11381236
[1.3.1]: https://github.com/Project-MONAI/MONAI/compare/1.3.0...1.3.1

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ title: "MONAI: Medical Open Network for AI"
66
abstract: "AI Toolkit for Healthcare Imaging"
77
authors:
88
- name: "MONAI Consortium"
9-
date-released: 2024-10-17
10-
version: "1.4.0"
9+
date-released: 2025-06-13
10+
version: "1.5.0"
1111
identifiers:
1212
- description: "This DOI represents all versions of MONAI, and will always resolve to the latest one."
1313
type: doi

0 commit comments

Comments
 (0)