DylanJHJ/APRIL / src /autollmrerank /llm_provider
4.35 GB
17,662 files
Updated 24 days ago
Name
Size
__pycache__
legacy
README.md594 Bytes
xet
request.py5.39 kB
xet
utils.py472 Bytes
xet
vllm_dev.py7 kB
xet
README.md

Launch vLLM using CLI

See if we can move this snippet to the request.py

module load anaconda3/2024.2
conda activate ecir2026

# Initialize vllm server
MODEL=meta-llama/Llama-3.3-70B-Instruct
NCCL_P2P_DISABLE=1 VLLM_SKIP_P2P_CHECK=1 vllm serve $MODEL \
    --max-model-len 8192  \
    --port 8000  \
    --dtype bfloat16 \
    --disable-custom-all-reduce \
    --tensor-parallel-size 2 > vllm_server.log 2>&1 &
PID=$!

# Wait until server responds
echo "Waiting for vLLM server (PID=$PID) to start..."
until curl -s http://localhost:8000/v1/models >/dev/null; do
  sleep 10
done
Total size
4.35 GB
Files
17,662
Last updated
Jun 15
Pre-warmed CDN
US EU US EU

Contributors