Skip to content

[AMD] [WIP]personal learning of amd sglang disagg prefill - #615

Closed
cquil11 wants to merge 17 commits into
mainfrom
experimental/mi355x-dsfp4
Closed

cquil11 wants to merge 17 commits into
mainfrom
experimental/mi355x-dsfp4

Conversation

@cquil11

@cquil11 cquil11 commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@cquil11
cquil11 marked this pull request as ready for review February 2, 2026 15:10
@cquil11
cquil11 requested a review from a team as a code owner February 2, 2026 15:10
@claude

claude Bot commented Feb 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @cquil11's task in 1m 15s —— View job


Review Summary

Found 2 blocking issues that should be fixed before merge:

🔴 Blocking Issues

  1. Precision mismatch (.github/configs/amd-master.yaml:637): Config named dsr1-fp4-mi355x-sglang-disagg has precision: fp8 instead of precision: fp4

  2. Model mismatch (.github/configs/amd-master.yaml:634): Config uses deepseek-ai/DeepSeek-R1-0528 (FP8 model) but should use the FP4 variant like amd/DeepSeek-R1-0528-MXFP4-Preview for an FP4 config

🟡 Warnings

  • Benchmark script clones from a personal fork (cquil11/sglang_disagg) - acceptable for experimental work but reduces reproducibility
  • Hardcoded MODEL_NAME in the script may conflict with the config's model setting

✅ Validations Passed

  • perf-changelog.yaml was updated with this PR (requirement satisfied)
  • Container image rocm/sgl-dev:main-ec76c-rocm700-mi35x-0131 uses a public registry

The commented-out config block at the bottom of amd-master.yaml (lines 1011-1101) appears to have the correct FP4 settings - you may want to use that configuration instead of the currently active one.

Comment thread .github/configs/amd-master.yaml Outdated
model: deepseek-ai/DeepSeek-R1-0528
model-prefix: dsr1
runner: mi355x-disagg
precision: fp8

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 BLOCKING: Precision mismatch - config name says fp4 but precision is set to fp8
Why it matters: This will cause the wrong benchmark configuration to run. The config named dsr1-fp4-mi355x-sglang-disagg should use FP4 precision, not FP8.
Fix: Either:

  1. Change precision: fp8 to precision: fp4 and update the model to an FP4 model (e.g., amd/DeepSeek-R1-0528-MXFP4-Preview)
  2. Or rename the config to reflect FP8 if that's the intended behavior
Suggested change
precision: fp8
precision: fp4

Comment thread .github/configs/amd-master.yaml Outdated

dsr1-fp4-mi355x-sglang-disagg:
image: rocm/sgl-dev:main-ec76c-rocm700-mi35x-0131
model: deepseek-ai/DeepSeek-R1-0528

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 BLOCKING: Model mismatch for FP4 config
Why it matters: The config is named dsr1-fp4-mi355x-sglang-disagg but uses the standard deepseek-ai/DeepSeek-R1-0528 model. For FP4, you likely want the MXFP4 model variant.
Fix: Update to use the FP4-specific model:

Suggested change
model: deepseek-ai/DeepSeek-R1-0528
model: amd/DeepSeek-R1-0528-MXFP4-Preview

# git clone --branch cam/sa-251219 https://github.com/cquil11/sglang_disagg.git

# Switch to origin repo url for supporting wide ep configs
git clone --branch deepseek-fp4 https://github.com/cquil11/sglang_disagg.git

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 WARNING: Script clones from a personal fork
Why it matters: Using a personal fork (cquil11/sglang_disagg) reduces reproducibility. For production configs, consider using an official or organization-owned repository.
Note: If this is intentional for experimental work, please confirm in the PR description.

# Set up SGL launch script-specific environment variables
export TIME_LIMIT="08:00:00"
export MODEL_PATH=$MODEL_PATH
export MODEL_NAME="DeepSeek-R1-0528-MXFP4-Preview"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 WARNING: Hardcoded model name may conflict with config
Why it matters: The MODEL_NAME is hardcoded to "DeepSeek-R1-0528-MXFP4-Preview" but the current config uses deepseek-ai/DeepSeek-R1-0528. This mismatch could cause confusion or incorrect benchmark labeling.
Fix: Consider using the model name from $MODEL_PATH or ensuring consistency with the config file.

@functionstackx functionstackx changed the title [WIP][experimental] [WIP]personal learning of sglang fp4 Feb 2, 2026
@functionstackx functionstackx changed the title [WIP]personal learning of sglang fp4 [WIP]personal learning of amd sglang disagg prefill Feb 2, 2026
@cquil11 cquil11 closed this Feb 3, 2026
@cquil11 cquil11 added the AMD label Apr 8, 2026
@cquil11 cquil11 changed the title [WIP]personal learning of amd sglang disagg prefill [AMD] [WIP]personal learning of amd sglang disagg prefill Apr 8, 2026
@cquil11
cquil11 deleted the experimental/mi355x-dsfp4 branch September 25, 2026 05:16
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.

1 participant