Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions tests/integration/defs/accuracy/test_llm_api_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3168,7 +3168,7 @@ def test_nvfp4_multi_gpus_chunked_prefill(self, tp_size, pp_size, ep_size,
task.evaluate(llm)

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
def test_nvfp4_multi_gpus_corner_case(self):
"""Test the corner case of the NVFP4 model.

Expand Down Expand Up @@ -3321,7 +3321,7 @@ def test_auto_dtype_tp2(self):


@pytest.mark.timeout(14400)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
class TestDeepSeekV3(LlmapiAccuracyTestHarness):
MODEL_NAME = "deepseek-ai/DeepSeek-V3-0324"
MODEL_PATH = f"{llm_models_root()}/DeepSeek-V3-0324-FP4"
Expand Down Expand Up @@ -3941,7 +3941,7 @@ def test_nvfp4_4gpus_online_eplb(self, moe_backend, mtp_nextn):


@pytest.mark.timeout(14400)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.skip_less_device_memory(140000)
@skip_pre_blackwell
class TestDeepSeekV4Pro(LlmapiAccuracyTestHarness):
Expand Down Expand Up @@ -4135,7 +4135,7 @@ def test_fp8_blockscale(self, tp_size, pp_size, ep_size, fp8kv,
@pytest.mark.skip_less_device_memory(120000)
@pytest.mark.parametrize("tp_size", [
pytest.param(4, marks=pytest.mark.skip_less_device(4)),
pytest.param(8, marks=pytest.mark.skip_less_device(8)),
pytest.param(8, marks=pytest.mark.skip_less_mpi_world_size(8)),
],
ids=["4gpus", "8gpus"])
def test_nvfp4(self, tp_size):
Expand All @@ -4160,7 +4160,7 @@ def test_nvfp4(self, tp_size):
task.evaluate(llm)

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.skip_less_device_memory(183000)
@pytest.mark.timeout(14400)
@pytest.mark.filterwarnings(
Expand Down Expand Up @@ -4242,7 +4242,7 @@ def test_nvfp4_longseq_trtllm_moe_stress(self, mocker):
assert not all(tid == 0 for tid in token_ids)

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.skip_less_device_memory(183000)
@pytest.mark.timeout(14400)
@pytest.mark.filterwarnings(
Expand Down Expand Up @@ -4875,7 +4875,7 @@ class TestQwen3_235B_A22B(LlmapiAccuracyTestHarness):
MODEL_NAME = "Qwen3/Qwen3-235B-A22B"

@skip_pre_hopper
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize(
"tp_size,pp_size,ep_size,attention_dp,cuda_graph,overlap_scheduler",
[(8, 1, 8, False, True, True), (8, 1, 8, True, True, True)],
Expand Down Expand Up @@ -4904,7 +4904,7 @@ def test_fp8(self, tp_size, pp_size, ep_size, attention_dp, cuda_graph,
task.evaluate(llm)

@skip_pre_hopper
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize("tp_size,pp_size,ep_size,attention_dp,moe_backend",
[(8, 1, 8, True, "DEEPGEMM"),
(8, 1, 8, False, "DEEPGEMM"),
Expand Down Expand Up @@ -7795,7 +7795,7 @@ class TestMiniMaxM3(LlmapiAccuracyTestHarness):
MODEL_NAME = "MiniMaxAI/MiniMax-M3"
MODEL_PATH = f"{llm_models_root()}/MiniMax-M3"

@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.skip_less_device_memory(140000)
@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
def test_auto_dtype(self, tp_size, ep_size):
Expand Down Expand Up @@ -7922,7 +7922,7 @@ class TestGLM5FP8(LlmapiAccuracyTestHarness):
MODEL_PATH = f"{llm_models_root()}/GLM-5-FP8"

@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
def test_8gpus(self, tp_size, ep_size):
kv_cache_config = KvCacheConfig(free_gpu_memory_fraction=0.7)

Expand All @@ -7949,7 +7949,7 @@ def test_8gpus(self, tp_size, ep_size):
class TestGLM52(LlmapiAccuracyTestHarness):

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
def test_nvfp4(self, tp_size, ep_size):
# GLM-5.2 reuses the DeepSeek-V3.2 path (MLA + DSA) with cross-layer
Expand Down Expand Up @@ -7982,7 +7982,7 @@ def test_nvfp4(self, tp_size, ep_size):
task.evaluate(llm)

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
def test_nvfp4_mtp_index_share(self, tp_size, ep_size):
# Like test_nvfp4 but max_draft_len=3, exercising DSA indexer Top-K reuse
Expand Down Expand Up @@ -8012,7 +8012,7 @@ def test_nvfp4_mtp_index_share(self, tp_size, ep_size):
task.evaluate(llm)

@skip_pre_blackwell
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
def test_nvfp4_mtp_index_share_mtp_ar(self, tp_size, ep_size):
# Acceptance-rate guard for max_draft_len=3 + index-share; counts accepted
Expand Down Expand Up @@ -8093,7 +8093,7 @@ class TestStep3_7(LlmapiAccuracyTestHarness):
# the text decoder path. The custom HF config requires trust_remote_code.
MODEL_NAME = "stepfun-ai/Step-3.7-Flash"

@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.skip_less_device_memory(140000)
@parametrize_with_ids("tp_size,ep_size", [(8, 8)])
def test_auto_dtype(self, tp_size, ep_size):
Expand Down
14 changes: 7 additions & 7 deletions tests/integration/defs/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def test_ptp_quickstart_advanced_bs1(llm_root, llm_venv):


@pytest.mark.skip_less_device_memory(80000)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@skip_pre_hopper
@pytest.mark.parametrize("model_path", [
pytest.param('DeepSeek-V3', marks=skip_post_blackwell),
Expand Down Expand Up @@ -1230,7 +1230,7 @@ def test_ptp_quickstart_advanced_deepseek_v3_lite_4gpus_adp_balance(

@skip_post_blackwell
@pytest.mark.skip_less_device_memory(110000)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize("model_name,model_path", [
pytest.param(
'DeepSeek-R1', 'DeepSeek-R1/DeepSeek-R1', marks=skip_pre_hopper),
Expand Down Expand Up @@ -1259,7 +1259,7 @@ def test_ptp_quickstart_advanced_deepseek_r1_8gpus(llm_root, llm_venv,


@pytest.mark.skip_less_device_memory(110000)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize("model_name,model_path", [
pytest.param(
'DeepSeek-R1', 'DeepSeek-R1/DeepSeek-R1', marks=skip_pre_hopper),
Expand Down Expand Up @@ -1298,7 +1298,7 @@ def test_relaxed_acceptance_quickstart_advanced_deepseek_r1_8gpus(
@skip_pre_ada
@skip_post_blackwell
@pytest.mark.skip_less_device_memory(80000)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize("model_name,model_path", [
pytest.param('DeepSeek-R1-W4AFP8',
'DeepSeek-R1/DeepSeek-R1-W4AFP8',
Expand All @@ -1324,7 +1324,7 @@ def test_ptp_quickstart_advanced_deepseek_r1_w4afp8_8gpus(

@skip_pre_blackwell
@pytest.mark.skip_less_device_memory(140000)
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
def test_deepseek_r1_mtp_bench(llm_root, llm_venv):
"""Test DeepSeek-R1 FP4 with MTP speculative decoding using BenchRunner.

Expand Down Expand Up @@ -1454,7 +1454,7 @@ def test_ptp_quickstart_advanced_multi_gpus(llm_root, llm_venv, model_name,
@pytest.mark.parametrize("cuda_graph", [False, True])
@pytest.mark.parametrize("tp_size, pp_size", [
pytest.param(2, 2, marks=pytest.mark.skip_less_device(4)),
pytest.param(2, 4, marks=pytest.mark.skip_less_device(8)),
pytest.param(2, 4, marks=pytest.mark.skip_less_mpi_world_size(8)),
])
@pytest.mark.parametrize("model_name,model_path", [
pytest.param('Llama3.3-70B-FP8',
Expand Down Expand Up @@ -1485,7 +1485,7 @@ def test_ptp_quickstart_advanced_pp_enabled(llm_root, llm_venv, model_name,


@skip_pre_hopper
@pytest.mark.skip_less_device(8)
@pytest.mark.skip_less_mpi_world_size(8)
@pytest.mark.parametrize("cuda_graph", [False, True])
@pytest.mark.parametrize("model_name,model_path", [
("Llama-4-Maverick-17B-128E-Instruct-FP8",
Expand Down
Loading