Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,102 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.5.0] - 2025-06-06

## What's Changed
### Added
* Add platform-specific constraints to setup.cfg (#8260)
* Add PythonicWorkflow (#8151)
* Add SM architecture version check (#8199)
* Add MedNext implementation (#8004)
* Added a top button to CONSTRIBUTING.md (#8163)
* Adding CODEOWNERS (#8457)
* Restormer Implementation (#8312)
* Add rectified flow noise scheduler for accelerated diffusion model (#8374)
* Add prediction type for rflow scheduler (#8386)
* Add Average Precision to metrics (#8089)
* Implementation of a Masked Autoencoder for representation learning (#8152)
* Implement TorchIO transforms wrapper analogous to TorchVision transfo… (#7579)
* 8328 nnunet bundle integration (#8329)
* Adding Support Policy + Doc Updates (#8458)
* Classifier free guidance (#8460)

### Fixed
* Fix Ruff Numpy2 deprecation rules (#8179)
* Fix `torch.load()` frequently warning in PersistentDataset and GDSDataset (#8177)
* Fix the logging of a nested dictionary metric in MLflow (#8169)
* Fix ImageFilter to allow Gaussian filter without filter_size (#8189)
* Fix fold_constants, test_handler switched to onnx (#8211)
* Fix TypeError in meshgrid (#8252)
* Fix PatchMerging duplicate merging (#8285)
* Fix test load image issue (#8297)
* Fix bundle download error from ngc source (#8307)
* Fix deprecated usage in zarr (#8313)
* Fix DataFrame subsets indexing in CSVDataset() (#8351)
* Fix `packaging` imports in version comparison logic (#8347)
* Fix CommonKeys docstring (#8342)
* Fix: correctly apply fftshift to real-valued data inputs (#8407)
* Fix OptionalImportError: required package `openslide` is not installed (#8419)
* Fix cosine noise scheduler (#8427)
* Fix AutoencoderKL docstrings. (#8445)
* Inverse Threading Fix (#8418)
* Fix normalize intensity (#8286)
* Fix path at test onnx trt export (#8361)

### Changed
* [DOC] Update README.md (#8157)
* Streamlined Rearrange in SpatialAttentionBlock (#8130)
* Optimize VISTA3D (#8123)
* Skip torch trt convert test with torch newer than or equal to 2.5.0 (#8165)
* Enable redirection of all loggers by configuring a FileHandler within the bundle (#8142)
* Apply pyupgrade fixes for Python 3.9+ syntax (#8150)
* Update base image to 2410 (#8164)
* TRT support for MAISI (#8153)
* 8134 Add unit test for responsive inference (#8146)
* SwinUNETR refactor to accept additional parameters (#8212)
* Allow an arbitrary mask to be used in the self attention (#8235)
* Bump codecov/codecov-action from 4 to 5 (#8245)
* Docs: update brats classes description (#8246)
* Change default value of `patch_norm` to False in `SwinUNETR` (#8249)
* Modify Dice, Jaccard and Tversky losses (#8138)
* Modify Workflow to Allow IterableDataset Inputs (#8263)
* Enhance download_and_extract (#8216)
* Relax gpu load check (#8282, #8275)
* Using LocalStore in Zarr v3 (#8299)
* Enable gpu load nifti (#8188)
* update pydicom reader to enable gpu load (#8283)
* Zarr compression tests only with versions before 3.0 (#8319)
* Changing utils.py to test_utils.py (#8335)
* Refactor testd (#8231)
* Recursive Item Mapping for Nested Lists in Compose (#8187)
* Bump min torch to 1.13.1 to mitigate CVE-2022-45907 unsafe usage of eval (#8296)
* Inferer modification - save_intermediates clashes with latent shape adjustment in latent diffusion inferers (#8343)
* Solves path problem in test_bundle_trt_export.py (#8357)
* Modify ControlNet inferer so that it takes in context when the diffus… (#8360)
* Update monaihosting download method (#8364)
* Bump torch minimum to mitigate CVE-2024-31580 & CVE-2024-31583 and enable numpy 2 compatibility (#8368)
* Auto3DSeg algo_template hash update (#8378)
* Enable Pytorch 2.6 (#8309)
* Auto3DSeg algo_template hash update (#8393, #8397)
* Update Dice Metric Docs (#8388)
* Auto3DSeg algo_template hash update (#8406)
* Update bundle download API (#8403)
* Add Skip test in TestTranschex (#8416)
* Update get latest bundle version function (#8420)
* Temporarily Restrict setuptools Version to 79.0.1 (#8441)
* Update default overlap value in occlusion_sensitivity to 0.6 (#8446)
* Enable code coverage comments on PRs in codecov configuration (#8402)
* Migrate to modern Python Logger API (#8449)

### Deprecated
### Removed
* Remove deprecated functionality for v1.5 (#8430)
* Remove deprecated `return_state_dict ` in bundle `load` (#8454)
* Remove deprecated `net_name` in test file (#8461)
* Remove unused test cases in bundle load (#8463)
* selfattention block: Remove the fc linear layer if it is not used (#8325)
* Removed outdated `torch` version checks from transform functions (#8359)

## [1.4.0] - 2024-10-17
## What's Changed
### Added
Expand Down
Binary file added docs/images/maisi_infer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ What's New
.. toctree::
:maxdepth: 1

whatsnew_1_5.md
whatsnew_1_4.md
whatsnew_1_3.md
whatsnew_1_2.md
Expand Down
2 changes: 1 addition & 1 deletion docs/source/whatsnew_1_4.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# What's new in 1.4 🎉🎉
# What's new in 1.4

- MAISI: state-of-the-art 3D Latent Diffusion Model
- VISTA-3D: interactive foundation model for segmenting and anotating human anatomies
Expand Down
56 changes: 56 additions & 0 deletions docs/source/whatsnew_1_5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

# What's new in 1.5 🎉🎉

- Support numpy 2.x and Pytorch 2.6
- MAISI inference accelerate
- Bundles storage changed to huggingface and correspoinding api updated in core
- Ported remaining generative tutorials and bundles
- New tutorials:
- [2d_regression/image_restoration.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/2d_regression/image_restoration.ipynb)
- [generation/2d_diffusion_autoencoder/2d_diffusion_autoencoder_tutorial.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/generation/2d_diffusion_autoencoder/2d_diffusion_autoencoder_tutorial.ipynb)
- [generation/3d_ddpm/3d_ddpm_tutorial.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/generation/3d_ddpm/3d_ddpm_tutorial.ipynb)
- [generation/classifier_free_guidance/2d_ddpm_classifier_free_guidance_tutorial.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/generation/classifier_free_guidance/2d_ddpm_classifier_free_guidance_tutorial.ipynb)
- [hugging_face/finetune_vista3d_for_hugging_face_pipeline.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/hugging_face/finetune_vista3d_for_hugging_face_pipeline.ipynb)
- [hugging_face/hugging_face_pipeline_for_monai.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/hugging_face/hugging_face_pipeline_for_monai.ipynb)
- [modules/omniverse/omniverse_integration.ipynb](https://github.com/Project-MONAI/tutorials/blob/main/modules/omniverse/omniverse_integration.ipynb)
- New Bundles:
- [models/cxr_image_synthesis_latent_diffusion_model](https://github.com/Project-MONAI/model-zoo/blob/dev/models/cxr_image_synthesis_latent_diffusion_model)
- [models/mednist_ddpm](https://github.com/Project-MONAI/model-zoo/blob/dev/models/mednist_ddpm)
- [models/brain_image_synthesis_latent_diffusion_model](https://github.com/Project-MONAI/model-zoo/blob/dev/models/mednist_ddpm)
- [hf_models/exaonepath-crc-msi-predictor](https://github.com/Project-MONAI/model-zoo/blob/dev/hf_models/exaonepath-crc-msi-predictor)
- All existing bundles are also now [hosted on Huggingface](https://huggingface.co/MONAI)!

## Supported Dependency Versions

This release adds support for NumPy 2.0 and PyTorch 2.6. We plan to add support for PyTorch 2.7 in an upcoming version once some compatibility issues have been addressed.

As stated in the updated [README.md](https://github.com/Project-MONAI/MONAI/blob/main/README.md) file, MONAI's policy for the support of dependency versions has been updated for clarity.

MONAI will continue to support [currently supported versions of Python](https://devguide.python.org/versions), and for other dependencies the following apply:

* Major releases of MONAI will have dependency versions stated for them. The current state of the `dev` branch in this repository is the unreleased development version of MONAI which typically will support current versions of dependencies and include updates and bug fixes to do so.
* PyTorch support covers [the current version](https://github.com/pytorch/pytorch/releases) plus three previous minor versions. If compatibility issues with a PyTorch version and other dependencies arise, support for a version may be delayed until a major release.
* Our support policy for other dependencies adheres for the most part to [SPEC0](https://scientific-python.org/specs/spec-0000), where dependency versions are supported where possible for up to two years. Discovered vulnerabilities or defects may require certain versions to be explicitly not supported.
* See the `requirements*.txt` files for dependency version information.

## MAISI Update: Introducing MAISI Version maisi3d-rflow

![maisi](../images/maisi_infer.png)

We are excited to announce the release of MAISI Version _maisi3d-rflow_. This update brings significant improvements over the previous version, _maisi3d-ddpm_, with a remarkable 33x acceleration in latent diffusion model inference speed. The MAISI VAE remains unchanged. Here are the key differences:
1. Scheduler Update:

* _maisi3d-ddpm_: Uses the basic DDPM noise scheduler.

* _maisi3d-rflow_: Introduces the Rectified Flow scheduler, allowing diffusion model inference to be 33 times faster.
2. Training Data Preparation:

* _maisi3d-ddpm_: Requires training images to be labeled with body regions (specifically “top_region_index” and “bottom_region_index”).

* _maisi3d-rflow_: No such labeling is required, making it easier to prepare the training data.
3. Image Quality:

* For the released model weights, _maisi3d-rflow_ generates better-quality images for head regions and smaller output volumes compared to _maisi3d-ddpm_. For other regions, the image quality is comparable.
4. Modality Input:

* _maisi3d-rflow_ adds a new modality input to the diffusion model, offering flexibility for future extensions to other modalities. Currently, this input is set to always equal 1, as this version supports CT generation exclusively.
Loading