Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
66b809cc
Commit
66b809cc
authored
Feb 08, 2025
by
zhuwenwen
Browse files
Merge tag 'v0.7.2' into v0.7.2-dev
parents
37b63c24
0408efc6
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
40 additions
and
1 deletion
+40
-1
tests/entrypoints/openai/test_oot_registration.py
tests/entrypoints/openai/test_oot_registration.py
+2
-0
tests/entrypoints/openai/test_pooling.py
tests/entrypoints/openai/test_pooling.py
+2
-0
tests/entrypoints/openai/test_prompt_validation.py
tests/entrypoints/openai/test_prompt_validation.py
+2
-0
tests/entrypoints/openai/test_rerank.py
tests/entrypoints/openai/test_rerank.py
+2
-0
tests/entrypoints/openai/test_return_tokens_as_ids.py
tests/entrypoints/openai/test_return_tokens_as_ids.py
+2
-0
tests/entrypoints/openai/test_root_path.py
tests/entrypoints/openai/test_root_path.py
+2
-0
tests/entrypoints/openai/test_run_batch.py
tests/entrypoints/openai/test_run_batch.py
+2
-0
tests/entrypoints/openai/test_score.py
tests/entrypoints/openai/test_score.py
+2
-0
tests/entrypoints/openai/test_serving_chat.py
tests/entrypoints/openai/test_serving_chat.py
+2
-0
tests/entrypoints/openai/test_serving_models.py
tests/entrypoints/openai/test_serving_models.py
+2
-0
tests/entrypoints/openai/test_shutdown.py
tests/entrypoints/openai/test_shutdown.py
+2
-0
tests/entrypoints/openai/test_tokenization.py
tests/entrypoints/openai/test_tokenization.py
+2
-0
tests/entrypoints/openai/test_video.py
tests/entrypoints/openai/test_video.py
+2
-0
tests/entrypoints/openai/test_vision.py
tests/entrypoints/openai/test_vision.py
+2
-0
tests/entrypoints/openai/test_vision_embedding.py
tests/entrypoints/openai/test_vision_embedding.py
+2
-0
tests/entrypoints/openai/tool_parsers/test_pythonic_tool_parser.py
...rypoints/openai/tool_parsers/test_pythonic_tool_parser.py
+2
-0
tests/entrypoints/openai/tool_parsers/utils.py
tests/entrypoints/openai/tool_parsers/utils.py
+2
-0
tests/entrypoints/test_chat_utils.py
tests/entrypoints/test_chat_utils.py
+2
-1
tests/kernels/allclose_default.py
tests/kernels/allclose_default.py
+2
-0
tests/kernels/conftest.py
tests/kernels/conftest.py
+2
-0
No files found.
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
tests/entrypoints/openai/test_oot_registration.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
os
from
...utils
import
VLLM_PATH
,
RemoteOpenAIServer
,
models_path_prefix
,
envs
...
...
tests/entrypoints/openai/test_pooling.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
base64
import
numpy
as
np
...
...
tests/entrypoints/openai/test_prompt_validation.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
# imports for guided decoding tests
import
re
import
os
...
...
tests/entrypoints/openai/test_rerank.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
requests
...
...
tests/entrypoints/openai/test_return_tokens_as_ids.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
# Separate these tests out from test_completion and test_chat, because they
# require launching a second server with a different flag. Running both servers
# at the same time on a single node will OOM.
...
...
tests/entrypoints/openai/test_root_path.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
contextlib
import
os
from
typing
import
Any
,
List
,
NamedTuple
...
...
tests/entrypoints/openai/test_run_batch.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
json
import
subprocess
import
sys
...
...
tests/entrypoints/openai/test_score.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
os
import
pytest
import
requests
...
...
tests/entrypoints/openai/test_serving_chat.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
asyncio
from
contextlib
import
suppress
from
dataclasses
import
dataclass
...
...
tests/entrypoints/openai/test_serving_models.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
http
import
HTTPStatus
from
unittest.mock
import
MagicMock
...
...
tests/entrypoints/openai/test_shutdown.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
openai
import
pytest
...
...
tests/entrypoints/openai/test_tokenization.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
os
import
pytest_asyncio
...
...
tests/entrypoints/openai/test_video.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
Dict
,
List
import
os
...
...
tests/entrypoints/openai/test_vision.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
Dict
,
List
import
openai
...
...
tests/entrypoints/openai/test_vision_embedding.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
Dict
import
os
...
...
tests/entrypoints/openai/tool_parsers/test_pythonic_tool_parser.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
List
from
unittest.mock
import
MagicMock
...
...
tests/entrypoints/openai/tool_parsers/utils.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
Iterable
,
List
,
Tuple
,
Union
from
vllm.entrypoints.openai.protocol
import
(
ChatCompletionRequest
,
...
...
tests/entrypoints/test_chat_utils.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
warnings
from
typing
import
Optional
...
...
@@ -761,7 +763,6 @@ def test_resolve_content_format_hf_defined(model, expected_format):
(
"template_falcon.jinja"
,
"string"
),
(
"template_inkbot.jinja"
,
"string"
),
(
"template_llava.jinja"
,
"string"
),
(
"template_pixtral_hf.jinja"
,
"openai"
),
(
"template_vlm2vec.jinja"
,
"openai"
),
(
"tool_chat_template_granite_20b_fc.jinja"
,
"string"
),
(
"tool_chat_template_hermes.jinja"
,
"string"
),
...
...
tests/kernels/allclose_default.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
torch
# Reference default values of atol and rtol are from
...
...
tests/kernels/conftest.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
from
vllm.utils
import
(
create_kv_caches_with_random
,
...
...
Prev
1
…
8
9
10
11
12
13
14
15
16
…
50
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment