[quant] fix fp32 downcasting (#19844)

Co-authored-by: qiuxuan.lzw <qiuxuan.lzw@alibaba-inc.com>
This commit is contained in:
StonyPort
2026-03-05 17:54:59 +08:00
committed by GitHub
co-authored by qiuxuan.lzw
parent 472eef4071
commit 806d41ab65
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -326,6 +326,7 @@ class Envs:
SGLANG_NVFP4_CKPT_FP8_GEMM_IN_ATTN = EnvBool(False)
SGLANG_PER_TOKEN_GROUP_QUANT_8BIT_V2 = EnvBool(False)
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE = EnvBool(False)
SGLANG_QUANT_ALLOW_DOWNCASTING = EnvBool(False)
# Flashinfer
SGLANG_IS_FLASHINFER_AVAILABLE = EnvBool(True)