profile-vllm-performance
Skill1.9k starsChanged 4 months agoApache-2.0View on GitHub
Profile vLLM and RT-VLM inference to identify and remove GPU-idle gaps, underfilled batches, transfer stalls, serialized multimodal work, scheduler gaps, or KV pressure. Use this skill when GPU utilization is unexpectedly low or bursty, capacity trails another runtime, TTFT or ITL regresses, or multimodal prefill and decode appear serialized. Not for running a first benchmark without a reproducible fixed-load signal.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- Distinctive: line 24
Do not compare runtimes when any of these dimensions differ unless that dimension is the declared variable.
- Distinctive: line 29
Verify actual output-token counts, successful work, fresh-stream coverage, dropped chunks, cancellations, and cleanup.
- Very specific: line 37
Use scenario-scoped DCGM or nvidia-smi dmon for the resource envelope and a short Nsight Systems or repository profiler capture for …
- Distinctive: line 43
If the scheduler queue is empty throughout every observed idle interval, first check whether eligible work is waiting upstream in media …
- Distinctive: line 54
Use stable request, sequence, stream, and chunk identifiers across:
- Distinctive: line 68
Read references/bubble-playbook.md for the evidence matrix and the shortest discriminating experiment for each bubble class.
- Distinctive: line 79
Do not infer a decode bottleneck from an OSL capacity gap alone.
- Distinctive: line 89
Stop at the first rung that removes the proven bubble:
- Distinctive: line 111
Do not install profilers, launch costly GPU work, push changes, or mutate a shared machine without authorization.
≈ “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
Profile vLLM Performance
Find the dominant loss mechanism, prove it with a correlated timeline, make the smallest causal change, and validate the result with a matched A/B run. A capacity number or average GPU-utilization sample is not bubble attribution.
Freeze The Comparison
Record the exact code, container, model revision, precision, hardware, scheduler settings, workload shape, media, prompt, token budget, sampling, cache state, concurrency, and success criteria. Prove semantic correctness before optimizing. Do not compare runtimes when any of these dimensions differ unless that dimension is the declared variable.
Establish The Signal
- Verify actual output-token counts, successful work, fresh-stream coverage, dropped chunks, cancellations, and cleanup. Early EOS or silent failure is not throughput.
- Reproduce at fixed load below the knee, near the highest stable point, and just beyond it when practical. Keep capacity search separate from profiling.
- Record TTFT, inter-token latency, throughput, queue delay, batch size, scheduled tokens, active sequences, preemptions, KV occupancy, GPU memory, and phase durations available in the checked-out version.
- Use scenario-scoped DCGM or
nvidia-smi dmonfor the resource envelope and a short Nsight Systems or repository profiler capture for attribution. Profilers perturb timing; never use a profiled run as the capacity result.
Define a performance bubble as GPU-idle or low-occupancy time while eligible work is queued. Idle time caused by insufficient offered load is not a runtime bubble. If the scheduler queue is empty throughout every observed idle interval, first check whether eligible work is waiting upstream in media arrival, decode, preprocessing, or engine submission. Upstream waiting work is frontend or media starvation, not an offered-load gap. When neither the scheduler nor upstream stages have eligible work waiting, classify the result as insufficient offered load and make the first experiment a higher-fixed-concurrency replay with every other workload dimension unchanged. Do not recommend scheduler, kernel, batching, cache, prefill, or decode optimization until that replay shows GPU idle while eligible work remains queued.
Correlate The Timeline
Use stable request, sequence, stream, and chunk identifiers across:
- media arrival and decode;
- CPU frame selection, resize, normalization, tokenization, and processor work;
- host-to-device transfer and synchronization;
- vision encoder and projector;
- text and visual prefill;
- scheduler admission, batch formation, KV allocation, preemption, and dispatch;
- decode, sampling, detokenization, and output delivery.
Capture only enough NVTX or structured timing to align these phases with CUDA kernels, memory copies, CPU wakeups, and scheduler state. Avoid high-volume logging in the measured path.
Read references/bubble-playbook.md for the evidence matrix and the shortest discriminating experiment for each bubble class.
Prove The Dominant Bubble
For each candidate, state the precise idle or under-occupancy interval, whether eligible work was queued, the event immediately preceding it, its frequency and share of measured time, and the observation that rules out the nearest competing explanation. Rank candidates by recoverable critical-path time, not visual prominence in one trace.
Do not infer a decode bottleneck from an OSL capacity gap alone. Compare matched fixed-concurrency prefill and decode timelines plus tokens per scheduler step.
For serialized vision, first compare an existing batched preprocessing or vision- encoding path using the same fixed visual shapes and request set. State its acceptance criteria explicitly: require output parity and multimodal visual-token count, order, and position parity before attributing any performance improvement to the change.
Fix And Validate
Stop at the first rung that removes the proven bubble:
- Correct benchmark or configuration defects such as early EOS, mismatched shapes, cache policy, scheduler limits, or insufficient offered load.
- Tune an existing runtime knob supported by the checked-out version.
- Reuse an existing batching, preprocessing, cache, CUDA-graph, tensor-IPC, or scheduler path that is configured incorrectly or bypassed.
- Fix an integration boundary that serializes or copies work unnecessarily.
- Change scheduling or model-runner code only when traces prove the existing path cannot express the required overlap.
- Change a kernel only after ruling out launch, scheduling, shape, and data movement.
Change one causal variable at a time. Repeat the short trace, then run an unprofiled matched A/B or A/B/B/A comparison at fixed concurrency. Rerun the capacity boundary only when capacity is the claim. Preserve output parity, ordering, cancellation, KV lifetime, and multimodal token and position invariants.
Report confirmed, improved, inconclusive, or invalid comparison, followed by
the dominant bubble, recoverable-time estimate, evidence, ruled-out alternatives,
fix, before/after distributions, artifact paths, remaining bottleneck, and smallest
next experiment.
Do not install profilers, launch costly GPU work, push changes, or mutate a shared machine without authorization.
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
- rtvi-vlm-perf-testingSkill
- vss-benchmark-video-summarizationSkill
- vss-benchmark-vlm-qaSkill
- vss-evaluate-caption-accuracySkill
- rtvi-byom-portingSkill
- 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.

