[Engine] strata-hy4: expose the expert tier placement in /v1/status (VRAM / RAM / SSD counts)

オープン
#7,364 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp

調査の方向性

Start at the /v1/status handler and trace how it builds the vram object, then find where the loader computes expert placement for VRAM, RAM, and SSD. Check how multi-GPU placement is represented and add the tier counts and GB to the status response; done when the endpoint exposes those values for single- and multi-GPU runs, including SSD spill.

索引モデルが issue の本文から書いたものです。

説明

A small observability gap, found while bringing Hy4-Flash up on gfx906 (#7121) and serving it on real hardware since: 2x Instinct MI50 16 GB, 128 GB RAM, Hy4-Flash SQ-128 at 262144 context, layer-split over both cards.

What happens

/v1/status of strata-hy4 returns a placement-blind vram object:

"vram": {"elastic": false}

while the engine knows exactly where every expert sits — the load line of the same run in the engine log reads:

[load] multi-GPU experts (2 GPUs): total 2647 in VRAM (16.07 GB: GPU1=0/0.00GB, GPU0=2647/16.07GB), 18345 in RAM (89.69 GB), 0 on SSD (0.00 GB), 5.0 s

None of that reaches the status endpoint, so the monitor's "Experts in VRAM" tile renders -- for the whole run while the hardware tiles beside it are fine.

Suggestion

Expose the tier placement the loader already computes — expert counts (and GB) for VRAM / RAM / SSD, per-GPU for multi-GPU — in the vram object of /v1/status. That would also make an accidental SSD spill (the coldest experts falling out of the RAM tier, e.g. through caps like #6792) visible at a glance while serving, instead of only in the log.

Happy to test a candidate field on the MI50 box.

主要言語
C++
スター
11.6k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。