From c97559bc3996dd26bf6bbb23bbfdafbb18b10ce5 Mon Sep 17 00:00:00 2001 From: Xida Date: Fri, 27 Dec 2024 17:05:25 +0000 Subject: [PATCH] xfail llama3.1 tests because files not availablbe on ci machine --- .../llm/shortfin/test_llm_server.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/app_tests/integration_tests/llm/shortfin/test_llm_server.py b/app_tests/integration_tests/llm/shortfin/test_llm_server.py index ebec0d8be..d8476c8eb 100755 --- a/app_tests/integration_tests/llm/shortfin/test_llm_server.py +++ b/app_tests/integration_tests/llm/shortfin/test_llm_server.py @@ -17,8 +17,20 @@ class TestLLMServer: [ ("open_llama_3b", {"model": "open_llama_3b", "prefix_sharing": "none"}), ("open_llama_3b", {"model": "open_llama_3b", "prefix_sharing": "trie"}), - ("llama3.1_8b", {"model": "llama3.1_8b", "prefix_sharing": "none"}), - ("llama3.1_8b", {"model": "llama3.1_8b", "prefix_sharing": "trie"}), + pytest.param( + "llama3.1_8b", + {"model": "llama3.1_8b", "prefix_sharing": "none"}, + marks=pytest.mark.xfail( + reason="llama3.1_8b irpa file not available on CI machine" + ), + ), + pytest.param( + "llama3.1_8b", + {"model": "llama3.1_8b", "prefix_sharing": "trie"}, + marks=pytest.mark.xfail( + reason="llama3.1_8b irpa file not available on CI machine" + ), + ), ], ids=[ "open_llama_3b_none",