[3/N] CI refactor: move some manually triggered tests. (#13448)

This commit is contained in:
Liangsheng Yin
2025-11-19 23:06:53 +08:00
committed by GitHub
parent a1e1e533b9
commit 196b940aed
29 changed files with 22 additions and 52 deletions

View File

@@ -78,17 +78,17 @@ def send_one_prompt(args):
args.prompt = (
"Human: Describe this image in a very short sentence.\n\nAssistant:"
)
image_data = "https://raw.githubusercontent.com/sgl-project/sglang/main/test/lang/example_image.png"
image_data = "https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png"
elif args.many_images:
args.prompt = (
"Human: I have one reference image and many images."
"Describe their relationship in a very short sentence.\n\nAssistant:"
)
image_data = [
"https://raw.githubusercontent.com/sgl-project/sglang/main/test/lang/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/test/lang/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/test/lang/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/test/lang/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png",
"https://raw.githubusercontent.com/sgl-project/sglang/main/examples/assets/example_image.png",
]
else:
image_data = None

View File

@@ -123,7 +123,7 @@ DEFAULT_MODEL_NAME_FOR_NIGHTLY_EVAL_QUANT_TP1 = "hugging-quants/Meta-Llama-3.1-8
DEFAULT_SMALL_MODEL_NAME_FOR_TEST_QWEN = "Qwen/Qwen2.5-1.5B-Instruct"
DEFAULT_SMALL_VLM_MODEL_NAME_FOR_TEST = "Qwen/Qwen2.5-VL-3B-Instruct"
DEFAULT_IMAGE_URL = "https://github.com/sgl-project/sglang/blob/main/test/lang/example_image.png?raw=true"
DEFAULT_IMAGE_URL = "https://github.com/sgl-project/sglang/blob/main/examples/assets/example_image.png?raw=true"
DEFAULT_VIDEO_URL = "https://raw.githubusercontent.com/EvolvingLMMs-Lab/sglang/dev/onevision_local/assets/jobs.mp4"
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH = 600