Skip to content

[AMD] bump MI355X MORI FP8 image to latest Feb 10 - #674

Merged
cquil11 merged 13 commits into
mainfrom
amd/mi355x-dsfp8-feb11
Feb 11, 2026
Merged

cquil11 merged 13 commits into
mainfrom
amd/mi355x-dsfp8-feb11

Conversation

@billishyahao

@billishyahao billishyahao commented Feb 10, 2026 •

Copy link
Copy Markdown
Collaborator

This patch is to bump the MI355X MORI FP8 image to latest Feb 10. This workflow can co-work with the recipe sa-260211 https://github.com/billishyahao/sglang_disagg/tree/sa-260211 .
Key updates since Feb 3rd:

# Feature / Change Description Commit
1 Enable MORI-IO as default KVCache transfer backend Set MORI-IO as the default backend for KVCache transfer engine 24336bf
2 Support MORI-EP auto mode Introduced automatic mode selection for MORI-EP 4e334a0
3 Separate MoRI max tokens config for Prefill/Decode Allow configuring MoRI max tokens independently for Prefill and Decode nodes 98fd636
4 Add DSV3 FP8 / FP4 support Added FP8 and FP4 precision support for DSV3 33fe4b0
5 Support MTP > 1 Enable multi-token prediction (MTP) greater than 1 2a35043
6 Apply chat template Added support for chat template application c83719b
7 Fix health check bug Resolved health check issue 402142e

@billishyahao

Copy link
Copy Markdown
Collaborator Author

/sweep test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml

@github-actions

Copy link
Copy Markdown
Contributor

@billishyahao Kicking off a sweep.

Run: https://github.com/InferenceMAX/InferenceMAX/actions/runs/21873666911
Command: test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml
Pinned ref: 67d555a
Approval: not required (trusted collaborator).

@billishyahao

Copy link
Copy Markdown
Collaborator Author

/sweep test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml

@github-actions

Copy link
Copy Markdown
Contributor

@billishyahao Kicking off a sweep.

Run: https://github.com/InferenceMAX/InferenceMAX/actions/runs/21875097066
Command: test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml
Pinned ref: 67d555a
Approval: not required (trusted collaborator).

@cquil11

cquil11 commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator

waiting for sweep to finish

@cquil11 cquil11 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm after sweep finishes

@functionstackx functionstackx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it use templates such that it matches an real world distribution?

@cquil11

cquil11 commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

@billishyahao I noticed that you switched from checking out the sa-260203 branch to checking out main. Can you please update us on what the diff is between the two branches? I also noticed that this commit disables --use-chat-template, which must be enabled as discussed between AMD <> SA.

Furthermore, instead of checking out main in InferenceMAX upstream, it is better to pin to a specific commit so that commits cannot "sneak in" without anyone knowing.

@functionstackx

Copy link
Copy Markdown
Collaborator

hi @billishyahao thanks for ur contribution but it seems like this image upgrade failing, can u debug when u get the chance?

https://github.com/InferenceMAX/InferenceMAX/actions/runs/21875097066

image

@billishyahao

Copy link
Copy Markdown
Collaborator Author

Hi @functionstackx @cquil11 Sure, we decide to upgrade the recipe to sa-260211 as well. Flag --use-chat-template will be applied by default with this commit billishyahao/sglang_disagg@c83719b

@billishyahao

Copy link
Copy Markdown
Collaborator Author

/sweep test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml

@github-actions

Copy link
Copy Markdown
Contributor

@billishyahao Kicking off a sweep.

Run: https://github.com/InferenceMAX/InferenceMAX/actions/runs/21896808641
Command: test-config --config-keys dsr1-fp8-mi355x-sglang-disagg --runner-config .github/configs/runners.yaml --config-files .github/configs/amd-master.yaml
Pinned ref: aa24dbe
Approval: not required (trusted collaborator).

@billishyahao

billishyahao commented Feb 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

@functionstackx Hi , sure thing. The failure is caused by manually cancellation triggered by me. It is not a issue. Will keep eyes on this new sweep: https://github.com/InferenceMAX/InferenceMAX/actions/runs/21896808641

@functionstackx functionstackx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@billishyahao can u add an perf-changelog.yaml too?

@functionstackx

Copy link
Copy Markdown
Collaborator

@pr-claude review plz

@claude

claude Bot commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @functionstackx's task in 1m 53s —— View job


Review of PR #674

  • Gather context and read changed files
  • Validate master config changes (image accessibility, model prefixes)
  • Check if perf-changelog.yaml was updated
  • Review benchmark scripts (code style, MTP requirements)
  • Post review summary

Summary

Changes reviewed:

  • .github/configs/amd-master.yaml — Image bump from sglang-0.5.6.post1-rocm700-mi35x-mori-0113 to sglang-0.5.8-rocm700-mi35x-mori-0210, and DECODE_MTP_SIZE changed from 2 → 1 across all disagg configs (active and commented-out).
  • benchmarks/dsr1_fp8_mi355x_sglang-disagg.sh and benchmarks/dsr1_fp4_mi355x_sglang-disagg.sh — Recipe branch updated from sa-260203 → sa-260211.

Issues Found

🔴 BLOCKING: Missing perf-changelog.yaml update

Master config file .github/configs/amd-master.yaml was modified but perf-changelog.yaml was not updated. When changing master config files, you must add a corresponding entry to perf-changelog.yaml documenting the changes (image bump, DECODE_MTP_SIZE change). This was also flagged by @functionstackx in the review comments.

Fix this →

🟡 WARNING: FP4 image not updated

The dsr1-fp8-mi355x-sglang-disagg image was bumped but dsr1-fp4-mi355x-sglang-disagg still uses the older sglang-0.5.7-rocm700-mi35x-mori-fp4-0122 image. See inline comment for details.

Validations Passed

  • Image accessibility: rocm/sgl-dev:sglang-0.5.8-rocm700-mi35x-mori-0210 is a public Docker Hub image ✅
  • Model prefixes: dsr1 prefix used correctly for both fp8 and fp4 configs ✅
  • Branch pinning: Benchmark scripts now pin to sa-260211 branch (not main), addressing @cquil11's earlier feedback ✅
  • Benchmark script style: No server launch commands in the changed scripts (they delegate to submit_disagg.sh) ✅

Comment thread .github/configs/amd-master.yaml Resolved
@billishyahao

Copy link
Copy Markdown
Collaborator Author

@pr-claude review

@claude

claude Bot commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @billishyahao's task in 1m 55s —— View job


Review of PR #674

  • Gather context and read changed files
  • Validate master config changes (image accessibility, model prefixes)
  • Check perf-changelog.yaml update
  • Review benchmark scripts (code style, MTP requirements)
  • Post review summary

Summary

No blocking issues found. The previous review's blocking issue (perf-changelog.yaml missing) has been addressed.

Two warnings posted as inline comments:

  1. perf-changelog.yaml:526 — Changelog description "Use Pure TP with MTP=2 for conc smaller than 128" is slightly misleading since it only applies to the 1k1k "Bottom of curve" config (the 8k1k version keeps ep: 8 with MTP_SIZE=1).
  2. benchmarks/dsr1_fp8_mi355x_sglang-disagg.sh:41-42 — Extra blank lines.

Additional note not inline (FP4 script not in diff):
The FP4 benchmark script (dsr1_fp4_mi355x_sglang-disagg.sh) still hardcodes DECODE_ENABLE_EP=true and PREFILL_ENABLE_EP=true, while the FP8 script was updated to conditionally set these based on the EP value. Currently not a bug (FP4 config only uses ep: 8), but the scripts are now inconsistent. Worth aligning if pure TP configs are planned for FP4.

Validations Passed

  • Image accessibility: rocm/sgl-dev:sglang-0.5.8-rocm700-mi35x-mori-0210 is a public Docker Hub image
  • Model prefixes: dsr1 prefix used correctly for both fp8 and fp4 configs
  • perf-changelog.yaml: Updated with relevant config keys and descriptions
  • Benchmark script style: No server launch commands in the changed scripts (delegates to submit_disagg.sh)
  • FP4 image: Still on older sglang-0.5.7-rocm700-mi35x-mori-fp4-0122 — appears intentional per the previous review thread

View job

Comment thread perf-changelog.yaml Resolved
cquil11 and others added 2 commits February 11, 2026 11:05
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

@cquil11 cquil11 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm one more thing that needs to be checked is your num warmups

@cquil11

cquil11 commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

@billishyahao you cannot do this https://github.com/billishyahao/sglang_disagg/blob/05b97cee759a6b2c92d4e370dfcf11f63f95127d/benchmark_lib.sh#L291

Only the standard warmup via "--num-warmup" can be added, which should be set to 2x conccurency

@billishyahao

billishyahao commented Feb 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

We found a significant performance downgrade sometimes up to ~18% if cool start with (2 * max_concurrency) warmup in bench_serving script.

@cquil11

cquil11 commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

@billishyahao since this is standardized across all submissions, it is an even playing field. Please set to maximum warmup of 2*concurrency as per InferenceMAX rules.

@cquil11
cquil11 merged commit fcd1113 into main Feb 11, 2026
22 checks passed
@cquil11
cquil11 deleted the amd/mi355x-dsfp8-feb11 branch February 11, 2026 21:47
Oseltamivir added a commit that referenced this pull request Sep 29, 2026
… window

DeepEP's ElasticBuffer registers its GIN window with NCCL_WIN_STRICT_ORDERING,
which drops IBV_ACCESS_RELAXED_ORDERING from the memory region regardless of
NCCL_IB_PCI_RELAXED_ORDERING. In h200's KVM guests that capped the EP16
scale-out hop near 10 GB/s per GPU, 3-8x slower than h100/b200.

The DeepEP build seds the flag into a switch on EP_WIN_RELAXED_ORDERING
(fails if the pin moves it; BUILD_GEN bumped), and a pool opts in with
network.rdma_relaxed_ordering. Only h200-dgxc does. Its rows carry a
"-relaxed-ordering" kernel_generation suffix. Upstream made the window strict
on purpose (DeepEP #661/#674): relaxed ordering could let a GIN signal
overtake its data. Unreproduced, and oracle-green does not rule it out.
Measured on h200: EP16 bf16 decode T=512 3088us -> 620us; oracle green in
bf16 and fp8.

中文:DeepEP 的 ElasticBuffer 以 NCCL_WIN_STRICT_ORDERING 注册 GIN 窗口,
使内存区域失去 PCIe 宽松排序。在 h200 的 KVM 虚拟机中,这将 EP16 跨节点
带宽限制在每 GPU 约 10 GB/s,比 h100/b200 慢 3 到 8 倍。DeepEP 构建时用 sed
将该标志改为由 EP_WIN_RELAXED_ORDERING 控制的开关(锚点变化即失败,并更新
BUILD_GEN),资源池通过 network.rdma_relaxed_ordering 开启,目前仅 h200-dgxc。
其结果行的 kernel_generation 带 "-relaxed-ordering" 后缀。上游有意使用严格
排序(DeepEP #661/#674):宽松排序下 GIN 信号理论上可能先于数据到达;该竞争
尚未复现,正确性校验通过也不能排除它。h200 实测:EP16 bf16 解码 T=512 往返
从 3088us 降至 620us;bf16 与 fp8 校验均通过。
Oseltamivir added a commit that referenced this pull request Sep 29, 2026
… window (#3568)

DeepEP's ElasticBuffer registers its GIN window with NCCL_WIN_STRICT_ORDERING,
which drops IBV_ACCESS_RELAXED_ORDERING from the memory region regardless of
NCCL_IB_PCI_RELAXED_ORDERING. In h200's KVM guests that capped the EP16
scale-out hop near 10 GB/s per GPU, 3-8x slower than h100/b200.

The DeepEP build seds the flag into a switch on EP_WIN_RELAXED_ORDERING
(fails if the pin moves it; BUILD_GEN bumped), and a pool opts in with
network.rdma_relaxed_ordering. Only h200-dgxc does. Its rows carry a
"-relaxed-ordering" kernel_generation suffix. Upstream made the window strict
on purpose (DeepEP #661/#674): relaxed ordering could let a GIN signal
overtake its data. Unreproduced, and oracle-green does not rule it out.
Measured on h200: EP16 bf16 decode T=512 3088us -> 620us; oracle green in
bf16 and fp8.

中文:DeepEP 的 ElasticBuffer 以 NCCL_WIN_STRICT_ORDERING 注册 GIN 窗口,
使内存区域失去 PCIe 宽松排序。在 h200 的 KVM 虚拟机中,这将 EP16 跨节点
带宽限制在每 GPU 约 10 GB/s,比 h100/b200 慢 3 到 8 倍。DeepEP 构建时用 sed
将该标志改为由 EP_WIN_RELAXED_ORDERING 控制的开关(锚点变化即失败,并更新
BUILD_GEN),资源池通过 network.rdma_relaxed_ordering 开启,目前仅 h200-dgxc。
其结果行的 kernel_generation 带 "-relaxed-ordering" 后缀。上游有意使用严格
排序(DeepEP #661/#674):宽松排序下 GIN 信号理论上可能先于数据到达;该竞争
尚未复现,正确性校验通过也不能排除它。h200 实测:EP16 bf16 解码 T=512 往返
从 3088us 降至 620us;bf16 与 fp8 校验均通过。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants