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
e74f2d44
Unverified
Commit
e74f2d44
authored
Oct 29, 2024
by
Cyrus Leung
Committed by
GitHub
Oct 28, 2024
Browse files
[Doc] Specify async engine args in docs (#9726)
parent
7a4df5f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/engine/async_llm_engine.py
vllm/engine/async_llm_engine.py
+2
-0
No files found.
vllm/engine/async_llm_engine.py
View file @
e74f2d44
...
@@ -999,6 +999,7 @@ class AsyncLLMEngine(EngineClient):
...
@@ -999,6 +999,7 @@ class AsyncLLMEngine(EngineClient):
>>> # the complete example.
>>> # the complete example.
>>>
>>>
>>> # initialize the engine and the example input
>>> # initialize the engine and the example input
>>> # note that engine_args here is AsyncEngineArgs instance
>>> engine = AsyncLLMEngine.from_engine_args(engine_args)
>>> engine = AsyncLLMEngine.from_engine_args(engine_args)
>>> example_input = {
>>> example_input = {
>>> "prompt": "What is LLM?",
>>> "prompt": "What is LLM?",
...
@@ -1082,6 +1083,7 @@ class AsyncLLMEngine(EngineClient):
...
@@ -1082,6 +1083,7 @@ class AsyncLLMEngine(EngineClient):
>>> # the complete example.
>>> # the complete example.
>>>
>>>
>>> # initialize the engine and the example input
>>> # initialize the engine and the example input
>>> # note that engine_args here is AsyncEngineArgs instance
>>> engine = AsyncLLMEngine.from_engine_args(engine_args)
>>> engine = AsyncLLMEngine.from_engine_args(engine_args)
>>> example_input = {
>>> example_input = {
>>> "input": "What is LLM?",
>>> "input": "What is LLM?",
...
...
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