[AMD] Register 2 hardware-agnostic 1-GPU PR tests for AMD CI (#30207)

This commit is contained in:
Michael
2026-07-07 14:46:22 -07:00
committed by GitHub
parent 090efa27a2
commit 60f502a4fd
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -4,9 +4,10 @@ import pytest
import torch
from sglang.srt.lora.backend.base_backend import _compute_moe_lora_info
from sglang.test.ci.ci_register import register_cuda_ci
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci
register_cuda_ci(est_time=5, stage="base-b", runner_config="1-gpu-small")
register_amd_ci(est_time=5, stage="stage-b", runner_config="1-gpu-small-amd")
def _expected_adapter_enabled(
@@ -8,7 +8,7 @@ import torch
from sglang.srt.entrypoints.engine import Engine
from sglang.srt.layers.sampler import Sampler, register_sampler_backend
from sglang.srt.managers.scheduler import run_scheduler_process
from sglang.test.ci.ci_register import register_cuda_ci
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci
from sglang.test.mock_model.utils import MOCK_MODEL_PATH
from sglang.test.test_utils import CustomTestCase
@@ -17,6 +17,7 @@ if TYPE_CHECKING:
from sglang.srt.sampling.sampling_batch_info import SamplingBatchInfo
register_cuda_ci(est_time=120, stage="base-b", runner_config="1-gpu-small")
register_amd_ci(est_time=120, stage="stage-b", runner_config="1-gpu-small-amd")
CUSTOMIZED_INFO_FIELD = "sampled_token_ids_copy"