video-mllm
Operate InternVideo2.5 and InternVideo3 video MLLM inference, SFT, evaluation, and troubleshooting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- video-mllm
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate InternVideo2.5 and InternVideo3 video MLLM inference, SFT, evaluation, and troubleshooting.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/evaluation.md5.0 KB
- 参考文档references/inference.md6.3 KB
- 参考文档references/internvideo3-sft.md6.6 KB
- 参考文档references/troubleshooting.md1.2 KB
- 参考文档troubleshooting.md4.7 KB
03 SKILL.md 正文
InternVideo video MLLM operating skill
Use this sub-skill when the task is about InternVideo2.5 or InternVideo3 video multimodal large language models: model choice, Hugging Face loading, text/image/video message construction, long-video reasoning, InternVideo3 SFT command shaping, benchmark evaluation readiness, or video-MLLM troubleshooting.
Do not use this sub-skill for InternVideo2 visual-only or video-text retrieval training, InternVideo-Next visual pretraining, or dataset schema validation except as a handoff to the sibling datasets sub-skill.
Route by task
- Quick inference or demo: read
references/inference.mdfirst. It contains distilled model-loading and message-shape templates for InternVideo3 plus selection notes for InternVideo2.5 LRC/HiCo models. - InternVideo3 SFT/CPT setup: read
references/internvideo3-sft.md, then use thedatasetssub-skill to validate meta JSON and JSONL annotations before constructing a launch command. - Benchmark planning: read
references/evaluation.mdand classify each evaluation as GPU/data-heavy unless the user only asks for command inspection. - Failures: read
troubleshooting.mdbefore changing dependencies, cache directories, frame limits, or evaluation data roots.
Operating guardrails
- Treat all full model runs, SFT jobs, and benchmark submissions as optional/unverified until the user provides checkpoints, benchmark data, storage, CUDA/FlashAttention readiness, and launch approval.
- Use placeholders such as
<model-id-or-dir>,<annotation-meta.json>, and<work-dir>in advice; do not leak local environment paths. - Prefer distilled command shapes over telling the user to run repository shell scripts. The source scripts are cluster- and dependency-specific and may install packages at runtime.
- Distinguish inference chat schemas from SFT JSONL schemas: Hugging Face processor messages use
type: "video"/type: "image"; InternVideo3 SFT JSONL usestype: "video_url"/type: "image_url"with<VIDEO_CONTEXT>/<IMG_CONTEXT>placeholders.
Expected handoff
When done, report: selected generation/model, required runtime inputs, chosen message or SFT/eval schema, command shape or validation action, backend/data caveats, and unresolved gaps. Never claim that a heavy training or benchmark result was verified unless it was actually executed in the user-approved environment.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).