agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/vllm/SKILL.md

vllm

Skill13 starsChanged 27 days agoMITView on GitHub

High-throughput and memory-efficient LLM inference engine. - ollama (Score: 0.92) Why: Direct relationship, Both are AI, Shared ecosystem (ai), Can deploy to docker, Similar network profile - langchain (Score: 0.82) Why: Direct relationship, Both are AI, Shared ecosystem (ai), Similar network profile - llamaindex (Score: 0.33) Why: Both are AI, Shared ecosystem (ai), Similar network profile

  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If vLLM fails to start with Out of Memory errors, reduce the gpu_memory_utilization flag (default is 0.90) to reserve more VRAM for the …

    line 42
  2. Distinctive:

    Use this when your agent works with vllm — structured patterns beat pasted docs and prevent common hallucinations.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

vLLM Skill

High-throughput and memory-efficient LLM inference engine.

Ecosystem Graph Preview

graph LR
  vllm["vllm"]:::core
  classDef core fill:#f9f,stroke:#333,stroke-width:4px;
  ollama -- "alternative to" --> vllm
  vllm -- "alternative to" --> ollama
  vllm -- "integrates with" --> langchain

Recommended Next Skills

  • ollama (Score: 0.92) Why: Direct relationship, Both are AI, Shared ecosystem (ai), Can deploy to docker, Similar network profile
  • langchain (Score: 0.82) Why: Direct relationship, Both are AI, Shared ecosystem (ai), Similar network profile
  • llamaindex (Score: 0.33) Why: Both are AI, Shared ecosystem (ai), Similar network profile

Quick Start

vLLM is designed for high-concurrency production deployments. It uses PagedAttention to efficiently manage attention key-value memory, increasing throughput by up to 24x compared to HuggingFace Transformers.

pip install vllm
python -m vllm.entrypoints.openai.api_server --model meta-llama/Llama-2-7b-chat-hf

Production Patterns

PagedAttention

LLMs generate output token-by-token, causing massive fragmentation in GPU memory. vLLM solves this by treating VRAM like an OS virtual memory page table, drastically increasing the batch size of concurrent user requests.

Architecture & Scaling

OpenAI API Compatibility

vLLM runs an API server that perfectly matches the OpenAI specification. You can instantly replace your expensive OpenAI endpoint with a self-hosted vLLM endpoint without changing any client code.

Error Recovery

If vLLM fails to start with Out of Memory errors, reduce the gpu_memory_utilization flag (default is 0.90) to reserve more VRAM for the PyTorch runtime overhead.

Security Notes

vLLM does not include production authentication mechanisms. You must place it behind a reverse proxy (like NGINX or Traefik) and handle API Key validation at the proxy layer.

References

Why use this skill

Use this when your agent works with vllm — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using deprecated model IDs or wrong API endpoints
  • Confusing chat vs completions vs embeddings APIs
  • Omitting rate-limit and token budget handling

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • ollama — alternative to
  • langchain — integrates with

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.