Skip to main content

Federated Learning research framework in your mind

Project description

FedMind

A simple and easy Federated Learning framework fit researchers' mind based on PyTorch.

Unlike other popular FL frameworks focusing on production, FedMind is designed for researchers to easily implement their own FL algorithms and experiments. It provides a simple and flexible interface to implement FL algorithms and experiments.

Installation

The package is published on PyPI under the name fedmind. You can install it with pip:

pip install fedmind

Usage

A configuration file in yaml is required to run the experiments. You can refer to the config.yaml as an example.

There are examples in the examples directory.

Make a copy of both the config.yaml and fedavg_demo.py to your own directory. You can run them with the following command:

python fedavg_demo.py

Features

  • Parallel training speed up.
  • Serialization for limited resources.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fedmind-0.1.1.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fedmind-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file fedmind-0.1.1.tar.gz.

File metadata

  • Download URL: fedmind-0.1.1.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fedmind-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d6c92622cfd71232d0880a21dcd7cd0747b4c5e3fcfb5dd2eccd74ada8df92a
MD5 36d367f142ed1fd146e96c8eed448423
BLAKE2b-256 7013d0f32f00d09863a086f897abced81371b412965f43a062a965f84c7c23c0

See more details on using hashes here.

File details

Details for the file fedmind-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fedmind-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fedmind-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 915a1ab1bbadc6b9c2c384ff24a163ed31b338af61982ebf9a4c7cbff42dbd15
MD5 04aa6d74f32eeab79c86e8a7dac7ffb5
BLAKE2b-256 572acb32ffb087082da4f10c245140918e3a8f09687d598dadb1e30aa17b88e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page