-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release note for v2.0.0 Signed-off-by: M Q <[email protected]> * Bump version: 1.0.0 → 2.0.0 Signed-off-by: M Q <[email protected]> --------- Signed-off-by: M Q <[email protected]>
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,13 @@ | |
:hidden: | ||
:maxdepth: 2 | ||
``` | ||
## Version 2.0 | ||
|
||
```{toctree} | ||
:maxdepth: 1 | ||
v2.0.0 | ||
``` | ||
## Version 1.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Version 1.0.0 (April 2024) | ||
|
||
## What's new in 1.0.0 | ||
App SDK has been migrated to be dependent on [NVIDIA Holoscan SDK](https://developer.nvidia.com/holoscan-sdk) since Version [v0.6](https://github.com/nvidia-holoscan/holoscan-sdk/releases) when breaking changes were introduced in some core class APIs. This version is a simple update of the App SDK to make use of the newly released Holoscan SDK v1.0.3, as well as bug fixes of a few known issues. | ||
|
||
### Key changes and migration guide | ||
|
||
- [CUDA 12](https://developer.nvidia.com/cuda-12-0-0-download-archive) is required along with a supported NVIDIA GPU with at least 8GB of video RAM. If AI inference is not used in the example application and a GPU is not installed, at least [CUDA 12 runtime](https://pypi.org/project/nvidia-cuda-runtime-cu12/) is required, as this is one of the requirements of Holoscan SDK, in addition, the `LIB_LIBRARY_PATH` must be set to include the installed shared library, e.g. in a Python 3.8 env, ```export LD_LIBRARY_PATH=`pwd`/.venv/lib/python3.8/site-packages/nvidia/cuda_runtime/lib:$LD_LIBRARY_PATH``` | ||
- Ubuntu 22.04 on X86-64 is required, similarly required by Holoscan SDK | ||
- The following is repeated from the V0.6 release note, for readers' convenience. | ||
- In App SDK core module, `monai.deploy.core`, instead of through a wrapper layer, Holoscan SDK core sub modules are all directly imported and exposed under`monai.deploy.core`, mixed in with the ones original to the App SDK. The same also applies to those modules, e.g., `conditions`, `executors`, `graphs`, `logger`, and `resources`. As such, the [Modudle API documentation](https://docs.monai.io/projects/monai-deploy-app-sdk/en/stable/modules/index.html) may show a mixture of `monai.deploy` and `holoscan`. | ||
|
||
- For `monai.deploy.operators`, Holoscan SDK built-in operators are selectively imported and exposed, with the main reason being to avoid introducing extra dependencies on system packages. All of the original and existing App SDK built-in operators are still present and migrated to be based on Holoscan SDK base `operator` class. | ||
|
||
- Python decorator support for `Application` and `Operator` class is absent in this release, so alternative approaches must be used | ||
- `Operator` input(s) and output(s) now must be defined in the `setup()` method of this class | ||
- `Application` and `Operator` cannot decorate or serve out the resource and package dependencies, which are required when packaging the application into MONAI Application Package. So the application developer must now provide the Python package requirement file and application configuration file when creating a MAP | ||
|
||
- Derived `Operator` class must first assign its attributes before calling the constructor of the base `Operator`. | ||
|
||
- `Application`'s `run()` method can no longer pass the file I/O paths, e.g. `input`, `output`, and `models`, to the execution context of each operator when its `compute()` method is called. For operators depending on them, the I/O paths need to be passed in as arguments in the constructor. | ||
|
||
- App SDK CLI, `monai-deploy`, no longer support `exec` sub-command. However, when directly running the application with Python, command line options for `--input`, `--output`, and `--model`, are supported if the application make use of the `Application`'s class method, `init_app_context(argv)`. | ||
|
||
- App SDK CLI packaging command, `monai-deploy package`, requires additional command line parameters, namely, application configuration yaml file, Python requirements file, and the platform configuration (as it supports both x86-64 and ARMv8 AArch64 targets). Details can be found in the tutorials and Users Guide. | ||
|
||
|
||
Please also see the <a href="https://github.com/Project-MONAI/monai-deploy-app-sdk/issues?q=is%3Aissue+is%3Aclosed">closed issues on Github</a> and the <a href="https://github.com/Project-MONAI/monai-deploy-app-sdk/pulls?q=is%3Apr+is%3Aclosed">closed pull requests on Github</a>. | ||
|
||
## Additional information | ||
Please visit [GETTING STARTED](/getting_started/index) guide and follow the tutorials. | ||
|
||
You can learn more about SDK usage through [DEVELOPING WITH SDK](/developing_with_sdk/index). | ||
|
||
Please let us know how you like it and what could be improved by [submitting an issue](https://github.com/Project-MONAI/monai-deploy-app-sdk/issues/new/choose) or [asking questions](https://github.com/Project-MONAI/monai-deploy-app-sdk/discussions) |