Repository navigation
Fix triton head num - #1482
Merged
Merged
Fix triton head num#1482
Conversation
ispobock
requested review from
merrymercy and
zhyncs
and removed request for
merrymercy
September 21, 2024 01:51
zhyncs
approved these changes
Sep 21, 2024
This was referenced Sep 21, 2024
5 tasks done
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 17, 2026
…t_scale, not the ignore list df2l (17.09., lued/Qwen3.8-27B-INT8-W8A16-MTP, the ORIGINAL checkpoint): BF16 vocab, targets ['Linear'], embed_tokens not in ignore -- exactly the shape our sgl-project#727 requant has with int8 rows, so vocab_is_quantized answered 'quantized' and BF16 rows went through the int8 method: the target answered '!!!' (token 0) on every prompt, NEXTN's MTP head died in gemma_rmsnorm on a Char tensor. The tensor file is the authority now (index.json / single-file header: <leaf>.weight_scale present?), read via the runtime context's model_path at both call sites; the ignore-list reading stays the fallback without a readable index. Tests: test_ct_embedding_vocab_scale_1482 (3) + test_ct_embedding_int8_727 (18) -> 21 passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 17, 2026
…t_scale, not the ignore list df2l (17.09., lued/Qwen3.8-27B-INT8-W8A16-MTP, the ORIGINAL checkpoint): BF16 vocab, targets ['Linear'], embed_tokens not in ignore -- exactly the shape our sgl-project#727 requant has with int8 rows, so vocab_is_quantized answered 'quantized' and BF16 rows went through the int8 method: the target answered '!!!' (token 0) on every prompt, NEXTN's MTP head died in gemma_rmsnorm on a Char tensor. The tensor file is the authority now (index.json / single-file header: <leaf>.weight_scale present?), read via the runtime context's model_path at both call sites; the ignore-list reading stays the fallback without a readable index. Tests: test_ct_embedding_vocab_scale_1482 (3) + test_ct_embedding_int8_727 (18) -> 21 passed. (cherry picked from commit 40d2439)
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.
Motivation
Fix triton backend head num. Add MLA ut.