Fix import warnings (#15144)

This commit is contained in:
Lianmin Zheng
2025-12-14 21:25:18 -08:00
committed by GitHub
parent 9e9a61691e
commit 702426b06a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ def tensor_torch2ms(x: torch.Tensor):
return ms_tensor return ms_tensor
def tensor_ms2torch(x: ms.Tensor): def tensor_ms2torch(x: "ms.Tensor"):
if x is None or not isinstance(x, ms.Tensor): if x is None or not isinstance(x, ms.Tensor):
return x return x
+1 -1
View File
@@ -18,7 +18,7 @@ from sglang.test.test_utils import (
MODEL_SCORE_THRESHOLDS = { MODEL_SCORE_THRESHOLDS = {
"hugging-quants/Meta-Llama-3.1-8B-Instruct-AWQ-INT4": 0.825, "hugging-quants/Meta-Llama-3.1-8B-Instruct-AWQ-INT4": 0.825,
"hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4": 0.825, "hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4": 0.825,
"hugging-quants/Mixtral-8x7B-Instruct-v0.1-AWQ-INT4": 0.62, "hugging-quants/Mixtral-8x7B-Instruct-v0.1-AWQ-INT4": 0.615,
} }