dbrx instruct npu support (#17121)

Co-authored-by: McZyWu <zhuoyun.wu.23@ucl.ac.uk>
This commit is contained in:
KnightLTC
2026-03-21 17:10:35 +08:00
committed by GitHub
co-authored by McZyWu
parent ff921a2ed3
commit a0862f00c2
2 changed files with 34 additions and 2 deletions
@@ -0,0 +1,26 @@
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-8-npu-a3", nightly=True)
class TestDbrx(GSM8KAscendMixin, CustomTestCase):
model = "/root/.cache/modelscope/hub/models/AI-ModelScope/dbrx-instruct"
accuracy = 0.735
other_args = [
"--trust-remote-code",
"--mem-fraction-static",
"0.8",
"--attention-backend",
"ascend",
"--disable-cuda-graph",
"--tp-size",
"8",
]
if __name__ == "__main__":
unittest.main()