Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Trn3 UltraServer
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
chiaoi
December 23, 2025
43
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Trn3 UltraServer
chiaoi
December 23, 2025
More Decks by chiaoi
See All by chiaoi
AWSを"安全に"始める
chiaoicchi
1
85
Neptune Analytics SSSP Δ-parameter
chiaoicchi
1
79
RAG入門
chiaoicchi
0
250
State machineはTurningの夢を見るか?
chiaoicchi
0
130
私なりのAIエージェントの理解と開発ツールの選び方
chiaoicchi
0
18
Fine-tuning Hands-on
chiaoicchi
0
23
kani
chiaoicchi
0
68
DeepRacer cup本戦 ~30秒の切り方~
chiaoicchi
0
34
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
464
34k
So, you think you're a good person
axbom
PRO
2
2.2k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
HDC tutorial
michielstock
2
950
Scaling GitHub
holman
464
140k
The Curse of the Amulet
leimatthew05
3
15k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
400
Transcript
AWS Neuron chiaoi
Trainium / Inferentia - Inf1 - Inf2 - Trn1 -
Trn2 - Trn3 GA NEW!! AWS Event YouTube
Trn2 と Trn3:何が変わった ?(トポロジー編)
モデルの構造の変化:dense から MoE https://arxiv.org/pdf/2101.03961 dense MoE
dense https://arxiv.org/pdf/2101.03961 FFNが重い(大きすぎて1チップに乗らない) → 複数のチップに分割して配置をする 各チップが担当部分を計算する 計算結果をまとめて全チップで共有 → AllReduce(隣接通信)の繰り返し
MoE https://arxiv.org/pdf/2101.03961 FFNを複数用意する → チップごとにFFNを用意 (2チップで一つとかもあり) 各TokenがRouterによってどのExpert の元にいくか決定される (重要なFFNだけ計算) →
任意のチップ間通信が行われる → 計算する部分が一部になるので高速 結果を元のチップに送る → 任意のチップ間通信が行われる
trn2u.48xlarge 縦 4つの Ring構造 横 4つの Ring構造 で合わせて16チップ 2D Torus
公式ドキュメント
Trn2 UltraServer trn2u.48xlarge ×4 の Ring構造(z軸) で64個のチップ 3D Torus 公式ドキュメント
Trn2 UltraServer 隣接しているチップ同士の通信は 高速。 (z方向は他より2倍遅い) AllReduceは速い (隣に順々に巡っていけばよい) 任意のチップ間通信は遅い (最悪ケースは早くとも6ホップ) 公式ドキュメント
Trn3 UltraServer Trn3チップ4つで1つのサーバー サーバー内はNeuronSwitch-v1で 接続されている 36個のサーバー同士は NeuronSwitch-v1で接続されている All-to-All 公式ドキュメント
Trn3 UltraServer チップ → L1スイッチ → L2スイッチ → L1スイッチ →
他のサーバーのチップ この通信が高速になるように → 任意のチップ間が均して速い 公式ドキュメント
Trn3 UltraServer のメリット MoEのアルゴリズム - RouterがどのExpertを使用するか計算する - 任意のチップ間通信がたくさん行われる チップ間の通信が速いと嬉しい。 →
常に高速で通信できる All to all の接続が生きる。 → denseにも対応できる 注意) 最悪ケースがボトルネックになるので均一に速いことが重要