FedML-AI / FedML-AI/FedML

How to use the distributed training function of this FedML library in a HPC cluster managed with Slurm?

Open
#170 1 comment 0 reactions 3 assignees Claimed by @fedml-dimitris View on GitHub
enhancement TODO features
Dominant language
Python
Stars
4.1k
Forks
765
PR merge metrics
No merged PRs in 30d

Description

Thanks for @chaoyanghe to provide such a good open source library for the federated learning researches and learners.

Now I have a problem for using this FedML library in our high performance computing cluster. The HPC cluster of our institution is managed by the Slurm software. The users should first apply for computation nodes first before they run the task. And then the Slurm manager allocates the computation nodes to the computation task of this user. In this way, **the user can not previously know the hostname of each node. So, we can not modify the "mpi_host_file" accordingly before we submit the computation task to the HPC**.

This problem limits me to use the distributed training functions of this library and now I can only use the standalone version of this FedML library. I hope the authors @chaoyanghe could give me a possible solution for using this FedML library on the Slurm cluster.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.