rtvi-byom-porting
Skill1.9k starsChanged 4 months agoApache-2.0View on GitHub
Use when adding, debugging, or validating a bring-your-own VLM in VSS RT-VLM, including a custom Hugging Face or NGC checkpoint loaded with configuration only (VLM_MODEL_TO_USE=vllm-compatible), plus adapters, plugins, shims, and model-specific runtime dependencies. Not for ordinary catalog-preset deployment of an already-wired model; use vss-deploy-dense-captioning for that.
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Use vss-deploy-dense-captioning for ordinary catalog-preset deployment of an already-wired model (for example cosmos-reason3).
- Distinctive: line 27
Before changing code, record:
- Distinctive: line 47
Stop at the first path that works:
- Very specific: line 49
Configuration only: use VLM_MODEL_TO_USE=vllm-compatible and set MODEL_PATH to an ngc: URI or a mounted snapshot path.
- Very specific: line 61
Use VLM_MODEL_TO_USE=custom with MODEL_IMPLEMENTATION_PATH only for a custom RTVI model implementation.
- Distinctive: line 73
Read references/vllm-porting.md before changing model loading, registration, weight mapping, kernels, cache behavior or vLLM.
- Distinctive: line 78
Do not enable eager mode by default.
- Distinctive: line 80
Do not bind generic model logic to H100, B200, RTX, Orin, x86 or Jetson.
- Distinctive: line 82
Keep secrets out of commands, logs, images, reports and committed files.
- Distinctive: line 83
Do not accept a successful load as proof of a successful port.
- Distinctive: line 88
Run the smallest relevant checks in this order:
- Very specific: line 91
Start RT-VLM through the canonical VSS Compose/profile path and verify /v1/health/ready and /v1/models.
- Distinctive: line 102
Run relevant caption, event-detection or summarization accuracy checks.
- Very specific: line 106
Use skills/deployment/rtvi-byom-porting/scripts/byom_port_report.py to turn observed JSON facts into a compact Markdown report.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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.
Files
RTVI BYOM Porting
Purpose
Port a VLM into the VSS RT-VLM service without hard-coding one checkpoint or GPU platform. Prefer configuration, then an RTVI adapter or vLLM plugin, and patch vLLM only when the supported extension points cannot express the model.
Use vss-deploy-dense-captioning for ordinary catalog-preset deployment of an
already-wired model (for example cosmos-reason3). Use this skill for a custom
or private checkpoint even when path 1 (configuration only) is enough, and when
architecture, processor, weight mapping, runtime dependencies, or request
adaptation requires repository work.
Model Contract
Before changing code, record:
- immutable model source and revision, license and access requirements;
- architecture, processor, tokenizer, quantization and context length;
- vision-token and frame-sampling assumptions;
- CUDA architecture, memory, vLLM/runtime and custom-kernel requirements.
For a private Hugging Face source, use HF_TOKEN only during authenticated
download/cache population. Never print it, embed it in MODEL_PATH, or bake it
into an image. Prove the cached model starts after the temporary credential is
removed. If remote model code is required, review it first and pair
VLM_TRUST_REMOTE_CODE=true with an exact allowlist entry. For the VSS profile,
set RTVI_VLM_MODEL_PATH_ALLOWLIST; inside the service container this becomes
RTVI_MODEL_PATH_ALLOWLIST. Likewise, the profile input
RTVI_VLM_ALLOW_UNSAFE_MODEL_CONFIG becomes
RTVI_ALLOW_UNSAFE_MODEL_CONFIG; do not enable it without reviewing the
blocked config hooks.
Integration Decision
Stop at the first path that works:
- Configuration only: use
VLM_MODEL_TO_USE=vllm-compatibleand setMODEL_PATHto anngc:URI or a mounted snapshot path. Agit:source is acceptable only for exploration because the develop downloader does not pin Hugging Face revisions; use a revision-pinned mounted snapshot for reproducible evidence. - RTVI adapter: normalize config, processor, request or response behavior
inside
services/rtvi/rt-vlm/while preserving existing model behavior. - Plugin or shim: register architecture and deterministic weight mappings without editing vendored vLLM internals.
- Version-gated patch: patch vLLM only after recording why the first three paths cannot work. Keep it optional and add a focused regression test.
Use VLM_MODEL_TO_USE=custom with MODEL_IMPLEMENTATION_PATH only for a custom
RTVI model implementation. In the VSS Compose profile these are exposed as
RTVI_VLM_MODEL_TO_USE, RTVI_VLM_MODEL_PATH, and
RTVI_VLM_MODEL_IMPLEMENTATION_PATH.
For source, adapter, plugin, or custom-backend changes, build the RT-VLM image
from services/rtvi/rt-vlm/, test it with standalone Compose via RTVI_IMAGE,
then select the same repository and tag in the VSS profile via
VSS_RT_VLM_IMAGE and VSS_RT_VLM_TAG. Record the tested image digest. A host
MODEL_IMPLEMENTATION_PATH alone is insufficient: the implementation must
exist at that path inside the selected image or an explicit Compose bind mount.
Read references/vllm-porting.md before changing model loading, registration, weight mapping, kernels, cache behavior or vLLM.
Hard Gates
- Do not enable eager mode by default. If it is unavoidable, capture the exact blocker, performance impact and removal condition.
- Do not bind generic model logic to H100, B200, RTX, Orin, x86 or Jetson. Capability-detect or use existing configuration boundaries.
- Keep secrets out of commands, logs, images, reports and committed files.
- Do not accept a successful load as proof of a successful port. Output must be legible and grounded for every claimed modality.
Validation
Run the smallest relevant checks in this order:
- Static checks and focused tests for changed Python, shell and configuration.
- Start RT-VLM through the canonical VSS Compose/profile path and verify
/v1/health/readyand/v1/models. First use standalone Compose when a revision-pinned host model snapshot must be mounted; the VSS profile does not exposeMODEL_ROOT_DIRon develop. - Smoke-test text, image and video inputs for every claimed modality. Follow
the OpenAPI contract and curl examples in
references/quality-gates.md: set
media_typeon/v1/filesand/v1/generate_captions, not as a top-level field on/v1/chat/completions. Reject Git LFS pointer files before upload. - Retain raw redacted responses, and reject gibberish, repetition, empty generations, or ungrounded claims.
- Run relevant caption, event-detection or summarization accuracy checks.
- Record latency, throughput, GPU memory/utilization, eager state and custom kernel state.
Use skills/deployment/rtvi-byom-porting/scripts/byom_port_report.py to turn
observed JSON facts into a compact Markdown report. Evidence is mandatory for a
PASS result; the helper does not manufacture it. Run
python3 skills/deployment/rtvi-byom-porting/scripts/tests/test_byom_port_report.py
after changing the helper.
Completion Contract
Report the exact model revision and backend, integration path, eager-mode state, platform gating, smoke/accuracy/performance evidence, remaining blockers and the next bounded validation step.
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about NVIDIA-AI-Blueprints/video-search-and-summarization
- @github-trending.bsky.social“📦 NVIDIA-AI-Blueprints / video-search-and-summarization ⭐ 689 (+28) 🗒 Python Suite of reference …”Bluesky · May 14, 2026 · 3 likes
- @pythonhub.dev“NVIDIA-AI-Blueprints / video-search-and-summarization Suite of reference architectures for building …”Bluesky · Jun 4, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.3-unstable-2026-10-21 → 3.3.0”GitHub · Oct 21, 2026
- sudosubin/agents.nix“agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: f6d5214 → 4245d86”GitHub · Oct 21, 2026
- sudosubin/agents.nix“agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 6547150 → f6d5214”GitHub · Oct 21, 2026
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub and Bluesky (36 times).
On GitHub · 34
- Oct 21, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.3-unstable-2026-10-21 → 3.3.0 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: f6d5214 → 4245d86 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 6547150 → f6d5214 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.3-unstable-2026-10-20 → 26.10.3-unstable-2026-10-21 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 3277304 → 3a27445 — sudosubin/agents.nix0 reactions
29 more on GitHub
- Oct 20, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.3-unstable-2026-10-19 → 26.10.3-unstable-2026-10-20 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: fa483de → d06f1a6 — sudosubin/agents.nix0 reactions
- Oct 19, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-19 → 26.10.3-unstable-2026-10-19 — sudosubin/agents.nix0 reactions
- Oct 19, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-17 → 26.10.2-unstable-2026-10-19 — sudosubin/agents.nix0 reactions
- Oct 17, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-16 → 26.10.2-unstable-2026-10-17 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 44f8828 → c454565 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: d1fadbf → 44f8828 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-15 → 26.10.2-unstable-2026-10-16 — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 4131e7e → 3340769 — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 1d2eca9 → 4131e7e — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: a054d5e → 1d2eca9 — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-14 → 26.10.2-unstable-2026-10-15 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 48a3d7b → e43ae47 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.2-unstable-2026-10-13 → 26.10.2-unstable-2026-10-14 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.1-unstable-2026-10-06 → 26.10.2-unstable-2026-10-13 — sudosubin/agents.nix0 reactions
- Oct 6, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.1-unstable-2026-10-05 → 26.10.1-unstable-2026-10-06 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 661f2ac → 786f4d6 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.1-unstable-2026-10-04 → 26.10.1-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: 26.10.1-unstable-2026-10-03 → 26.10.1-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.nvidia-ai-blueprints.video-search-and-summarization: init at 26.10.1-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Oct 1, 2026[TAO-2591][Docs] Align Sparse4D tools with canonical TAO documentation — NVIDIA-TAO/tao-pytorch0 reactions · 7 comments
- Oct 1, 2026[TAO-2591][Feature] Prepare unlabeled calibrated Sparse4D scenes — NVIDIA-TAO/tao-data-services0 reactions · 5 comments
- Jun 22, 2026[Research] Review NVIDIA VSS and extract relevant architecture — area42-ai/AREA-42-Final-project0 reactions
- May 15, 2026📱 SNS 콘텐츠 - 2026-05-15 17:50 KST — leaf468/autothreads0 reactions
- May 15, 2026🤖 AI 트렌드 리포트 - 2026-05-15 17:50 KST — leaf468/autothreads0 reactions
- May 14, 2026📱 SNS 콘텐츠 - 2026-05-14 20:13 KST — leaf468/autothreads0 reactions
- May 14, 2026🤖 AI 트렌드 리포트 - 2026-05-14 20:13 KST — leaf468/autothreads0 reactions
- Oct 10, 2025PEP 541 Request: gradio_videotimeline — pypi/support0 reactions · 2 comments
- Sep 2, 2025和英伟达的VSS解决方案很相似 — HKUDS/VideoRAG0 reactions · 1 comment
On Bluesky · 2
- May 14, 2026📦 NVIDIA-AI-Blueprints / video-search-and-summarization ⭐ 689 (+28) 🗒 Python Suite of reference architectures for building… — @github-trending.bsky.social3 likes and reposts
- Jun 4, 2026NVIDIA-AI-Blueprints / video-search-and-summarization Suite of reference architectures for building GPU-accelerated vision agents and… — @pythonhub.dev1 likes and repost
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/helm-sync/AGENTS.mdAGENTS.md
- .github/skill-eval/AGENTS.mdAGENTS.md
- .cursor/rules/commit-signoff.mdcCursor rule
- benchmark-video-searchSkill
- profile-vllm-performanceSkill
- rtvi-vlm-perf-testingSkill
- vss-benchmark-video-summarizationSkill
- vss-benchmark-vlm-qaSkill
- vss-evaluate-caption-accuracySkill
- vss-deploy-dense-captioningSkill
- vss-deploy-detection-tracking-2dSkill
- vss-deploy-detection-tracking-3dSkill
- vss-deploy-video-embeddingSkill
- vss-deploy-warehouse-helmSkill
- vss-setup-behavior-analyticsSkill
- vss-setup-video-analytics-apiSkill
- vss-ask-videoSkill
- vss-generate-video-report-ragSkill
- vss-generate-video-reportSkill
- vss-manage-alertsSkill
- vss-manage-video-io-storageSkill
- vss-query-analyticsSkill
- vss-search-archiveSkill
- vss-summarize-videoSkill
- vss-generate-video-calibrationSkill
- vss-build-vision-aiSkill
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
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.

