Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs the vLLM LLM inference engine offline or as an OpenAI-compatible API server, with PagedAttention and multi-GPU support.
Use this skill ↓91% 96%+4 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 21 of 23 without it.
3 of 3 safety checks passed
Not used yet
vLLM is a high-throughput, memory-efficient LLM inference engine featuring PagedAttention (near-zero memory waste), continuous batching, tensor parallelism, speculative decoding, prefix caching, and an OpenAI-compatible API.
uv pip install vllm
from vllm import LLM, SamplingParams
llm = LLM(model="Qwen/Qwen2.5-1.5B-Instruct")
params = SamplingParams(temperature=0.7, top_p=0.9, max_tokens=512)
outputs = llm.generate(["What is the capital of France?"], params)
for o in outputs:
print(o.outputs[0].text)
vllm serve Qwen/Qwen2.5-1.5B-Instruct --port 8000
# OpenAI client:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "Qwen/Qwen2.5-1.5B-Instruct", "messages": [{"role": "user", "content": "Hello!"}]}'
llm = LLM(model="meta-llama/Llama-3.1-8B", tensor_parallel_size=2)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.