Skip to content

Latest commit

 

History

History

MI300X

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

vLLM on AMD MI300X

First time Setup

  1. Clone vllm repo
git clone https://github.com/vllm-project/vllm.git
cd vllm
git checkout v0.6.1
  1. Build a docker container.
DOCKER_BUILDKIT=1 docker build -f Dockerfile.rocm -t vllm-rocm .

Run Benchmarks

  1. Run docker container

    docker run -it \
        --network=host \
        --group-add=video \
        --ipc=host \
        --cap-add=SYS_PTRACE \
        --security-opt seccomp=unconfined \
        --device /dev/kfd \
        --device /dev/dri \
        -v /home/test/sraskar/huggingface/:/huggingface/ \
        -v /home/test/sraskar/:/home/test/sraskar/ \
        vllm-rocm \
        bash
  2. Use provided shell script run-benchmark.sh in this directory to run benchmark_throughput.py for various configurations of input, output lengths and batch sizes.