MCPcopy Index your code
hub / github.com/NVIDIA/NVFlare

github.com/NVIDIA/NVFlare @2.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.8.0 ↗ · + Follow
22,917 symbols 108,512 edges 2,616 files 6,027 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

NVIDIA Logo

NVIDIA FLARE

Website | Paper | Blogs | Talks & Papers | Webinars | Research | Documentation

Blossom-CI documentation license pypi pyversion downloads Ask DeepWiki

NVIDIA FLARE (NVIDIA Federated Learning Application Runtime Environment) is a domain-agnostic, open-source, extensible Python SDK that allows researchers and data scientists to adapt existing ML/DL workflows to a federated paradigm. It enables platform developers to build a secure, privacy-preserving offering for a distributed multi-party collaboration.

Features

FLARE is built on a componentized architecture that allows you to take federated learning workloads from research and simulation to real-world production deployment.

Application Features * Support both deep learning and traditional machine learning algorithms (e.g., PyTorch, TensorFlow, scikit-learn, XGBoost, etc.) * Support horizontal and vertical federated learning * Built-in Federated Learning algorithms (e.g., FedAvg, FedProx, FedOpt, Scaffold, Ditto, etc.) * Support multiple server and client-controlled training workflows (e.g., scatter & gather, cyclic) and validation workflows (global model evaluation, cross-site validation) * Support both data analytics (federated statistics) and machine learning lifecycle management * Privacy preservation with differential privacy, homomorphic encryption, private set intersection (PSI)

From Simulation to Real-World * FLARE Client API to transition seamlessly from ML/DL to FL with minimal code changes * Simulator and POC mode for rapid development and prototyping * Fully customizable and extensible components with modular design * Deployment on cloud and on-premise * Dashboard for project management and deployment * Security enforcement through federated authorization and privacy policy * Built-in support for system resiliency and fault tolerance

Take a look at NVIDIA FLARE Overview for a complete overview, and What's New for the latest changes.

Installation

To install the current release:

$ python -m pip install nvflare

For detailed installation please refer to NVIDIA FLARE installation.

Getting Started

  • To get started, refer to the Quick Start documentation

  • Structured, self-paced learning is available through curated tutorials and training paths on the website.

  • DLI courses:
    • https://learn.nvidia.com/courses/course-detail?course_id=course-v1:DLI+S-FX-28+V1
    • https://learn.nvidia.com/courses/course-detail?course_id=course-v1:DLI+S-FX-29+V1
  • Visit the developer portal.

Community

We welcome community contributions! Please refer to the contributing guidelines for more details.

Ask and answer questions, share ideas, and engage with other community members at NVFlare Discussions.

Related Talks and Publications

Take a look at our growing list of talks and publications, and technical blogs related to NVIDIA FLARE.

License

NVIDIA FLARE is released under an Apache 2.0 license.

Extension points exported contracts — how you extend this code

Dataset (Interface)
* Interface for datasets that provide training data. */
examples/advanced/edge/mobile/android/sdk/core/Interfaces.kt
AppCardProps (Interface)
(no doc)
examples/tutorials/self-paced-training/part-5_federated_learning_applications_in_industries/chapter-11_federated_learning_in_healthcare_lifescience/11.3_medical_devices/code/visualization/frontend/analytics-dashboard/src/app/components/AppCard.tsx
DataSource (Interface)
* Interface for data sources that provide datasets. */
examples/advanced/edge/mobile/android/sdk/core/Interfaces.kt
HoloscanSet (Interface)
(no doc)
examples/tutorials/self-paced-training/part-5_federated_learning_applications_in_industries/chapter-11_federated_learning_in_healthcare_lifescience/11.3_medical_devices/code/visualization/frontend/analytics-dashboard/src/app/stats/[app_name]/types.ts
Executor (Interface)
* Interface for executors that perform training tasks. */
examples/advanced/edge/mobile/android/sdk/core/Interfaces.kt
GlobalMetrics (Interface)
(no doc)
examples/tutorials/self-paced-training/part-5_federated_learning_applications_in_industries/chapter-11_federated_learning_in_healthcare_lifescience/11.3_medical_devices/code/visualization/frontend/analytics-dashboard/src/app/stats/[app_name]/types.ts
TreeNode (Interface)
(no doc)
examples/tutorials/self-paced-training/part-5_federated_learning_applications_in_industries/chapter-11_federated_learning_in_healthcare_lifescience/11.3_medical_devices/code/visualization/frontend/analytics-dashboard/src/app/stats/[app_name]/types.ts
DataTree (Interface)
(no doc)
examples/tutorials/self-paced-training/part-5_federated_learning_applications_in_industries/chapter-11_federated_learning_in_healthcare_lifescience/11.3_medical_devices/code/visualization/frontend/analytics-dashboard/src/app/stats/[app_name]/types.ts

Core symbols most depended-on inside this repo

join
called by 2407
nvflare/fuel/common/fqn.py
get
called by 2206
nvflare/app_opt/pt/lazy_tensor_dict.py
append
called by 1367
nvflare/fuel/f3/drivers/grpc/qq.py
patch
called by 1221
nvflight/build_wheel.py
log_info
called by 960
nvflare/apis/fl_component.py
to
called by 836
nvflare/job_config/api.py
items
called by 758
nvflare/app_opt/pt/lazy_tensor_dict.py
make_reply
called by 556
nvflare/apis/shareable.py

Shape

Method 13,419
Function 6,249
Class 3,067
Route 172
Interface 10

Languages

Python92%
TypeScript7%
Kotlin1%
C++1%

Modules by API surface

nvflare/dashboard/application/static/nvflare-dashboard/_next/static/chunks/framework-e952fed463eb8e34.js334 symbols
tests/unit_test/tool/cert/cert_commands_test.py284 symbols
nvflare/dashboard/application/static/nvflare-dashboard/_next/static/chunks/787-e467f23eeb544086.js262 symbols
tests/unit_test/tool/package/package_commands_test.py246 symbols
tests/unit_test/app_opt/job_launcher/k8s_launcher_test.py217 symbols
nvflare/dashboard/application/static/nvflare-dashboard/_next/static/chunks/polyfills-42372ed130431b0a.js212 symbols
tests/unit_test/private/fed/server/job_cmds_test.py167 symbols
nvflare/dashboard/application/static/nvflare-dashboard/_next/static/chunks/539-50d9b33199618994.js151 symbols
tests/unit_test/app_common/executors/client_api_launcher_executor_test.py142 symbols
nvflare/tool/job/job_cli.py131 symbols
tests/unit_test/apis/impl/controller_test.py124 symbols
nvflare/tool/poc/poc_commands.py123 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add NVFlare \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact