Add fused MoE config for H200 E160 N192 fp8 #29182
Open
+147
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This PR adds a tuned fused MoE kernel configuration for the GLM-4 MoE architecture on NVIDIA H200 GPUs using FP8 quantization.
Specifically, it targets the configuration:
N=192for TP=8)Previously, vLLM lacked a static configuration for this specific shape (
E=160, N=192) on H200, causing it to fallback to heuristics or require JIT tuning during startup. This config improves startup time and ensures optimal kernel parameters are used for GLM-4 variants when running withtensor_parallel_size=8.Test Plan
Generation:
The configuration was generated using the official benchmark script on an 8x H200 node:
Test Result
The optimal configuration file E=160,N=192,device_name=NVIDIA_H200,dtype=fp8_w8a8.json was generated.
Performance:
Confirmed that vllm serve initializes the engine significantly faster (skipping the tuning/benchmarking phase).
Inference runs stably on 8x H200.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.