Spaces:
Configuration error
Configuration error
Add vLLM launch
Browse files123456789101112131415161718#!/usr/bin/env bash# vllm-distributed/launch.sh# Two-node example: tensor_parallel_size = GPUs per node, pipeline_parallel_size = nodes.# Use ONLY for models that must span GPUs/nodes. Verify interconnect (RDMA/IB) & benchmarks.set -euo pipefail
MODEL_PATH="${VLLM_MODEL_PATH:-/models/approved-model}"TP="${VLLM_TP_SIZE:-8}"PP="${VLLM_PP_SIZE:-2}"EXEC_BACKEND="${VLLM_EXEC_BACKEND:-ray}"PORT="${VLLM_PORT:-8000}"
exec vllm serve "$MODEL_PATH" \ --host 0.0.0.0 \ --port "$PORT" \ --tensor-parallel-size "$TP" \ --pipeline-parallel-size "$PP" \ --distributed-executor-backend "$EXEC_BACKEND"90-execution/distributed-inference/vllm-distributed/launch.shAdded+18