[Docs] Improve malformed exception caused by backslash line continuations (#31694)

Signed-off-by: maang <maang_h@163.com>
Signed-off-by: maang <55082429+maang-h@users.noreply.github.com>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
maang
2026-01-06 09:51:54 +08:00
committed by GitHub
parent ccb309a964
commit d386ab1412
7 changed files with 14 additions and 17 deletions

View File

@@ -231,8 +231,7 @@ def rocm_aiter_fused_experts(
# w8a8 block-scaled
if quant_config.block_shape is not None and quant_config.use_fp8_w8a8:
assert not apply_router_weight_on_input, (
"apply_router_weight_on_input is\
not supported for block scaled moe"
"apply_router_weight_on_input is not supported for block scaled moe"
)
assert quant_config.w1_scale is not None
assert quant_config.w2_scale is not None