Fix DeepSeek V32 FP4 test (#20984)

This commit is contained in:
Baizhou Zhang
2026-03-20 01:04:32 -07:00
committed by GitHub
parent 26f709e97d
commit c82d20d48e
3 changed files with 20 additions and 1 deletions
@@ -1,3 +1,4 @@
import os
import unittest
from types import SimpleNamespace
@@ -46,6 +47,10 @@ class TestDeepseekV32FP4DP(CustomTestCase):
cls.base_url,
timeout=SERVER_LAUNCH_TIMEOUT,
other_args=other_args,
env={
**os.environ,
"HF_HUB_OFFLINE": "0",
},
)
@classmethod
@@ -113,6 +118,10 @@ class TestDeepseekV32FP4TP(CustomTestCase):
cls.base_url,
timeout=SERVER_LAUNCH_TIMEOUT,
other_args=other_args,
env={
**os.environ,
"HF_HUB_OFFLINE": "0",
},
)
@classmethod
@@ -1,3 +1,4 @@
import os
import unittest
from types import SimpleNamespace
@@ -60,6 +61,10 @@ class TestDeepseekV32FP4DPSpecV2(CustomTestCase):
cls.base_url,
timeout=SERVER_LAUNCH_TIMEOUT,
other_args=other_args,
env={
**os.environ,
"HF_HUB_OFFLINE": "0",
},
)
@classmethod
@@ -150,6 +155,10 @@ class TestDeepseekV32FP4TPSpecV2(CustomTestCase):
cls.base_url,
timeout=SERVER_LAUNCH_TIMEOUT,
other_args=other_args,
env={
**os.environ,
"HF_HUB_OFFLINE": "0",
},
)
@classmethod