executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
parallel-and-optimizationPlans HunyuanVideo multi-GPU xDiT inference, FP8 command construction, memory trade-offs, and optional CUDA dependency troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user mentions multi-GPU generation, xDiT, torchrun, --ulysses-degree, --ring-degree, FP8 weights, flash-attn, xfuser, memory pressure, or CUDA backend errors.
references/parallel-and-fp8.md for xDiT and FP8 command patterns.references/memory-and-backends.md for GPU memory and dependency planning.references/troubleshooting.md for xDiT, FP8, and flash-attn failures.scripts/build_optimized_command.py to build safe multi-GPU or FP8 commands without launching generation.Multi-GPU xDiT command:
python sub-skills/parallel-and-optimization/scripts/build_optimized_command.py multi-gpu \
--prompt "A cat walks on the grass, realistic style." \
--height 720 --width 1280 --nproc-per-node 4 --ulysses-degree 2 --ring-degree 2
FP8 command:
python sub-skills/parallel-and-optimization/scripts/build_optimized_command.py fp8 \
--prompt "A cat walks on the grass, realistic style." \
--dit-weight ckpts/hunyuan-video-t2v-720p/transformers/mp_rank_00_model_states_fp8.pt
The helper validates degree products and FP8 map paths. It prints commands only; actual generation remains a GPU/model job.
xfuser, and a valid torchrun world size.--use-cpu-offload is false.--nproc_per_node must equal --ulysses-degree * --ring-degree..pt weight and the derived _map.pt scale file.