TorchFL: A Performant Library for Bootstrapping Federated Learning Experiments
Vivek Khimani, Shahin Jabbari

TL;DR
TorchFL is a versatile, PyTorch-based library that simplifies setting up, executing, and profiling federated learning experiments across various hardware, making FL research more accessible and efficient.
Contribution
The paper introduces TorchFL, a comprehensive library that streamlines federated learning experimentation with customizable components and multi-hardware support.
Findings
Enables easy setup of FL experiments with minimal coding.
Supports multiple hardware accelerators for efficient training.
Provides detailed performance profiling and logging.
Abstract
With the increased legislation around data privacy, federated learning (FL) has emerged as a promising technique that allows the clients (end-user) to collaboratively train deep learning (DL) models without transferring and storing the data in a centralized, third-party server. We introduce TorchFL, a performant library for (i) bootstrapping the FL experiments, (ii) executing them using various hardware accelerators, (iii) profiling the performance, and (iv) logging the overall and agent-specific results on the go. Being built on a bottom-up design using PyTorch and Lightning, TorchFL provides ready-to-use abstractions for models, datasets, and FL algorithms, while allowing the developers to customize them as and when required. This paper aims to dig deeper into the architecture and design of TorchFL, elaborate on how it allows researchers to bootstrap the federated learning experience,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy-Preserving Technologies in Data · Stochastic Gradient Optimization Techniques · Explainable Artificial Intelligence (XAI)
MethodsLib
