From 428b988c98a0dee06c47d4a70858317b60169461 Mon Sep 17 00:00:00 2001 From: Andreas Karatzas Date: Fri, 24 Apr 2026 21:59:31 -0500 Subject: [PATCH] [ROCm][CI] Fix `trust_remote_code` AttributeError in EAGLE3 acceptance length test (#40306) Signed-off-by: Andreas Karatzas --- tests/v1/spec_decode/test_acceptance_length.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/v1/spec_decode/test_acceptance_length.py b/tests/v1/spec_decode/test_acceptance_length.py index aa8e40a2de..ec65e20cbd 100644 --- a/tests/v1/spec_decode/test_acceptance_length.py +++ b/tests/v1/spec_decode/test_acceptance_length.py @@ -165,6 +165,7 @@ def get_mt_bench_prompts( no_stream=True, disable_shuffle=False, skip_chat_template=False, + trust_remote_code=False, ) samples = get_samples(args, tokenizer) prompt_ids = [ @@ -210,8 +211,8 @@ def extract_acceptance_metrics(metrics, num_spec_tokens: int) -> dict: @large_gpu_mark(min_gb=40) @pytest.mark.skipif( - not current_platform.is_cuda(), - reason="This test is only supported on CUDA platform.", + not current_platform.is_cuda_alike(), + reason="This test is only supported on CUDA-alike platforms.", ) @pytest.mark.parametrize( "model_config",