Skip to content
Back to skills

Offline Inference

ASecurity

"Use vLLM from Python for local/offline LLM workflows with LLM,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
ai-agentspythonnodeapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill offline-inference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Offline Inference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Offline Inference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-offline-inference-dbd06b49/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-offline-inference-dbd06b49)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: offline-inference
description: "Use vLLM from Python for local/offline LLM workflows with LLM,
  SamplingParams, generate, chat, encode, embed, classify, score, output
  extraction, and safe smoke checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Offline Inference

Use this sub-skill when the task is to run vLLM directly from Python without starting an OpenAI-compatible HTTP server. It covers `vllm.LLM`, `SamplingParams`, `LLM.generate`, `LLM.chat`, pooling entrypoints, output interpretation, prompt/chat formatting, and small user-provided-model smoke checks.

## Route Here

- Build or debug Python scripts that instantiate `LLM(model=...)` and call `generate`, `chat`, `encode`, `embed`, `classify`, or `score`.
- Convert between raw prompt completion and chat-message workflows without launching a server.
- Explain `SamplingParams` defaults and common generation controls such as `temperature`, `top_p`, `top_k`, `n`, `max_tokens`, logprobs, stop conditions, and structured output knobs.
- Interpret returned objects such as `RequestOutput`, `CompletionOutput`, `EmbeddingRequestOutput`, `ClassificationRequestOutput`, and `ScoringRequestOutput`.
- Run a deterministic short smoke check when the user provides a model identifier or local model path.

## Route Elsewhere

- OpenAI-compatible server startup, HTTP clients, endpoint lifecycle, and request authorization setup: use `../openai-serving/`.
- Deep structured JSON, tool calling, reasoning parser, or guided decoding behavior: use `../structured-tool-reasoning/`.
- Model-specific multimodal, LoRA, adapter, embedding/reranker architecture, or pooling deep dives: use `../modalities-adapters-pooling/`.
- Multi-node topology, production deployment, benchmark tuning, throughput, memory planning, or hardware sizing: use `../deployment-performance/`.

## Start Points

- For exact Python API patterns, read `references/api-reference.md`.
- For task-oriented workflows and validation commands, read `references/workflows.md`.
- For failure diagnosis and misuse patterns, read `references/troubleshooting.md`.
- For a safe script that prints a plan by default and only runs when explicitly requested with a model, use `scripts/offline_api_smoke.py`.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md7.8 KB
  • references/troubleshooting.md5.2 KB
  • references/workflows.md5.6 KB
  • scripts/offline_api_smoke.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.