Scalability Evaluation of HPC Multi-GPU Training for ECG-based LLMs
Training large language models requires extensive processing, made possible by many high-performance computing resources. This study compares multi-node and multi-GPU environments for training large language models using electrocardiogram data. It provides a detailed mapping of current frameworks for distributed deep learning in multi-node and multi-GPU settings, including Horovod from Uber, DeepSpeed from Microsoft, and the built-in distributed capabilities of PyTorch and TensorFlow. We compare various multi-GPU setups for different dataset configurations, utilizing multiple HPC nodes independently and focusing on scalability, speedup, efficiency, and overhead. The analysis leverages HPC infrastructure with SLURM, Apptainer (Singularity) containers, CUDA, PyTorch, and shell scripts to support training workflows and automation. We achieved a sub-linear speedup when scaling the number of GPUs, with values of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1. 6 x}$</tex> for two GPUs and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1. 9 x}$</tex> for four GPUs.
Authors
- Marjan Gušev (ORCID: https://orcid.org/0000-0003-0351-9783)
- Nikola Petrovski
- Dimitar Mileski (ORCID: https://orcid.org/0000-0003-0728-626X)
Institutions
- Ss. Cyril and Methodius University in Skopje (MK)
Publication Details
- Published
- 2025-06-02
- DOI
- https://doi.org/10.1109/mipro65660.2025.11131711
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00