HomeGemini / GemmaHeyGen × Google Cloud:Avatar IV を TPU で動かす
HeyGen x Google Cloud: Bringing Avatar IV to TPUs

HeyGen × Google Cloud:Avatar IV を TPU で動かすHeyGen x Google Cloud: Bringing Avatar IV to TPUs

AI要点サマリSummary highlight

HeyGenは180億パラメータ超のビデオ生成モデルAvatar IVをGoogle CloudのTrillium(v6e)TPUに移植し、FSDPとUlyssesシーケンス並列化で1.86倍の高速化を実現した。

HeyGen successfully ported their 18B+ parameter Avatar IV model to Google Cloud Trillium TPUs using torchax and XLA, achieving a 1.86x speedup for real-time streaming via FSDP and Ulysses sequence parallelism.

要約と収集メタデータをもとに生成した AI 解説本文です。元記事全文の転載・翻訳ではありません。This AI explainer is generated from the summaries and collected metadata, not from a reproduction or translation of the full source article.

生成AIによる動画制作を手がけるHeyGenが、180億パラメータを超える自社のビデオ生成モデル「Avatar IV」をGoogle CloudのTPU「Trillium(v6e)」上へ移植したことを、Google Developersブログが伝えた。リアルタイムのストリーミング配信で1.86倍の高速化を実現したという事例で、大規模モデルを動かすハードウェアの選択肢を広げる取り組みとして注目される。

移植の鍵となったのが、PyTorchで書かれたモデルをGoogle独自のXLAコンパイラ経由で実行できるようにする「torchax」だ。PyTorchのコードベースを大きく書き換えることなくTPU向けにコンパイルできるため、既存資産を活かしながらアクセラレータを切り替えやすくなる。HeyGenはこの仕組みを用い、8チップで構成されるメッシュ上にモデルを展開した。

並列化には二つの手法を組み合わせている。ひとつはモデルのパラメータや勾配、オプティマイザ状態を複数チップに分散して保持するFSDP(Fully Sharded Data Parallel)で、巨大なモデルを限られたメモリに収めるために用いられる。もうひとつは長い入力系列をチップ間で分割して処理する「Ulysses」方式のシーケンス並列化で、動画生成のように扱うトークン長が大きいワークロードで効果を発揮すると見られる。これらを組み合わせることで、リアルタイム配信に必要な処理速度を引き出したとしている。

背景には、生成モデルの推論コストと供給の問題がある。高性能GPUの需給が逼迫するなか、TPUのような代替アクセラレータで大規模モデルを動かせるかどうかは、サービス提供者にとって現実的な関心事となっている。GoogleXLAtorchax、JAXといったソフトウェア群を通じてPyTorchユーザーの取り込みを図っており、今回の事例はその実用性を示す一例と位置づけられる。

一方で、公開された数値は特定の構成における結果であり、モデルや系列長、バッチサイズなどの条件が変われば効果は異なる可能性がある。それでも、18B規模のマルチモーダルなモデルをTPU上で実運用に近い形で動かし、具体的な高速化を報告した点は、同種のワークロードを検討する開発者にとって参考になりそうだ。

HeyGen, a company that produces AI-generated avatar videos, has ported its Avatar IV model — a video generation system with more than 18 billion parameters — onto Google Cloud's Trillium (v6e) Tensor Processing Units. The work, described on the Google Developers blog, is notable because it demonstrates how a large, production-grade generative video model can be adapted from its original framework to run on Google's custom silicon, and reportedly emerges faster: the team cites a 1.86x speedup for real-time streaming.

Trillium is Google's latest generation of TPU, marketed as v6e, and represents an iteration of accelerators designed specifically for machine learning rather than general-purpose computing. TPUs are built around large matrix-multiplication units and high-bandwidth interconnects, which makes them well suited to the dense linear algebra at the heart of transformer-based models. Running a model across an "eight-chip mesh," as HeyGen did, means the workload is distributed over eight interconnected TPU chips that can exchange data quickly, allowing a model too large or too slow for a single chip to be split across several.

A central part of the effort was bridging software ecosystems. Many contemporary models, including Avatar IV, are developed in PyTorch, while TPUs are most naturally programmed through XLA, the Accelerated Linear Algebra compiler that also underpins JAX and TensorFlow. To connect the two, HeyGen used torchax, a library that lets PyTorch code execute against an XLA backend. This approach appears to let the team preserve much of their existing PyTorch model definition while still compiling down to instructions the TPU can run efficiently, avoiding a full rewrite in a different framework.

To fit an 18-billion-parameter model onto the hardware and keep it fast, HeyGen combined two parallelism strategies. Fully Sharded Data Parallel, or FSDP, splits a model's parameters, gradients, and optimizer state across devices so that no single chip has to hold the entire model in memory. Ulysses sequence parallelism, a technique popularized by the DeepSpeed project, instead partitions work along the sequence dimension. That is especially relevant for video generation, where long sequences — many frames and long attention contexts — can dominate memory and compute costs. Using the two together lets the system shard both the model itself and the sequences it processes across the eight-chip mesh.

The headline result is a 1.86x speedup for real-time streaming, the scenario in which frames must be produced quickly and continuously rather than rendered offline. To reach it, the engineering team appears to have pipelined parts of the workload, overlapping computation and data movement so that chips spend less time idle waiting for inputs. Pipelining is a common optimization on distributed accelerators, and it typically complements sharding strategies like FSDP by keeping the hardware busy across the stages of generation.

The move fits a broader industry pattern.

  • 出典SourceGoogle Developers Blog公式Official
  • 直近30件の平均重要度Avg importance, last 301=Info · 2=Medium · 3=High
  • 配信形式FormatブログBlog
  • 重要度Importance重要度 MediumMedium priority(Gemini / Gemma 148件中、同等以上 112件)(112 of 148 Gemini / Gemma entries are equal or higher)
  • 情報の寿命Half-life⏱️ 短命 (ニュース)Short-lived (news)
  • 原文言語Source languageEN
  • 収集日時Collected2026/08/17 20:14

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (developers.googleblog.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (developers.googleblog.com).

Gemini / Gemma の他の記事More from Gemini / Gemmaもっと見る →View more →