Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
LLaMA_vllm
Commits
11135bbc
Commit
11135bbc
authored
Sep 29, 2024
by
zhuwenwen
Browse files
update readme
parent
66dadd2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
11135bbc
...
...
@@ -113,7 +113,7 @@ python -m vllm.entrypoints.api_server --model meta-llama/Llama-2-7b-chat-hf --
```
bash
python benchmarks/benchmark_serving.py
--model
meta-llama/Llama-2-7b-chat-hf
--dataset
ShareGPT_V3_unfiltered_cleaned_split.json
--num-prompts
1
--trust-remote-code
```
参数同使用数据集,离线批量推理性能测试,具体参考[benchmarks/benchmark_serving.py]
参数同使用数据集,离线批量推理性能测试,具体参考
[
benchmarks/benchmark_serving.py
]
(
benchmarks/benchmark_serving.py
)
### OpenAI兼容服务
...
...
@@ -139,7 +139,7 @@ curl http://localhost:8000/v1/completions \
"temperature": 0
}'
```
或者使用[examples/openai_completion_client.py]
或者使用
[
examples/openai_completion_client.py
]
(
examples/openai_completion_client.py
)
### OpenAI Chat API和vllm结合使用
...
...
@@ -154,7 +154,7 @@ curl http://localhost:8000/v1/chat/completions \
]
}'
```
或者使用[examples/openai_chatcompletion_client.py]
或者使用
[
examples/openai_chatcompletion_client.py
]
(
examples/openai_chatcompletion_client.py
)
## result
使用的加速卡:1张 DCU-K100_AI-64G
...
...
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