Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
9b0948c6
Unverified
Commit
9b0948c6
authored
Oct 13, 2025
by
Kris Hung
Committed by
GitHub
Oct 13, 2025
Browse files
fix: Fix vllm multimodal qwen cuda oom issue (#3598)
parent
cd2389ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
examples/multimodal/launch/agg.sh
examples/multimodal/launch/agg.sh
+7
-1
No files found.
examples/multimodal/launch/agg.sh
View file @
9b0948c6
...
...
@@ -58,9 +58,15 @@ python -m dynamo.frontend --http-port=8000 &
# run processor
python3 components/processor.py
--model
$MODEL_NAME
--prompt-template
"
$PROMPT_TEMPLATE
"
&
# To make Qwen2.5-VL fit in A100 40GB, set the following extra arguments
EXTRA_ARGS
=
""
if
[[
"
$MODEL_NAME
"
==
"Qwen/Qwen2.5-VL-7B-Instruct"
]]
;
then
EXTRA_ARGS
=
"--gpu-memory-utilization 0.85 --max-model-len 2048"
fi
# run E/P/D workers
CUDA_VISIBLE_DEVICES
=
0 python3 components/encode_worker.py
--model
$MODEL_NAME
&
CUDA_VISIBLE_DEVICES
=
1 python3 components/worker.py
--model
$MODEL_NAME
--worker-type
prefill &
CUDA_VISIBLE_DEVICES
=
1 python3 components/worker.py
--model
$MODEL_NAME
--worker-type
prefill
$EXTRA_ARGS
&
# Wait for all background processes to complete
wait
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