Revert "Fix DeepSeek V32 FP4 test" (#21003)
This commit is contained in:
@@ -865,7 +865,6 @@ def popen_launch_server(
|
|||||||
Started subprocess.Popen object
|
Started subprocess.Popen object
|
||||||
"""
|
"""
|
||||||
other_args = other_args or []
|
other_args = other_args or []
|
||||||
offline_force_disabled = env.get("HF_HUB_OFFLINE") == "0"
|
|
||||||
|
|
||||||
# Auto-detect device if needed
|
# Auto-detect device if needed
|
||||||
if device == "auto":
|
if device == "auto":
|
||||||
@@ -886,7 +885,7 @@ def popen_launch_server(
|
|||||||
try:
|
try:
|
||||||
from sglang.utils import is_in_ci
|
from sglang.utils import is_in_ci
|
||||||
|
|
||||||
if is_in_ci() and not offline_force_disabled:
|
if is_in_ci():
|
||||||
per_run_marker_path = _try_enable_offline_mode_if_cache_complete(
|
per_run_marker_path = _try_enable_offline_mode_if_cache_complete(
|
||||||
model, env, other_args
|
model, env, other_args
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import os
|
|
||||||
import unittest
|
import unittest
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
|
|
||||||
@@ -47,10 +46,6 @@ class TestDeepseekV32FP4DP(CustomTestCase):
|
|||||||
cls.base_url,
|
cls.base_url,
|
||||||
timeout=SERVER_LAUNCH_TIMEOUT,
|
timeout=SERVER_LAUNCH_TIMEOUT,
|
||||||
other_args=other_args,
|
other_args=other_args,
|
||||||
env={
|
|
||||||
**os.environ,
|
|
||||||
"HF_HUB_OFFLINE": "0",
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -118,10 +113,6 @@ class TestDeepseekV32FP4TP(CustomTestCase):
|
|||||||
cls.base_url,
|
cls.base_url,
|
||||||
timeout=SERVER_LAUNCH_TIMEOUT,
|
timeout=SERVER_LAUNCH_TIMEOUT,
|
||||||
other_args=other_args,
|
other_args=other_args,
|
||||||
env={
|
|
||||||
**os.environ,
|
|
||||||
"HF_HUB_OFFLINE": "0",
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import os
|
|
||||||
import unittest
|
import unittest
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
|
|
||||||
@@ -61,10 +60,6 @@ class TestDeepseekV32FP4DPSpecV2(CustomTestCase):
|
|||||||
cls.base_url,
|
cls.base_url,
|
||||||
timeout=SERVER_LAUNCH_TIMEOUT,
|
timeout=SERVER_LAUNCH_TIMEOUT,
|
||||||
other_args=other_args,
|
other_args=other_args,
|
||||||
env={
|
|
||||||
**os.environ,
|
|
||||||
"HF_HUB_OFFLINE": "0",
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -155,10 +150,6 @@ class TestDeepseekV32FP4TPSpecV2(CustomTestCase):
|
|||||||
cls.base_url,
|
cls.base_url,
|
||||||
timeout=SERVER_LAUNCH_TIMEOUT,
|
timeout=SERVER_LAUNCH_TIMEOUT,
|
||||||
other_args=other_args,
|
other_args=other_args,
|
||||||
env={
|
|
||||||
**os.environ,
|
|
||||||
"HF_HUB_OFFLINE": "0",
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user