Code
vllm_basic.py
Install vLLM on a supported platform with a compatible accelerator. Keep the model server running in a separate terminal while you run the agent.
Usage
1
Set up your virtual environment
2
Install dependencies
3
Start vLLM server
In a separate terminal with the virtual environment active, run:
4
Set your API key
5
Run Agent
Save the code above as
vllm_basic.py, then run: