[NPU]bugfix: fix for dsv3.2 and dsvl2 (#17007)

Co-authored-by: Hexq0210 <893781835@qq.com>
Co-authored-by: liupeng374 <782420244@qq.com>
Co-authored-by: cy <chenyang08056032@163.com>
This commit is contained in:
JiaruiChang5268
2026-01-23 11:15:15 +08:00
committed by GitHub
co-authored by Hexq0210 liupeng374 cy
parent 7ace64d1d8
commit c0b5a180fe
5 changed files with 127 additions and 44 deletions
@@ -0,0 +1,29 @@
import unittest
from sglang.test.ascend.gsm8k_ascend_mixin import GSM8KAscendMixin
from sglang.test.ci.ci_register import register_npu_ci
from sglang.test.test_utils import CustomTestCase
register_npu_ci(est_time=400, suite="nightly-16-npu-a3", nightly=True)
class TestDeepSeekV3_2ExpW8A8(GSM8KAscendMixin, CustomTestCase):
model = "/root/.cache/modelscope/hub/models/DeepSeek-V3.2-Exp-W8A8"
accuracy = 0.51
other_args = [
"--trust-remote-code",
"--mem-fraction-static",
"0.9",
"--attention-backend",
"ascend",
"--disable-cuda-graph",
"--tp-size",
"16",
"--quantization",
"modelslim",
"--disable-radix-cache",
]
if __name__ == "__main__":
unittest.main()