Fix/turbomind fp8 pre sm90 - #11
Open
lvhan028 wants to merge 10 commits into
Open
Conversation
* fix: harden serving request validation * fix: preserve anthropic parser decode options
* cover Qwen3.8 preserve_thinking support * remove 'reasoning' statement in user guide
…ltiple of uint (InternLM#4873) * allgather fallback * update comments * pad lm_head to uint4
Pre-SM90 FP8 weight-only path calls BlockscaleToGroupscale, whose kernel requires f32 input. Qwen3.5-FP8 checkpoints store block scales as bf16, so the TM_CHECK_EQ at cast.cu:248 aborted on load. Cast to f32 first, mirroring the native FP8 path at linear_weight.cc:164.
Drop the hard requirement that BlockscaleToGroupscale receive f32 scales. The kernel is templated on the source type, so dispatch over both src (half/bf16/f32) and dst (half/bf16) dtypes and let the elementwise cast happen in a single kernel launch. This removes the intermediate bf16->f32 buffer the caller previously needed.
lvhan028
force-pushed
the
fix/turbomind-fp8-pre-sm90
branch
from
August 19, 2026 10:25
9f10393 to
33c3d66
Compare
lvhan028
force-pushed
the
fix/turbomind-fp8-pre-sm90
branch
from
August 19, 2026 12:38
3f1f8bf to
57175eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.