Skip to main content

MONAI Integration

Objective

Integration with MONAI's federated learning capabilities.

Add ClientAlgoExecutor class to allow using MONAI's ClientAlgo class in federated scenarios.

Goals:

Allow the use of bundles from the MONAI model zoo or custom configurations with NVFlare.

Background

MONAI allows the definition of AI models using the "bundle" concept. It allows for easy experimentation and sharing of models that have been developed using MONAI. Using the bundle configurations, we can use MONAI's MonaiAlgo (the implementation of ClientAlgo) to execute a bundle model in a federated scenario using NVFlare.

Federated Learning Module in MONAI (https://docs.monai.io/en/stable/modules.html#federated-learning)

Description

NVFlare executes the ClientAlgo class using the ClientAlgoExecutor class provided with this package.

Examples

For an example of using NVIDIA FLARE to train a medical image analysis model using federated averaging (FedAvg) and MONAI Bundle, see the examples.

Requirements

We recommend following the instructions for setting up a virtual environment, and using it in JupyterLab for running the notebooks the MONAI integration examples.

Install MONAI-NVFlare integration from PyPI:

pip install monai_nvflare

(Optional) Install MONAI-NVFlare integration from source:

pip install -e .

Metadata

Release files for monai-nvflare 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for monai-nvflare 0.4.0
File Interpreter ABI Platform
monai_nvflare-0.4.0-py3-none-any.whl Python 3 none any Details

Release files / monai_nvflare-0.4.0-py3-none-any.whl

Download URL monai_nvflare-0.4.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4026f7b120b8ae4dd862ac206c71c80069a8a2a3f8550bf3a013ab7c838a9f8c
BLAKE2b-256 checksum
How to use checksums
113ce7d737a1701eea774a51a7d66b904b952673501eaad66388fee5a3f31283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for monai-nvflare 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page