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
c6903579
Unverified
Commit
c6903579
authored
Dec 09, 2024
by
Roger Wang
Committed by
GitHub
Dec 09, 2024
Browse files
[V1] Fix Detokenizer loading in `AsyncLLM` (#10997)
Signed-off-by:
Roger Wang
<
ywang@roblox.com
>
parent
d1c2e15e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vllm/v1/engine/async_llm.py
vllm/v1/engine/async_llm.py
+6
-1
No files found.
vllm/v1/engine/async_llm.py
View file @
c6903579
...
...
@@ -65,7 +65,12 @@ class AsyncLLM(EngineClient):
input_registry
)
# Detokenizer (converts EngineCoreOutputs --> RequestOutput).
self
.
detokenizer
=
Detokenizer
(
vllm_config
.
model_config
.
tokenizer
)
self
.
detokenizer
=
Detokenizer
(
tokenizer_name
=
vllm_config
.
model_config
.
tokenizer
,
tokenizer_mode
=
vllm_config
.
model_config
.
tokenizer_mode
,
trust_remote_code
=
vllm_config
.
model_config
.
trust_remote_code
,
revision
=
vllm_config
.
model_config
.
tokenizer_revision
,
)
# EngineCore (starts the engine in background process).
self
.
engine_core
=
EngineCoreClient
.
make_client
(
...
...
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