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
8465317a
Commit
8465317a
authored
Dec 05, 2024
by
xuxzh1
🎱
Browse files
fix
parent
f6ce3afa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
examples/offline_streaming_inference_chat_demo.py
examples/offline_streaming_inference_chat_demo.py
+4
-1
No files found.
examples/offline_streaming_inference_chat_demo.py
View file @
8465317a
'''
python offline_streaming_inference_chat_demo.py --model /models/llama2/Llama-2-7b-chat-hf --template template_llama_chat.jinja --dtype float16 --enforce-eager -tp 1
'''
from
vllm.sampling_params
import
SamplingParams
from
vllm.engine.async_llm_engine
import
AsyncEngineArgs
,
AsyncLLMEngine
import
asyncio
from
vllm.utils
import
FlexibleArgumentParser
from
transformers
import
AutoTokenizer
import
logging
import
argparse
...
...
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