GitHub Hot Board

GitHub Hot Board · Depo arşivi

NVIDIA/NVFlare

NVIDIA Federated Learning Application Runtime Environment (Bu açıklama depodan gelir.)

Python#decentralized#federated-analytics#federated-computing

Veri tarihi October 27NVIDIA

En iyi sıra

#15

Canlı Kilometre Taşları

998

Toplam yıldız

299

Toplam fork

2

Son 30 günde sıralama günü

Lisans: Apache-2.0Son push: October 27Açık issue (PR dahil): 872026-10-25’ten beri toplanıyor; bilinmiyor = henüz toplanmadı

Panolarda 2 gün · 30 günde +2 yıldız · günde ~+12 gün üst üste

Proje belgeleri

NVIDIA Logo

NVIDIA FLARE

Build federated computing applications that collaborate across organizational and geographic boundaries while each site keeps control of its data and local execution.

Website | NVIDIA FLARE Developer Site | Documentation | Quick Start | Examples | Discussions

Paper | Blogs | Talks & Papers | Webinars | Research

Blossom-CI documentation license pypi pyversion downloads Ask DeepWiki

What is NVIDIA FLARE?

NVIDIA FLARE™ (NVIDIA Federated Learning Application Runtime Environment) is a domain-agnostic, open-source, extensible Python SDK for federated learning and other federated-computing applications. It coordinates approved local computation and exchanges application-defined results across independently controlled sites, while each site retains its source datasets and controls what results may leave.

Start with a small federated-learning example on your computer. Then adapt your training code or explore statistics, custom workflows, and deployment options.

How it works

Two hospitals train models on private local data and send model updates to a federated server, which aggregates them into a global model.

In this federated-learning workflow, the server sends a model to participating clients. Each client trains the model on its local data and returns model updates, keeping its source dataset local. The server aggregates the updates into a global model and repeats the process across training rounds.

The example below runs this workflow on your computer, with two simulated clients and a server.

Try it locally

Create and activate a fresh Python virtual environment as described in the installation guide, then choose one installation:

Released package, once NVFLARE 2.10.0 or later is available on PyPI:

python -m pip install "nvflare>=2.10.0"

Development version from main, including before the 2.10.0 release:

python -m pip install "git+https://github.com/NVIDIA/NVFlare.git@main"

The development option requires Git; pip manages a temporary checkout. main is the unstable development branch. Use a separate virtual environment for each installation. If you use an earlier stable release, follow its version of the Quick Start; the nvflare examples command was introduced in 2.10.0.

After either installation, retrieve the matching Hello PyTorch example, install its dependencies, and run it:

nvflare examples get hello-pt
cd hello-pt
python -m pip install -r requirements.txt
python job.py --log_config progress

This runs a two-client simulation on CPU using synthetic data; no dataset download is required. For other examples, retrieve a revision-matched copy with nvflare examples get. Add the extras the example's README names, such as HE, to the same NVFLARE installation, install its requirements.txt, then follow its README. If an older requirements.txt still has a line that installs nvflare or nvflare-nightly, skip it so the installed NVFLARE version is preserved.

The installed NVFLARE version selects the example version: nvflare examples get downloads the example from the source revision recorded in your installation. To reproduce a released version, pin that version when installing it. For download failures and GitHub rate limits, see the examples CLI guide.

Continue with the Quick Start for main to understand the run and inspect its results. If you use a released package, select its version in the documentation and follow the matching example README for dependencies, commands, and troubleshooting. The nvflare examples command requires NVFLARE 2.10.0 or later, or a development installation from main.

Choose your path

Start with the guide for the concept and supported workflow, then use a maintained example as the runnable reference.

Goal Read first Then run or adapt
Adapt existing training code Quick Start, then Agent Skills for supported projects or API selection for manual and custom integration Try the Agent Skills conversion examples, or use Hello PyTorch with the Client API and a Recipe
Fine-tune large language models Federated LLM guide Hugging Face LoRA fine-tuning or NeMo supervised fine-tuning
Federated analytics and statistics Agent Skills for supported tabular and image datasets, or the Federated Statistics guide for manual and custom workflows Agent-assisted tabular or image statistics, or manual DataFrame or image statistics
Research and design custom FL algorithms or workflows Collaboration API guide (Technical Preview) Hello FedAvg with the Collab API, then split learning, asynchronous aggregation, and swarm examples
Learn a specific NVIDIA FLARE feature interactively Feature Tutorials Simulator, Recipe, or logging notebook
Follow structured NVIDIA FLARE training Tutorials and training Self-paced curriculum or NVIDIA DLI introductory course
Validate POC and production environments Deployment guide Hello PyTorch environment example
Add privacy and governance controls Security overview DP, HE, PSI, confidential computing, or site policies

Use the NVIDIA FLARE website to discover tutorials, examples, research, webinars, and events. The documentation provides the authoritative guides. After installing NVFLARE 2.10.0 or later, or the development version from main, nvflare examples list shows the curated catalog and nvflare examples get <name> retrieves an example matched to that installation's source revision. Each example README then owns its exact setup and run steps.

Federated learning and computing

Federated learning lets sites collaboratively train or evaluate models on their local data. Training and evaluation happen where the data resides; the underlying training examples are not exchanged between sites or sent to a central server. This can enable collaboration where privacy, regulation, data sovereignty, intellectual property, data ownership, or the cost of moving data makes central collection impractical. Federated learning is one application of the broader federated computing paradigm.

Federated computing brings approved computation to data distributed across multiple parties or locations. In addition to model training and evaluation, it supports analytics, statistics, site-local data processing, and custom multi-site computation. Participating sites run tasks locally and share only outputs permitted by the collaboration.

NVIDIA FLARE builds its federated-learning capabilities on top of a general federated-computing core. That core provides workflow orchestration, task execution, communication, security, and lifecycle services shared by training, evaluation, analytics, statistics, and custom distributed applications.

A job packages the application logic and configuration. A workflow coordinates tasks across participating sites. Each site executes its task against local resources, and policies determine what can run and what may leave the site. Depending on the application, the shared result can be an aggregate model, evaluation, statistic, intersection, or another collaboration artifact.

NVIDIA FLARE also supports decentralized and client-controlled workflows, as well as federated computing applications whose shared result is a statistic, evaluation, intersection, or another permitted application result rather than a model.

Keep data at its source. NVIDIA FLARE moves approved computation to participating sites. In a properly designed and governed federation, raw datasets remain at their source and only outputs permitted by the collaboration and each site's policies leave the site. Application owners and site operators define and enforce those policies for their data and threat model.

Capabilities

Area Capabilities
Federated applications Training and fine-tuning, evaluation and cross-site validation, analytics and statistics, site-local data processing, and custom multi-site computation
Models and frameworks Any model type or ML/AI framework through extensible Python APIs, with maintained integrations and examples for PyTorch, TensorFlow, JAX, scikit-learn, XGBoost, Hugging Face, NeMo, and Flower
Algorithms and workflows FedAvg, FedProx, FedOpt, SCAFFOLD, Ditto, cyclic and swarm learning, horizontal and vertical FL, and custom server- or client-controlled workflows
Privacy, security, and governance Site-controlled authorization, audit logging, secure provisioning, differential privacy, homomorphic encryption, private set intersection, and confidential computing options
Runtime and operations Local simulation, proof-of-concept environments, production provisioning, cloud and on-premises deployment, resiliency, monitoring, and experiment tracking

FLARE's component and event architecture lets applications replace or extend controllers, aggregators, executors, filters, persistence, communication, and deployment behavior without rewriting the entire system.

From local development to production

The application stays consistent while its execution environment changes:

Stage Purpose
Simulator (SimEnv) Run a local job directly to test application code and algorithms, without first starting and administering a FLARE deployment.
Proof of Concept (POC) (PocEnv) Start a local FLARE deployment to practice job submission, administration, and deployment behavior before moving to provisioned sites.
Production (ProdEnv) Run across provisioned sites with production identities, authorization, networking, policies, and operations.

See the run modes and deployment guide for the differences and operational requirements.

Industry use cases

Federated computing is useful when organizations need a shared result but cannot freely pool the source data. NVIDIA FLARE has been applied to:

Industry Representative problems and evidence
Healthcare and oncology Multi-institution medical imaging, tumor segmentation, survival analysis, and collaborative cancer research. See the industry use cases and healthcare research implementations.
Life sciences and drug discovery Collaborative protein-property prediction, molecular modeling, and model fine-tuning while organizations retain proprietary research data. See the life-sciences case studies.
Financial services Cross-institution fraud detection, risk analysis, and federated statistics over transaction data. See the federated fraud-detection research workflow.
Automotive, edge, and industrial systems Learning from distributed vehicles, devices, sensors, and facilities without centralizing every raw stream. See the FLARE Day deployments and talks.
Government and scientific computing Collaboration across facilities where sovereignty, classification, scale, or data movement constrains centralization. See the industry use cases.

These references describe particular deployments and studies. The privacy, security, governance, and model-quality properties of a new application still depend on its design, policies, data, and validation.

Solution ecosystem

Independent software vendors (ISVs) and global systems integrators (GSIs) use NVIDIA FLARE to build federated platforms, governed data-collaboration solutions, and customer implementations. Public technical sessions include Rhino Health's federated computing platform, an Apheris and BioNeMo data-collaboration implementation, and Deloitte's FedRAG implementation. Explore these and other ecosystem work in the NVIDIA FLARE webinar series and FLARE Day.

Project and community

NVIDIA FLARE is released under the Apache 2.0 license.

Mevcut sıralamalar

  • 15

    Canlı Kilometre Taşları

    998 yıldız · 299 fork · Sonraki çizgiye Star

    Kilometre →

Son 30 gün grafiği

Toplam yıldız

Sıra grafiği

Rozeti README’ne koy · NVIDIA/NVFlare[![Rozeti README’ne koy](https://git.vaiox.xyz/api/badge/NVIDIA/NVFlare.svg)](https://git.vaiox.xyz/tr/repo/NVIDIA/NVFlare)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/tr/repo/NVIDIA/NVFlare"><img src="https://git.vaiox.xyz/api/badge/NVIDIA/NVFlare.svg" alt="Rozeti README’ne koy" height="20"></a>

← Sıralamalara dön

GitHub Hot BoardZaman MakinesiKeşfet联系我们 · Contact