Skip to content

Commit 155a238

Browse files
committed
[https://nvbugs/5448437,https://nvbugs/5448449][fix] fix some nixl tests
Signed-off-by: Bo Deng <[email protected]>
1 parent cd1b809 commit 155a238

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

tests/integration/defs/accuracy/test_disaggregated_serving.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from tensorrt_llm.llmapi.llm_args import LlmArgs
2222

2323
from ..conftest import (get_device_count, llm_models_root, parametrize_with_ids,
24-
skip_pre_hopper)
24+
skip_no_hopper, skip_pre_hopper)
2525
from ..trt_test_alternative import popen
2626
from .accuracy_core import (GSM8K, MMLU, LlmapiAccuracyTestHarness,
2727
get_accuracy_task)
@@ -508,6 +508,7 @@ class TestDeepSeekV3Lite(LlmapiAccuracyTestHarness):
508508

509509
@pytest.mark.skip_less_device(2)
510510
@pytest.mark.skip_less_device_memory(60000)
511+
@skip_no_hopper
511512
def test_nixl_backend(self):
512513
ctx_server_config = {
513514
"disable_overlap_scheduler": True,
@@ -642,6 +643,7 @@ class TestQwen3_8B(LlmapiAccuracyTestHarness):
642643
MODEL_PATH = f"{llm_models_root()}/Qwen3/Qwen3-8B-FP8"
643644

644645
@pytest.mark.skip_less_device(2)
646+
@skip_no_hopper
645647
def test_nixl_backend(self):
646648
ctx_server_config = {
647649
"disable_overlap_scheduler": True,
@@ -673,8 +675,6 @@ def test_nixl_backend(self):
673675
with launch_disaggregated_llm(disaggregated_server_config,
674676
ctx_server_config, gen_server_config,
675677
self.MODEL_PATH) as llm:
676-
task = MMLU(self.MODEL_NAME)
677-
task.evaluate(llm)
678678
task = GSM8K(self.MODEL_NAME)
679679
task.evaluate(llm)
680680

tests/integration/defs/disaggregated/test_disaggregated.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020

2121
import pytest
2222
import yaml
23-
from defs.conftest import llm_models_root, skip_arm, skip_no_hopper
23+
from defs.conftest import (get_sm_version, llm_models_root, skip_arm,
24+
skip_no_hopper)
2425
from defs.trt_test_alternative import check_call, check_output, popen
2526

2627
from tensorrt_llm.logger import logger
@@ -1212,7 +1213,7 @@ def get_config_for_benchmark(model_root, backend):
12121213
"num_instances": 1,
12131214
"max_batch_size": 2,
12141215
"max_num_tokens": 384,
1215-
"max_seq_len": 320,
1216+
"max_seq_len": 384,
12161217
"tensor_parallel_size": 1,
12171218
"pipeline_parallel_size": 1,
12181219
"disable_overlap_scheduler": True,
@@ -1228,7 +1229,7 @@ def get_config_for_benchmark(model_root, backend):
12281229
"pipeline_parallel_size": 1,
12291230
"max_batch_size": 2,
12301231
"max_num_tokens": 384,
1231-
"max_seq_len": 320,
1232+
"max_seq_len": 384,
12321233
"cache_transceiver_config": {
12331234
"backend": backend,
12341235
"max_tokens_in_buffer": 512,
@@ -1247,6 +1248,9 @@ def get_config_for_benchmark(model_root, backend):
12471248
def test_disaggregated_benchmark_on_diff_backends(
12481249
disaggregated_test_root, disaggregated_example_root, llm_venv,
12491250
benchmark_model_root, benchmark_root, shared_gpt_path):
1251+
if "DeepSeek-V3-Lite" in benchmark_model_root and "fp8" in benchmark_model_root and get_sm_version(
1252+
) != 90:
1253+
pytest.skip("The test should only run on Hopper")
12501254
nixl_config = get_config_for_benchmark(benchmark_model_root, "nixl")
12511255
ucx_config = get_config_for_benchmark(benchmark_model_root, "ucx")
12521256
temp_dir = tempfile.TemporaryDirectory()

tests/integration/test_lists/test-db/l0_dgx_b200.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,3 @@ l0_dgx_b200:
7272
- disaggregated/test_disaggregated.py::test_disaggregated_benchmark_on_diff_backends[DeepSeek-V3-Lite-bf16]
7373
- disaggregated/test_disaggregated.py::test_disaggregated_benchmark_on_diff_backends[llama-v3-8b-hf]
7474
- disaggregated/test_disaggregated.py::test_disaggregated_benchmark_on_diff_backends[llama-3.1-8b-instruct-hf-fp8]
75-
- disaggregated/test_disaggregated.py::test_disaggregated_benchmark_on_diff_backends[DeepSeek-V3-Lite-fp8]
76-
- accuracy/test_disaggregated_serving.py::TestQwen3_8B::test_nixl_backend
77-
- accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_nixl_backend

tests/integration/test_lists/waives.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ examples/test_gemma.py::test_hf_gemma_fp8_base_bf16_multi_lora[gemma-2-9b-it] SK
274274
examples/test_gemma.py::test_hf_gemma_fp8_base_bf16_multi_lora[gemma-2-27b-it] SKIP (https://nvbugs/5434451)
275275
examples/test_gemma.py::test_hf_gemma_fp8_base_bf16_multi_lora[gemma-3-1b-it] SKIP (https://nvbugs/5434451)
276276
accuracy/test_llm_api_pytorch.py::TestQwen3_235B_A22B::test_nvfp4[latency_moe_trtllm_eagle3] SKIP (https://nvbugs/5437384)
277-
accuracy/test_disaggregated_serving.py::TestQwen3_8B::test_nixl_backend SKIP (https://nvbugs/5448437)
278-
disaggregated/test_disaggregated.py::test_disaggregated_benchmark_on_diff_backends[DeepSeek-V3-Lite-fp8] SKIP (https://nvbugs/5448449)
277+
accuracy/test_llm_api_pytorch.py::TestGemma3_27BInstruct::test_fp8_prequantized SKIP (https://nvbugs/5445774)
279278
test_e2e.py::test_ptp_quickstart_multimodal[llava-v1.6-mistral-7b-llava-v1.6-mistral-7b-hf-image-False] SKIP (https://nvbugs/5444095)
280279
full:GB200/examples/test_qwen.py::test_llm_qwen_7b_multi_gpus_summary[qwen1.5_7b_chat-enable_fmha_fp32_acc-enable_plugin-tp2pp2-nb:4] SKIP (https://nvbugs/5247837)
281280
full:GB200/examples/test_qwen.py::test_llm_qwen_7b_multi_gpus_summary[qwen2_7b_instruct-enable_fmha_fp32_acc-enable_plugin-tp2pp2-nb:4] SKIP (https://nvbugs/5247837)

0 commit comments

Comments
 (0)