Skip to content

A simple, straightforward federated learning micro framework for scholar.

Notifications You must be signed in to change notification settings

Jiuh-star/flcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flcore

A simple, straightforward federated learning micro framework for scholar.

Features

  • Extensible, straightforward and simple structure.
  • Integrate some useful utilities for FL and data:
    • io.py: Atomic write so that no more afraid of interruption when writing.
    • data.py: Out-of-box data split method to generate dataset for FL.
    • model.py: Easy model parameters operation, scale gradient, map parameters etc.
    • robust.py: Out-of-box robust aggregation function.
  • Beautiful progress bar and terminal logging with rich.
  • Integrate tensorboard to monitor your experiment.
  • LowMemoryClientMixin to save your cuda memory. (Not available now)
  • Auto save state if keyboard interruption detected.
  • Auto save log & metrics of all clients while system running.

Under work

  • Fully test.
  • Well document

How-tos

There is no tutorial for now since some API may change, but you can check example.py.

LICENSE

This project is open sourced and under GNU General Public License v3.0.

About

A simple, straightforward federated learning micro framework for scholar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages