Inference engine startup included in GPU metric capture / 推理引擎启动阶段被纳入 GPU 指标采集
Maintainer thường phản hồi trong vòng 1 ngày
@arygupt đang làm issue này rồi.
Từ ngày 22/5/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Current scripts in the benchmarks/single_node directory (e.g., https://github.com/SemiAnalysisAI/InferenceX/blob/adbaae52ddf2569ddf2e793f5ad0a56f2f2a4d13/benchmarks/single_node/qwen3.5_fp8_mi325x.sh) follow this pattern to establish GPU monitoring for every InferenceX benchmark run:
- start_gpu_monitor
- Start LLM inference engine as a background process (e.g. SGLang, vLLM)
- wait_for_server_ready
- Run benchmark for the model (key result to report for InferenceX benchmark)
- stop_gpu_monitor
As-is, the GPU energy consumption and other metrics can be skewed by irregularities in LLM inference engine startup (compilation, kernel autotuning, etc) and the 5-second sleeps used while waiting for the server to start (waiting on the /health route). While cross-referencing other logs can identify some timestamps that fall outside of the actual benchmark window, there is no direct correspondence within the CSV itself.
Expected behavior
Monitoring data should only correspond to the benchmark execution window. Alternatively, providing a way to identify which portion of the data corresponds to benchmark execution would also be acceptable.
Potential solutions
Adding a marker in the gpu_metrics.csv or delaying the start_gpu_monitor calls until the benchmark is ready to run (moving step 1 above to just before step 4) can assist in disambiguating the results.
Additional context
The startup costs of pinned versions of vLLM (likely similar for other engines) should be relatively consistent for a GitHub action runner, but the inference engine's startup performance can change over successive versions. The ability to separate startup costs from the benchmark data is important.
中文说明
当前基准测试脚本在推理引擎启动之前就开始 GPU 监控(start_gpu_monitor),导致 gpu_metrics.csv 中包含引擎启动阶段(编译、内核自动调优、等待 /health 路由的休眠等)的能耗和指标数据,这会影响基准测试指标的准确性。建议将 GPU 监控延迟到基准测试实际运行前启动,或在 CSV 中添加标记以区分启动阶段和基准测试执行窗口的数据。
- Ngôn ngữ chính
- Python
- Star
- 2k
- Fork
- 354
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 440
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SemiAnalysisAI/InferenceX
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
SemiAnalysisAI/InferenceX#2125 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
SemiAnalysisAI/InferenceX#1587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[experimental chore/agentx-v0.2-aiperf-testing branch] agentic build_replay_cmd: missing --tokenizer-trust-remote-code breaks Kimi-K2.5 (and other custom-code tokenizer models) / agentic build_replay_cmd 缺少 --tokenizer-trust-remote-code 导致 Kimi-K2.5 等自定义 tokenizer 模型失败Có thể làm lại được @sahil-bhatti-ai đã nhận 174 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
SemiAnalysisAI/InferenceX#1369 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
SemiAnalysisAI/InferenceX#1359 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 18/100
SemiAnalysisAI/InferenceX#4655 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SemiAnalysisAI/InferenceX
Issue tương tự
-
bug ready-for-dev
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
OpenHands/extensions#897 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
tensorflow/datasets#11253 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(core): a config section with all keys commented out crashes startupCó thể đã có người làm @Aryanbhargava18 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kubeflow/mcp-server#512 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stop trusting the compromised eMudhra CA certificatesCó thể đã có người làm @anth-volk đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
PolicyEngine/uk-triple-lock#54 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DBFS append mode silently overwrites existing filesCó thể đã có người làm @IlyaKhalafi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
fsspec/filesystem_spec#2429 ·
Maintainer thường phản hồi trong vòng 1 ngày