计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
light-x2v【效率与协作】Routes LightX2V generation, serving, disaggregation, and weight-preparation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
LightX2V is a lightweight image/video generation framework with direct Python pipelines, a CLI entry point, a FastAPI service layer, and disaggregated multi-process deployment helpers.
Use this skill when a request mentions LightX2V, LightX2VPipeline, python -m lightx2v.infer, python -m lightx2v.server, python -m lightx2v.disagg.*, LoRA preparation, quantized checkpoints, or a LightX2V model family such as Wan, Qwen Image, HunyuanVideo, LTX, MiniMax-H3, WorldMirror, WorldPlay, or SeedVR.
references/overview.md for the high-level model-family map and the major workflow surfaces.references/troubleshooting.md before debugging imports, optional backends, server startup, or weight-conversion failures.references/repo-provenance.md when you need to check whether this skill still matches the checkout that produced it.scripts/check_install.py after installing the package to confirm the core import path and report optional backend availability.scripts/setup_env.sh when you want a shell wrapper for the standard LightX2V runtime variables.pip install -v -e .python scripts/check_install.pypython -m lightx2v.infer --helppython -m lightx2v.server --helpbash scripts/setup_env.sh --helpThe package supports many optional backends. A CPU-only import check is useful, but it does not prove that CUDA, quantization kernels, or distributed deployment are ready.
sub-skills/inference/Use this route for direct generation or model-preparation requests that start from LightX2VPipeline or lightx2v.infer.
Typical triggers:
model_cls and task should I use?"create_generator() or generate()?"Read when the task is about local generation, prompt/image/video inputs, config_json, model-family selection, output paths, enable_offload, enable_parallel, enable_quantize, enable_lightvae, or direct runner configuration.
sub-skills/serving/Use this route for FastAPI service startup, request submission, task polling, result download, OpenAI-compatible image endpoints, presigned uploads, queue status, and stop/cancel flows.
Typical triggers:
/v1/tasks or /v1/images"Read when the task is about python -m lightx2v.server, FileService, TaskManager, /v1/service, /v1/files, /v1/tasks, or the Gradio UI that sits on top of the same serving stack.
sub-skills/disagg/Use this route for disaggregated controller/encoder/transformer/decoder deployment, Mooncake/RDMA/ZMQ plumbing, and multi-node scheduling.
Typical triggers:
run_dynamic.sh or run_baseline.sh"Read when the task is about python -m lightx2v.disagg.examples.run_service, run_controller, run_user, service roles, port planning, or distributed topology choices.
sub-skills/conversion/Use this route for LoRA extraction/merging, dummy-meta export, and weight-format or quantization-adjacent preparation.
Typical triggers:
Read when the task is about checkpoint surgery, diff-based weights, safetensors metadata, or the LightX2V conversion tooling.
The advanced lightx2v_train package is not routed here as a primary workflow. Its training entry point still has an import/package-layout gap, so treat it as an out-of-scope maintenance surface unless the user explicitly asks for it and accepts the limitation.
sub-skills/inference/sub-skills/serving/sub-skills/disagg/sub-skills/conversion/If the request spans more than one route, start with the more specific sub-skill and then cross-read the other route's references.