refactor: rewrite bench-mmmu-sglang (#4458)
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
### Evaluate sglang
|
||||
|
||||
```
|
||||
python benchmark/mmmu/bench_sglang.py --model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl
|
||||
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
|
||||
```
|
||||
|
||||
It's recommended to reduce the memory usage by appending something ike `--mem-fraction-static 0.6` to the command above.
|
||||
|
||||
Reference in New Issue
Block a user