Skip to main content
QUICK REVIEW

[論文レビュー] FusionAI: Decentralized Training and Deploying LLMs with Massive Consumer-Level GPUs

Zhenheng Tang, Yuxin Wang|arXiv (Cornell University)|Sep 3, 2023
Topic ModelingComputer Science被引用数 10
ひとこと要約

FusionAI は、ブローカー、DAGベースの実行、IR/実行プレーン、フォールトトレラントなスケジューリングを用いて、コンシューマーグレードの GPU を使って LLM を訓練・デプロイする分散システムを提案する。分析では 50 RTX 3080 が 4 H100 のスループットに匹敵できる。

ABSTRACT

The rapid growth of memory and computation requirements of large language models (LLMs) has outpaced the development of hardware, hindering people who lack large-scale high-end GPUs from training or deploying LLMs. However, consumer-level GPUs, which constitute a larger market share, are typically overlooked in LLM due to their weaker computing performance, smaller storage capacity, and lower communication bandwidth. Additionally, users may have privacy concerns when interacting with remote LLMs. In this paper, we envision a decentralized system unlocking the potential vast untapped consumer-level GPUs in pre-training, inference and fine-tuning of LLMs with privacy protection. However, this system faces critical challenges, including limited CPU and GPU memory, low network bandwidth, the variability of peer and device heterogeneity. To address these challenges, our system design incorporates: 1) a broker with backup pool to implement dynamic join and quit of computing providers; 2) task scheduling with hardware performance to improve system efficiency; 3) abstracting ML procedures into directed acyclic graphs (DAGs) to achieve model and task universality; 4) abstracting intermediate represention and execution planes to ensure compatibility of various devices and deep learning (DL) frameworks. Our performance analysis demonstrates that 50 RTX 3080 GPUs can achieve throughputs comparable to those of 4 H100 GPUs, which are significantly more expensive.

研究の動機と目的

  • データプライバシーを保護しつつ、LLM の訓練、推論、微調整のためにコンシューマーレベルの GPU の活用を促進する。
  • 異種デバイス、任意の DL フレームワーク、動的なノード参加を扱える分散システムを設計する。
  • DAG ベースの分解と IR/実行プレーンを用いて、メモリが限られたデバイスへモデルのサブ-DAG を抽象化してロードし、互換性を確保する。
  • ハードウェアの異種性とネットワーク制約を管理する性能モデルとスケジューリング戦略を提供する。

提案手法

  • モデル実行 DAG をサブ-DAG に分解し、メモリ制約のあるデバイスへロードする(前方、後方、更新ステージ)。
  • DAG を中間表現 (IR) プレーンと実行プレーンへ抽象化し、ハードウェア/フレームワーク固有性を切り離す。
  • 動的な compnode の参加/退出を管理し、未完了タスクを代替へルーティングするバックアッププールを備えたブローカーを使用する。
  • データ/ストレージ参照と自己組織化データ交換のために Distributed Hash Table (DHT) を用いた分散型通信層を採用する。
  • PALEO ベースの回帰スケーリング因子でハードウェア性能をモデル化し、実速度とタイミングを推定する(T(f,p) = R(Pa(f)) + C(f,p) + W(f,p))。
  • デバイスメモリ制約の下、最大ペア毎のレイテンシを最小化するロードバランス割り当て問題を解くことでタスクをスケジュールする。

実験結果

リサーチクエスチョン

  • RQ1分散環境で、コンシューマーレベルの GPU を LLM の訓練・推論・微調整に効果的に活用できるか?
  • RQ2DAG ベースのモデル実行、IR/実行プレーン、ブローカ付きフォールトトレラントなアーキテクチャは、メモリ・帯域幅・異種性の課題をいかに緩和できるか?
  • RQ3多様なデバイスに渡るスケーラブルでプライベートな分散LLM計算を可能にするスケジューリングと性能モデリングの手法は何か?

主な発見

  • 分析では、50 台の RTX 3080 GPU がコストが低いにもかかわらず、4 台の H100 GPU と同等のスループットを達成できる。
  • DAG ベースのタスク分解、IRと実行プレーン、バックアップノードを備えたブローカー、および異種性に対処するハードウェア認識スケジューリングを含む設計。
  • DHT ベースの分散通信はノード間のデータ格納・検索を拡張性を持ってサポートし、フォールトトレランスとプライバシー配慮を強化。
  • 解析的性能モデルは計算時間、データ移動、通信を組み合わせて FP タスクの遅延とパイプライン・スループットを推定する。
  • パイプライン認識のスケジューリング手法が、GPU/CPU/DISK の制約下で作業負荷を均等化し、ボトルネックを減らしてスループットを向上させる。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。