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
change
sglang
Commits
e6e4d022
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "41d71ca48834fa64c727f9b63c414dcaf3d01d80"
Unverified
Commit
e6e4d022
authored
Mar 28, 2025
by
Ravi Theja
Committed by
GitHub
Mar 27, 2025
Browse files
Update MMMU Benchmark instructions (#4694)
parent
188105a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
benchmark/mmmu/README.md
benchmark/mmmu/README.md
+6
-2
benchmark/mmmu/bench_sglang.py
benchmark/mmmu/bench_sglang.py
+3
-1
No files found.
benchmark/mmmu/README.md
View file @
e6e4d022
...
@@ -2,12 +2,16 @@
...
@@ -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 -m sglang.launch_server --model-path Qwen/Qwen2-VL-7B-Instruct
--chat-template qwen2-vl
--port 30000
```
```
Benchmark:
```
```
python benchmark/mmmu/bench_sglang.py
--model-path Qwen/Qwen2-VL-7B-Instruct --chat-template qwen2-vl
--port 30000
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.
...
...
benchmark/mmmu/bench_sglang.py
View file @
e6e4d022
...
@@ -2,7 +2,9 @@
...
@@ -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
"""
"""
...
...
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