用二手显卡组集群跑大模型,省钱但耗电,得看用电便宜不。
DumpsterCluster: From Dumpster Diving to Serving LLaMA-70B on $60 GPUs

- 用二手显卡搭建128卡集群,通过流水线优化跑通LLaMA-70B推理
- 电费低时总成本比新机低90%,但旧卡每令牌耗能高3倍以上
- 适合电价低且电网清洁地区,否则碳排放超新硬件40倍
随着AI数据中心淘汰可用显卡,大量仍具性能的加速器流入二级市场。本文研究这些退役显卡能否通过重组形成‘垃圾箱集群’(DumpsterCluster)用于现代大模型推理,并探讨其经济与环境可持续性。我们从零构建了128张二手显卡组成的集群并持续运行一年。当前市价下(垃圾箱集群2.2万美元对比8卡B200系统60万美元),经济优势显著。通过流水线并行优化,基于V100的集群实现了与主流硬件相当的LLaMA-70B吞吐量,验证了实际可行性。然而部署发现关键依赖:旧卡每令牌能耗高出约3倍,在电网平均碳强度下,8B模型每令牌碳排放为新一代硬件的4倍,70B模型更是高达40倍以上。因此,显卡再利用并非普遍可持续,必须与低碳能源协同部署。在电价低廉且电力清洁的区域,二手显卡是拓展AI算力、降低成本、保障能源安全与环境责任的可行路径。
原文摘要 · Abstract (English)
As AI datacenters retire functional GPUs, vast quantities of still capable accelerators enter secondary markets. This paper investigates whether these retired GPUs can find a productive afterlife to form a DumpsterCluster that can serve modern LLM inference, and under what conditions such repurposing is economically viable and environmentally sustainable. We physically built a 128-GPU DumpsterCluster from scratch using only second-hand components and ran it for one year. At current market prices (\$22K for the DumpsterCluster vs. \$600K for an 8-GPU B200 system), the economic advantages are substantial. Through pipeline-parallel optimizations, our V100 based DumpsterCluster achieves competitive LLaMA-70B throughput, validating production viability. However, our deployment reveals critical context dependencies. Older GPUs consume significantly more energy per token, making total cost of ownership favorable only in regions with inexpensive electricity. Under grid-average carbon intensity, second-hand systems can produce approximately 4x higher total carbon emissions per token for 8B models, and over 40x for 70B models, compared to current-generation hardware. These findings show that GPU afterlife is not universally sustainable - hardware repurposing must be strategically coupled with low carbon energy sources. When deployed in regions with favourable energy economics and clean electricity, second-hand GPUs offer a viable pathway for expanding AI capacity while advancing affordability, energy security, and environmental responsibility.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。