This is an upstream Linux host recipe. The commands were checked against the linked documentation but have not been executed on AMD hardware by Tensorfuse. Tensorfuse’s documented resource options are in the configuration reference.
1. Check the host and choose a compatible image
Use a Linux host with Docker and an AMD GPU supported by your selected vLLM release. This example targets an Instinct GPU such as MI300X; Radeon and Ryzen installations have separate hardware and OS requirements. Match the host driver, OS, GPU architecture, and container runtime using AMD’s compatibility matrix. Check the host before downloading weights:rocminfo must identify the GPU, and the device files must exist. A container includes userspace libraries but still needs the host’s working AMD driver.
Choose a release tag from the official ROCm image tags that matches the vLLM installation requirements. Enter that tag below in Bash. The commands resolve it to a digest so later runs use the same image:
2. Verify PyTorch can access the AMD GPU
torch.cuda APIs for its HIP backend, so that namespace does not imply NVIDIA execution. See PyTorch’s HIP semantics.
If this fails, fix driver compatibility or device access before changing model settings. Installing a different model cannot repair a missing GPU runtime.
3. Start a local chat endpoint
4. Check readiness and generate an answer
In another terminal on the same host, wait for the startup logs to show the server is ready, then run:choices[0].message.content. The request disables Qwen’s thinking mode for this short check. A health check alone does not establish that generation works.
What should you check when startup fails?
Keep the working image intact while testing a change. ROCm-specific attention and quantization paths can depend on both the GPU generation and the vLLM build; see the AMD architecture explainer before moving to a larger or quantized model.
How do you tell whether AMD inference is cheaper?
Repeat the benchmarking procedure with your actual model, request lengths, quality checks, and latency requirements. Compare total billed host cost per accepted request, including idle time. A one-GPU process on an eight-GPU host can still incur the entire host bill. Use the cost reduction guide to decide which constraint to optimize next. Finish the evaluation withdocker stop amd-vllm, then release rented capacity you no longer need; stopping a container does not stop cloud billing.
