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
Qwen1.5_vllm
Commits
c0bc033b
Commit
c0bc033b
authored
Jul 01, 2024
by
zhuwenwen
Browse files
add env
parent
b4fa15d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
c0bc033b
...
@@ -95,6 +95,7 @@ cd dist && pip install vllm*
...
@@ -95,6 +95,7 @@ cd dist && pip install vllm*
|
[
Qwen2-72B
](
https://huggingface.co/Qwen/Qwen2-72B
)
|
[
Qwen2-72B-Instruct
](
https://huggingface.co/Qwen/Qwen2-72B-Instruct
)
|
[
Qwen2-72B-Instruct-GPTQ-Int4
](
https://huggingface.co/Qwen/Qwen2-72B-Instruct-GPTQ-Int4
)
|
|
[
Qwen2-72B
](
https://huggingface.co/Qwen/Qwen2-72B
)
|
[
Qwen2-72B-Instruct
](
https://huggingface.co/Qwen/Qwen2-72B-Instruct
)
|
[
Qwen2-72B-Instruct-GPTQ-Int4
](
https://huggingface.co/Qwen/Qwen2-72B-Instruct-GPTQ-Int4
)
|
### 离线批量推理
### 离线批量推理
```
bash
```
bash
python vllm/examples/offline_inference.py
python vllm/examples/offline_inference.py
...
@@ -104,6 +105,7 @@ python vllm/examples/offline_inference.py
...
@@ -104,6 +105,7 @@ python vllm/examples/offline_inference.py
### 离线批量推理性能测试
### 离线批量推理性能测试
`Tips:若测试qwen1.5-7b/qwen1.5-72b/qwen1.5-72b,添加环境变量LLAMA_NN=1`
1、指定输入输出
1、指定输入输出
```
bash
```
bash
python vllm/benchmarks/benchmark_throughput.py
--num-prompts
1
--input-len
32
--output-len
128
--model
Qwen/Qwen1.5-7B-Chat
-tp
1
--trust-remote-code
--enforce-eager
--dtype
float16
python vllm/benchmarks/benchmark_throughput.py
--num-prompts
1
--input-len
32
--output-len
128
--model
Qwen/Qwen1.5-7B-Chat
-tp
1
--trust-remote-code
--enforce-eager
--dtype
float16
...
...
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