Skip to content
Back to skills

Offline Inference

ASecurity

"Use vLLM-Omni local Python APIs for offline Omni and AsyncOmni

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
devopspythondebuggingapibackend

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-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-offline-inference-arex-skill)

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-Omni local Python APIs for offline Omni and AsyncOmni
  inference, prompt dictionaries, diffusion sampling parameters,
  batched/generator flows, and multimodal output access."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Offline inference

Use this sub-skill when a user needs local Python inference with vLLM-Omni rather than an HTTP server. It covers the synchronous `Omni` entrypoint, the asynchronous `AsyncOmni` entrypoint, prompt dictionaries, `OmniDiffusionSamplingParams`, batched or generator-style request flows, and safe access to text, image, audio, video, latent, and trajectory outputs.

## Route here for

- Building a local Python script with `Omni(model=..., **kwargs)` or `AsyncOmni(model=..., **kwargs)`.
- Creating prompt dictionaries for text-to-image, image-to-image/edit, image/video/audio chat, Qwen3-Omni-style text/audio responses, or TTS-style `additional_information` payloads.
- Supplying diffusion sampling controls such as `height`, `width`, `num_frames`, `num_inference_steps`, `guidance_scale`, `seed`, `output_type`, `lora_request`, `lora_scale`, `extra_args`, and trajectory-return flags.
- Iterating over synchronous `py_generator=True` outputs or `async for` outputs from `AsyncOmni.generate(...)`.
- Debugging where generated content lives on `OmniRequestOutput` objects.

## Route elsewhere

- OpenAI-compatible HTTP serving, curl payloads, OpenAI SDK calls, realtime clients, or `vllm serve ... --omni`: use the sibling online-serving sub-skill.
- Deploy YAML topology, connector choice, stage placement, memory overlays, or distributed launch planning: use the sibling stage-configuration sub-skill.
- Model family selection, recipe adaptation, offload/parallel/quantization tradeoffs, cache backends, or hardware-specific model choices: use the sibling model-recipes sub-skill.
- Adding new model implementations, custom pipeline internals, adapter contracts, or maintainer tests: use the sibling model-integration sub-skill.

## Always read first

1. [API reference](references/api-reference.md) for verified signatures, prompt keys, sampling parameters, and output fields.
2. [Workflows](references/workflows.md) for copyable local-script patterns.
3. [Troubleshooting](references/troubleshooting.md) before running large models or debugging missing modalities/OOM/version warnings.

## Safety and execution checklist

- Confirm the environment can import compatible `vllm` and `vllm_omni` packages before loading a model.
- Treat model execution as GPU/accelerator- and model-cache-dependent. Do not assume network access, checkpoint availability, or gated-repo permission.
- Prefer local model paths when the user has already cached weights.
- For generated examples, start from the safe bundled helper: `python scripts/build_offline_request.py --help`. The helper only prints code; it does not import vLLM-Omni, contact a server, download weights, or instantiate a model.
- Keep original full-model examples as evidence only. Do not tell a future agent to run repository examples as a prerequisite for using this skill.

Files in this skill

  • SKILL.md3.1 KB
  • references/api-reference.md13.6 KB
  • references/troubleshooting.md8.8 KB
  • references/workflows.md12 KB
  • scripts/build_offline_request.py13.4 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.