ltx-video
Routes LTX-Video local inference, model/config selection, and direct pipeline/component diagnostics.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- ltx-video
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes LTX-Video local inference, model/config selection, and direct pipeline/component diagnostics.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/development-and-tests.md3.3 KB
- 参考文档references/repo-provenance.md2.1 KB
- 参考文档references/repo-routing-metadata.json414 B
- 参考文档references/troubleshooting.md4.1 KB
- 脚本scripts/check_ltx_video_env.py8.2 KB
03 SKILL.md 正文
LTX-Video
Use this root skill to route repository-backed LTX-Video tasks. It is self-contained: use the bundled references and scripts rather than depending on an LTX-Video source checkout.
Start safely
-
For local generation, install the package and inference extras in a Python 3.10+ environment:
python -m pip install -e ".[inference]"When working only from this skill bundle, install a compatible published/local
ltx-videopackage instead of using-e. -
From this skill directory, run the no-download environment preflight:
python scripts/check_ltx_video_env.py python scripts/check_ltx_video_env.py --deep-imports --jsonAdd
--require-packageor--require-cudaonly when that capability is a hard requirement. The checker never downloads checkpoints or runs generation. -
Read cross-cutting troubleshooting before changing dependencies or attempting a heavy checkpoint run.
Route by intent
- Use local-inference for
inference.pycommands,InferenceConfig, text/image/video conditioning, prompt enhancement, output handling, and safe command construction. - Use model-configs for choosing or validating 2B/13B, dev/distilled, FP8/bfloat16, base/multi-scale YAML configurations and checkpoint/upscaler fields.
- Use pipeline-components for direct
LTXVideoPipeline/LTXMultiScalePipelinecalls,ConditioningItem, schedulers, VAE/transformer loading, tensor-shape contracts, and no-download component diagnostics.
Common boundary cases
- A request to choose a YAML and then generate routes first to model-configs, then to local-inference.
- A failing CLI/config-path/media-output request stays in local-inference; a failure inside a direct scheduler, VAE, transformer, latent, or pipeline call routes to pipeline-components.
- FP8 configuration choice belongs to model-configs; optional Q8/FP8 kernel import failures also use the root troubleshooting reference.
Root references
- Repository provenance records the source snapshot, evidence paths, and refresh rule.
- Routing metadata provides the machine-readable scenario and entry-point map.
- Troubleshooting covers installation, imports, devices, downloads, media extras, and optional FP8 support.
- Development and tests separates safe checks from network-, checkpoint-, and hardware-heavy verification.
scripts/check_ltx_video_env.pyperforms a safe environment/backend preflight.
Operating rules
- Inspect and validate a command or config before starting generation; model, text-encoder, prompt-enhancer, and spatial-upscaler downloads can be large.
- Do not treat CPU/component/config checks as proof of full checkpoint generation quality or GPU performance.
- Prefer bfloat16 configurations unless compatible FP8/Q8 hardware and external kernels are explicitly available.
- Keep dimensions and conditioning rules with the local-inference guidance, model-family semantics with model-configs, and direct tensor/component contracts with pipeline-components.
- State when a check was skipped because CUDA, model cache, network access, optional media packages, or FP8 kernels were unavailable.
Non-goals
This skill does not cover LTX-2, ComfyUI workflow editing, LTX-Video-Trainer, generic Diffusers usage, LoRA training, hosted APIs, or external control repositories. Route those requests to their own project documentation or skill; do not infer their behavior from this LTX-Video checkout.
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).