HomeGemini / Gemmaアイドルアクセラレータを最小化:llm-dの協調タイムスライシングによるネイティブRLジョブインターリービング
Minimize idle accelerators: Native RL job interleaving with co-operative time-slicing in llm-d

アイドルアクセラレータを最小化:llm-dの協調タイムスライシングによるネイティブRLジョブインターリービングMinimize idle accelerators: Native RL job interleaving with co-operative time-slicing in llm-d

AI要点サマリSummary highlight

llm-dに協調タイムスライシング機能が導入され、強化学習の推論・訓練ジョブをGPU上でインターリーブすることでアクセラレータの遊休時間を大幅に削減できるようになった。

llm-d now supports cooperative time-slicing for RL workloads, allowing inference and training jobs to interleave on the same GPUs and significantly reducing accelerator idle time.

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

強化学習(RL)による大規模言語モデルの学習は、推論と訓練という性質の異なる処理を交互に繰り返すため、高価なアクセラレータの遊休時間が生じやすい。Kubernetesネイティブの分散推論基盤「llm-d」は、この課題に対応する協調タイムスライシング機能を導入し、同一GPU上で推論ジョブと訓練ジョブをインターリーブ(交互実行)できるようにした。

近年、推論能力を高めたreasoning系モデルの台頭により、RLはLLM開発の中核的な手法となりつつある。典型的なRLの学習ループは、モデルが応答を生成する「ロールアウト(推論)」フェーズと、その結果を用いて重みを更新する「学習(訓練)」フェーズから成る。両者は要求するリソース特性が異なり、一方が動作している間、もう一方に割り当てられたGPUは待機状態になりがちだ。アクセラレータは調達コストが高いため、この遊休時間は運用効率を大きく損なう要因とされてきた。

協調タイムスライシングは、推論と訓練のフェーズ切り替えに合わせてGPUを時間的に分割・共有する仕組みと見られる。これにより、片方のフェーズで空いていた計算資源をもう片方が利用でき、稼働率を高めて遊休時間を大幅に削減できるという。llm-dはvLLMをベースにした推論サービング基盤で、Red HatやGoogle、IBMなどが関与するオープンソースプロジェクトとして知られる。

GPU共有の手法としては、これまでもNVIDIAのMIG(マルチインスタンスGPU)やMPS、基本的なタイムスライシングなどが存在した。ただし、これらは主に独立した複数ワークロードの同居を想定しており、RL特有の推論・訓練が密に連携するパターンに最適化されているわけではない。今回の「協調的(cooperative)」という表現には、ジョブ同士がフェーズを認識し合いながらGPUを譲り合う点に特徴があると考えられる。

RL学習の効率化は、TRLやveRL、NeMo-Alignerといった各種フレームワークでも活発に取り組まれている領域だ。llm-dKubernetes上でこうしたインターリービングを標準的に扱えるようになれば、クラスタ全体でのアクセラレータ利用の最適化が進み、学習コストの低減につながる可能性がある。今後は、実運用でのスループット改善効果や、既存RLフレームワークとの統合のしやすさが注目される。

Google Cloud has detailed a new capability in llm-d, the Kubernetes-native distributed inference stack, aimed at one of the more stubborn inefficiencies in large-model development: accelerators sitting idle during reinforcement learning. The feature, described as cooperative time-slicing, allows inference and training jobs to interleave on the same GPUs. According to the project, this can significantly reduce the time that expensive hardware goes unused, which matters as reinforcement learning becomes a central technique for aligning and improving large language models.

The inefficiency the feature targets is structural to how reinforcement learning is applied to modern models. A typical RL loop alternates between two distinct phases. In the generation, or rollout, phase, the current policy model produces sample outputs, a workload dominated by inference. In the subsequent training phase, those samples are scored against a reward signal and used to update the model's weights, a pattern closer to conventional gradient-based training. Because these phases have very different compute and memory profiles, teams have historically had to choose how to place them.

Two approaches have been common, and each has drawbacks. In a disaggregated setup, separate pools of accelerators handle rollout and training. This isolates the workloads but tends to leave one pool idle while the other runs, since the phases execute sequentially in the loop. In a colocated setup, both phases share the same devices, improving utilization but complicating memory management, since inference engines and training frameworks compete for GPU memory and must repeatedly load and unload model weights and optimizer state. The result, in many pipelines, is a bimodal usage pattern in which costly accelerators spend a meaningful fraction of wall-clock time waiting.

Cooperative time-slicing appears to address this by coordinating the two workloads at the software level so they can share accelerators without hard partitioning. Rather than relying purely on hardware mechanisms, the approach lets the inference and training components yield to one another in a scheduled fashion, so that when the training step runs, inference capacity can be released, and vice versa. The "cooperative" framing suggests that the participating jobs are aware of the shared arrangement and hand off resources deliberately, which is generally harder to achieve with opaque, competing processes.

Making this work in practice requires solving several technical problems that the announcement touches on. Weight synchronization is central: after each training update, the newly refined policy must be reflected in the inference engine that generates the next batch of rollouts, and doing this efficiently avoids a costly reload cycle. Memory coordination is equally important, because the KV cache used during inference and the optimizer state used during training cannot both occupy peak capacity simultaneously. By interleaving the phases and managing these transitions natively within the framework, llm-d aims to keep the accelerators productive across a larger share of the loop.

For context, llm-d is an open source effort built around Kubernetes and the vLLM inference engine, developed with contributions from Red Hat, Google, IBM, and others, and positioned as a way to run distributed inference at scale with features such as disaggregated serving and inference-aware routing. Extending it toward reinforcement learning is a natural step, since RL pipelines lean heavily on high-throughput generation, which is precisely what the inference layer is optimized to deliver.

The move also sits alongside broader industry work on sharing scarce accelerators. At the hardware and platform level, NVIDIA offers Multi-Instance GPU for partitioning a device, Multi-Process Service for concurrent kernels, and basic time-slicing, while Kubernetes has been advancing Dynamic Resource Allocation to give schedulers finer control over GPUs. Cooperative time-slicing is likely complementary to these, operating at the workload-coordination layer rather than replacing lower-level mechanisms. In the RL tooling ecosystem, frameworks such as TRL, veRL, NeMo-Aligner, and OpenRLHF have each grappled with the colocated-versus-disaggregated tradeoff, so a Kubernetes-native option that keeps accelerators busy could appeal to teams already standardized on that platform.

As with any single-vendor description of an open source feature, the practical gains will depend on model size, cluster topology, and the specific RL algorithm in use, and independent benchmarks would help clarify the real-world impact. Still, the direction is clear: as reinforcement learning grows more important and accelerator supply remains constrained, reducing idle time by interleaving jobs on shared hardware is an increasingly valuable optimization, and llm-d's approach offers one concrete implementation of that idea.

  • 出典SourceGoogle Cloud 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🏛️ 長期 (アーキテクチャ)Long-term (architecture)
  • 原文言語Source languageEN
  • 収集日時Collected2026/07/29 00:09

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

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