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

Đang mở
#7,364 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
11.6k
Fork
1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Niko1221/Strata

Tất cả issue của Niko1221/Strata

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.