fedhf-0.3.0
توضیحات
A Federated Learning Framework which is Heterogeneous and Flexible.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fedhf-0.3.0 |
| نام | fedhf |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | ['Bingjie Yan'] |
| ایمیل نگهدارنده | ['bj.yan.pa@qq.com'] |
| نویسنده | Bingjie Yan |
| ایمیل نویسنده | bj.yan.pa@qq.com |
| آدرس صفحه اصلی | https://github.com/beiyuouo/fedhf |
| آدرس اینترنتی | https://pypi.org/project/fedhf/ |
| مجوز | Apache-2.0 License |
# FedHF
<img src="https://raw.githubusercontent.com/beiyuouo/fedhf/main/docs/assets/logo.svg" alt="logo" style="width:100%;">
[FedHF](https://github.com/beiyuouo/fedhf) is a loosely coupled, **H**eterogeneous resource supported, and **F**lexible federated learning framework.
*Accelerate your research*
        [](https://pepy.tech/project/fedhf)
[](https://discord.gg/AsvX9Q75)
## Features
- [x] Losely coupled
- [x] Heterogeneous resource supported
- [x] Flexible federated learning framework
- [x] Support for asynchronous aggregation
- [x] Support for multiple federated learning algorithms
## Algorithms Supported
### Synchronous Aggregation
- [x] **[FedAvg]** Communication-Efficient Learning of Deep Networks from Decentralized Data(*AISTAT*) [[paper]](https://arxiv.org/abs/1602.05629.pdf)
### Asynchronous Aggregation
- [x] **[FedAsync]** Asynchronous Federated Optimization(*OPT2020*) [[paper]](https://arxiv.org/abs/1903.03934)
### Tiered Aggregation
- [ ] **[TiFL]** TiFL: A Tier-based Federated Learning System (*HPDC 2020*) [[paper]](https://dl.acm.org/doi/abs/10.1145/3369583.3392686)
## Getting Start
```sh
pip install fedhf
# If you want to use wandb to view log, please login first
wandb login
```
You can see the [Document](https://www.bj-yan.top/fedhf/) for more details.
## Contributing
For more information, please see the [Contributing](https://www.bj-yan.top/fedhf/contributing/) page.
## Citation
> *In progress*
## Licence
This work is provided under [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
## Acknowledgement
Many thanks to [FedLab](https://github.com/SMILELab-FL/FedLab) and [FedML](https://github.com/FedML-AI/FedML) for their great work.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.8.2 | torch |
| >=0.9.2 | torchvision |
| - | numpy |
| - | tqdm |
| - | wandb |
| - | ezkfg |
| - | pyyaml |
| ==1.25.3 | urllib3 |
| - | nox |
| - | pytest |
| - | mkdocs |
| - | pytest |
| - | mkdocs |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fedhf-0.3.0:
pip install fedhf-0.3.0.whl
نصب پکیج tar.gz fedhf-0.3.0:
pip install fedhf-0.3.0.tar.gz