Update MMMU Benchmark instructions (#4694)
This commit is contained in:
@@ -2,12 +2,16 @@
|
|||||||
|
|
||||||
### Evaluate sglang
|
### Evaluate sglang
|
||||||
|
|
||||||
```
|
Host the VLM:
|
||||||
python -m sglang.launch_server --model-path Qwen/Qwen2-VL-7B-Instruct --port 30000
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
python benchmark/mmmu/bench_sglang.py --model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl --port 30000
|
python -m sglang.launch_server --model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl --port 30000
|
||||||
|
```
|
||||||
|
|
||||||
|
Benchmark:
|
||||||
|
|
||||||
|
```
|
||||||
|
python benchmark/mmmu/bench_sglang.py --port 30000
|
||||||
```
|
```
|
||||||
|
|
||||||
It's recommended to reduce the memory usage by appending something ike `--mem-fraction-static 0.6` to the command above.
|
It's recommended to reduce the memory usage by appending something ike `--mem-fraction-static 0.6` to the command above.
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
Bench the sglang-hosted vLM with benchmark MMMU
|
Bench the sglang-hosted vLM with benchmark MMMU
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
python benchmark/mmmu/bench_sglang.py --model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl
|
Host the VLM: python -m sglang.launch_server --model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl --port 30000
|
||||||
|
|
||||||
|
Benchmark: python benchmark/mmmu/bench_sglang.py --port 30000
|
||||||
|
|
||||||
The eval output will be logged
|
The eval output will be logged
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user