Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion scripts/start_gaudi_vllm_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,17 @@ while getopts hw:t:m:a:d:q:i:p:o:b:g:u:e:l:c:sf flag; do
u) # gpu-memory-utilization
gpu_memory_utilization=$OPTARG ;;
e) # extra vLLM server parameters
IFS=" " read -r -a extra_params <<< "$OPTARG" ;;
IFS=" " read -r -a extra_params <<< "$OPTARG"
for ((i=0; i<${#extra_params[@]}; i++)); do
if [[ "${extra_params[$i]}" == "--mm-processor-kwargs" ]]; then
found_mm_processor_kwargs=true
break
fi
done
if [ "$found_mm_processor_kwargs" != true ]; then
extra_params+=("--mm-processor-kwargs" "max_pixels=1003520")
fi
;;
l) # limit of the padding ratio
max_padding_ratio=$OPTARG
# make sure max_padding_ratio is a float and in [0.0, 0.5]
Expand Down