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
e4c4072c
Unverified
Commit
e4c4072c
authored
Apr 10, 2024
by
Daniel E Marasco
Committed by
GitHub
Apr 10, 2024
Browse files
[Bugfix] Remove key sorting for `guided_json` parameter in OpenAi compatible Server (#3945)
parent
e3539746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/guided_decoding.py
vllm/model_executor/guided_decoding.py
+1
-1
No files found.
vllm/model_executor/guided_decoding.py
View file @
e4c4072c
...
...
@@ -91,7 +91,7 @@ def _get_guide_and_mode(
json
=
request
.
guided_json
if
isinstance
(
json
,
dict
):
# turn dict into hashable string
json
=
json_dumps
(
json
,
sort_keys
=
True
)
json
=
json_dumps
(
json
)
elif
isinstance
(
json
,
BaseModel
):
# use pydantic signature so that different model classes
# with the same fields will get hashed the same
...
...
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