Fix nullable_kvs fallback (#16837)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-04-18 05:58:39 -07:00
committed by GitHub
parent aadb656562
commit 686623c5e7
8 changed files with 27 additions and 19 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
import json
import openai
import pytest
import pytest_asyncio
@@ -27,7 +29,7 @@ def server():
"--enforce-eager",
"--trust-remote-code",
"--limit-mm-per-prompt",
str({"audio": MAXIMUM_AUDIOS}),
json.dumps({"audio": MAXIMUM_AUDIOS}),
]
with RemoteOpenAIServer(MODEL_NAME, args) as remote_server:
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
import json
import openai
import pytest
import pytest_asyncio
@@ -31,7 +33,7 @@ def server():
"--enforce-eager",
"--trust-remote-code",
"--limit-mm-per-prompt",
str({"video": MAXIMUM_VIDEOS}),
json.dumps({"video": MAXIMUM_VIDEOS}),
]
with RemoteOpenAIServer(MODEL_NAME, args) as remote_server:
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
import json
import openai
import pytest
import pytest_asyncio
@@ -35,7 +37,7 @@ def server():
"--enforce-eager",
"--trust-remote-code",
"--limit-mm-per-prompt",
str({"image": MAXIMUM_IMAGES}),
json.dumps({"image": MAXIMUM_IMAGES}),
]
with RemoteOpenAIServer(MODEL_NAME, args) as remote_server:
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
import json
import pytest
import requests
from PIL import Image
@@ -37,7 +39,7 @@ def server():
"--enforce-eager",
"--trust-remote-code",
"--limit-mm-per-prompt",
str({"image": MAXIMUM_IMAGES}),
json.dumps({"image": MAXIMUM_IMAGES}),
"--chat-template",
str(vlm2vec_jinja_path),
]