Repository navigation
[Bugfix][MiniMax-H3] Use Hopper-safe modulation precision - #7693
hsliuustc0106 merged 13 commits into
Conversation
Signed-off-by: david6666666 <530634352@qq.com>
|
This PR appears to belong to: docs/design/module/diffusion/offloader.md, docs/design/module/diffusion/diffusion_model_integration.md, docs/design/module/diffusion/index.md. Module owners: @wtomin @Isotr0py @princepride Routing: @wtomin via module of the changed files, module named in the PR description, CODEOWNERS; @Isotr0py via module of the changed files, module named in the PR description; @princepride via module of the changed files, module named in the PR description @david6666666, please review your own changes and leave a short self-review comment describing what you checked. PRs without author self-review may not be assigned a reviewer. Please take a look when you have a chance. If you would like an automated review, mention @vllm-omni-review-bot in a comment. |
Omni ReviewBot triage noteResolved as of |
Signed-off-by: david6666666 <530634352@qq.com>
Signed-off-by: david6666666 <530634352@qq.com>
|
The H100 result for One candidate worth checking is the keyframe cuDNN math mode. The current context still sets A controlled four-run comparison on 4×H800, using base
The only model-code behavior change was Environment: MiniMax-H3 FL2VA revision python -m pytest -s -v -o addopts='' \
tests/e2e/accuracy/minimax_h3/test_minimax_h3_i2va_ref2va_similarity.py::test_minimax_h3_i2va_matches_official_reference \
--run-level full_modelThis is evidence for one H800 fixture, not confirmation of an H100 fix or the official reference's math mode. Could we try the same scoped TF32 change on the failing H100 setup and compare the keyframe latents? The shared |
Signed-off-by: david6666666 <530634352@qq.com>
Signed-off-by: david6666666 <530634352@qq.com>
Signed-off-by: david6666666 <530634352@qq.com>
This reverts commit dfc012c. Signed-off-by: david6666666 <530634352@qq.com>
The keyframe TF32-only change still fails H100 I2VA accuracy. Remove the additional Hopper-only BF16 norm/affine rounding introduced by vllm-project#7693 while retaining the BF16 gated-residual boundary. This restores the existing fused FP32 contract on Hopper and leaves other architectures unchanged. Add exact tests for both kernels at a BF16 halfway value: the premature cast drops the RMS epsilon and changes 1.2265625 to 1.234375. The old BF16 branch fails both tests; the restored FP32 path passes. Signed-off-by: david6666666 <530634352@qq.com>
…ct#7693) Signed-off-by: david6666666 <530634352@qq.com> Signed-off-by: Matthieu Laneuville <matthieu.laneuville@surf.nl>
…ct#7693) Signed-off-by: david6666666 <530634352@qq.com>
Summary
Fix intermittent MiniMax-H3 I2VA accuracy failures on H100/SM90 by matching the unfused BF16 dtype boundaries in the two fused RMSNorm + AdaLN modulation kernels on Hopper only.
Diagnosis
Fix
Validation
Signed-off-by: david6666666 530634352@qq.com