"tests/entrypoints/openai/test_lora_lineage.py" did not exist on "c54269d967f2546868d9a52a10c110adc8f9822a"
agg_multimodal_llama.sh 854 Bytes
Newer Older
1
#!/bin/bash
2
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: Apache-2.0
set -ex

trap 'echo Cleaning up...; kill 0' EXIT

MODEL_NAME="meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"

# run ingress
11
12
# dynamo.frontend accepts either --http-port flag or DYN_HTTP_PORT env var (defaults to 8000)
python -m dynamo.frontend &
13
14

# run processor
GuanLuo's avatar
GuanLuo committed
15
python -m dynamo.vllm --multimodal-processor --enable-multimodal --model $MODEL_NAME &
16
17
# Llama 4 doesn't support image embedding input, so use encode+prefill worker
# that handles image encoding inline
18
python -m dynamo.vllm --multimodal-encode-prefill-worker --enable-multimodal --model $MODEL_NAME --tensor-parallel-size=8 --max-model-len=208960 --gpu-memory-utilization 0.80 &
19
20
21

# Wait for all background processes to complete
wait