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
1825007b
"docs/vscode:/vscode.git/clone" did not exist on "7a228b5305f3257834c5079fd475f659bc4bf73d"
Commit
1825007b
authored
Sep 06, 2025
by
zhuwenwen
Browse files
[fix]fix tests of core, samplers and tokenization etc.
parent
5692ab61
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/tool_use/test_xlam_tool_parser.py
tests/tool_use/test_xlam_tool_parser.py
+3
-1
No files found.
tests/tool_use/test_xlam_tool_parser.py
View file @
1825007b
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import
os
import
json
import
pytest
...
...
@@ -8,9 +9,10 @@ import pytest
from
vllm.entrypoints.openai.protocol
import
FunctionCall
,
ToolCall
from
vllm.entrypoints.openai.tool_parsers
import
xLAMToolParser
from
vllm.transformers_utils.tokenizer
import
get_tokenizer
from
..utils
import
models_path_prefix
# Use a common model that is likely to be available
MODEL
=
"Salesforce/Llama-xLAM-2-8B-fc-r"
MODEL
=
os
.
path
.
join
(
models_path_prefix
,
"Salesforce/Llama-xLAM-2-8B-fc-r"
)
@
pytest
.
fixture
(
scope
=
"module"
)
...
...
Prev
1
2
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