[CI] Reorganize stage-b 1-GPU tests for 5090 compatibility (#16826)
This commit is contained in:
@@ -14,12 +14,6 @@ The test covers the following scenarios:
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci
|
||||
|
||||
register_cuda_ci(est_time=41, suite="stage-b-test-small-1-gpu")
|
||||
register_cuda_ci(est_time=43, suite="stage-b-test-small-1-gpu-5090")
|
||||
register_amd_ci(est_time=60, suite="stage-b-test-small-1-gpu-amd")
|
||||
import random
|
||||
import unittest
|
||||
|
||||
@@ -28,8 +22,12 @@ import torch.nn.functional as F
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
|
||||
import sglang as sgl
|
||||
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci
|
||||
from sglang.test.test_utils import DEFAULT_SMALL_MODEL_NAME_FOR_TEST
|
||||
|
||||
register_cuda_ci(est_time=41, suite="stage-b-test-small-1-gpu")
|
||||
register_amd_ci(est_time=60, suite="stage-b-test-small-1-gpu-amd")
|
||||
|
||||
# ------------------------- Configurable via env ------------------------- #
|
||||
MODEL_ID = DEFAULT_SMALL_MODEL_NAME_FOR_TEST
|
||||
PROMPTS = [
|
||||
|
||||
Reference in New Issue
Block a user