We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040a895 commit b38bd4aCopy full SHA for b38bd4a
tests/unittest/llmapi/apps/_test_openai_chat_harmony.py
@@ -14,10 +14,18 @@ def model():
14
return "gpt_oss/gpt-oss-20b/"
15
16
17
+@pytest.fixture(scope="module",
18
+ params=[0, 2],
19
+ ids=["disable_processpool", "enable_processpool"])
20
+def num_postprocess_workers(request):
21
+ return request.param
22
+
23
24
@pytest.fixture(scope="module")
-def server(model: str):
25
+def server(model: str, num_postprocess_workers: int):
26
model_path = get_model_path(model)
- with RemoteOpenAIServer(model_path) as remote_server:
27
+ args = ["--num_postprocess_workers", f"{num_postprocess_workers}"]
28
+ with RemoteOpenAIServer(model_path, args) as remote_server:
29
yield remote_server
30
31
0 commit comments