[NPU] update nightly tests (#17952)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: cy <chenyang08056032@163.com>
This commit is contained in:
Sugar920
2026-02-03 00:13:30 +08:00
committed by GitHub
co-authored by gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> cy
parent c971852ffc
commit c781db0f6c
52 changed files with 1703 additions and 69 deletions
+2 -2
View File
@@ -30,13 +30,13 @@ class TestVLMModels(CustomTestCase):
"--tp-size",
4,
]
timeout_for_server_launch = DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH
@classmethod
def setUpClass(cls):
# Removed argument parsing from here
cls.base_url = DEFAULT_URL_FOR_TEST
cls.api_key = "sk-123456"
cls.time_out = DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH
# Set OpenAI API key and base URL environment variables. Needed for lmm-evals to work.
os.environ["OPENAI_API_KEY"] = cls.api_key
@@ -134,7 +134,7 @@ class TestVLMModels(CustomTestCase):
process = popen_launch_server(
self.model,
base_url=self.base_url,
timeout=self.time_out,
timeout=self.timeout_for_server_launch,
api_key=self.api_key,
other_args=self.other_args,
env=process_env,