Work

You've got a few GPUs, now what?! --- Experimenting with a Nano-Cluster for Distributed Training of AI Models

Year: 2025
Type: conference-paper
Abstract: The rapid growth of deep learning models—particularly large language models (LLMs)—has led to a widespread reliance on high-performance datacenters equipped with thousands of GPUs and fast interconnects. However, such infrastructures are often out of reach for academic researchers and institutions with limited computational budgets, and cloud services with GPUs offerings may be unadvisable for privacy or security reasons, or for the difficulty in predicting the total cost. While literature focuses almost exclusively on middle-to-hyper scale clusters, in this work we investigate the feasibility and limitations of distributed training of AI models in constrained environments by employing a minimal datacenter setup, composed of only two servers, each with 128 CPU cores, 512 GB of RAM, 2 consumer-grade GPUs, and interconnected via standard 1 Gigabit Ethernet. We focus on the scalability and the traffic generated during the training of AI architectures (ResNet-18 and GPT2) of different complexity in terms of the number of parameters and layers, and under various parallelization strategies and batch-size configurations. Our experimental results highlight critical bottlenecks in network communication and model synchronization, but also identify viable configurations that offer acceptable training throughput despite the limited hardware. This study aims to provide practical insights into low-cost, multi-GPU, multi-server training setups and inform future efforts to democratize deep learning research.
Language: English
Open Access status: gold
OpenAlex ID: W4416655185
FWCI: 0.286
Cites: 26
Cited by: 1
Related to: 10