Use 32x32 black image for VLM server warmup and bring glm4.1v back to UT (#13222)
This commit is contained in:
@@ -1431,8 +1431,8 @@ def launch_server(
|
|||||||
_global_state.tokenizer_manager.socket_mapping.clear_all_sockets()
|
_global_state.tokenizer_manager.socket_mapping.clear_all_sockets()
|
||||||
|
|
||||||
|
|
||||||
# Minimal 2x2 black PNG (base64, 1x1 image would cause ambiguous in image channel dimension)
|
# Minimal 32x32 black PNG (base64, GLM4v requires at least 32x32 sized image)
|
||||||
MINIMUM_PNG_PICTURE_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEElEQVQImWNgYGD4z8DAAAQYAAH7u8WFAAAAAElFTkSuQmCC"
|
MINIMUM_PNG_PICTURE_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAbUlEQVRYhe3VsQ2AMAxE0Y/lIgNQULD/OqyCMgCihCKSG4yRuKuiNH6JLsoEbMACOGBcua9HOR7Y6w6swBwMy0qLTpkeI77qdEBpBFAHBBDAGH8WrwJKI4AAegUCfAKgEgpQDvh3CR3oQCuav58qlAw73kKCSgAAAABJRU5ErkJggg=="
|
||||||
|
|
||||||
|
|
||||||
def _execute_server_warmup(
|
def _execute_server_warmup(
|
||||||
@@ -1535,7 +1535,7 @@ def _execute_server_warmup(
|
|||||||
headers=headers,
|
headers=headers,
|
||||||
timeout=600,
|
timeout=600,
|
||||||
)
|
)
|
||||||
assert res.status_code == 200, f"{res}"
|
assert res.status_code == 200, f"{res.text}"
|
||||||
_global_state.tokenizer_manager.server_status = ServerStatus.Up
|
_global_state.tokenizer_manager.server_status = ServerStatus.Up
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -136,9 +136,6 @@ class TestKimiVLServer(ImageOpenAITestMixin):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@unittest.skip(
|
|
||||||
"Temporarily disabling this test to fix CI. It should be re-enabled when #11800 is done."
|
|
||||||
)
|
|
||||||
class TestGLM41VServer(ImageOpenAITestMixin, VideoOpenAITestMixin):
|
class TestGLM41VServer(ImageOpenAITestMixin, VideoOpenAITestMixin):
|
||||||
model = "zai-org/GLM-4.1V-9B-Thinking"
|
model = "zai-org/GLM-4.1V-9B-Thinking"
|
||||||
extra_args = [
|
extra_args = [
|
||||||
|
|||||||
Reference in New Issue
Block a user