计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
pipelines-and-inference【效率与协作】Use Diffusers pipelines for loading, text-to-image, image-to-image, inpainting, control-conditioned inference, batching, callbacks, deterministic seeds, device/dtype/offload choices, and serving-safe invocation patterns.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about running or wiring Diffusers inference pipelines: loading checkpoints, choosing pipeline classes, passing prompts/images/masks/control images, batching, reproducibility, callbacks, device placement, memory/offload settings, or serving pipelines behind an API.
python scripts/pipeline_env_check.py --help or python scripts/pipeline_env_check.py.python scripts/pipeline_invocation_template.py --help; add --allow-download only when network/model downloads are intentional.training-recipes.schedulers; this sub-skill only shows where to attach or clone a scheduler for inference.adapters-and-loaders; this sub-skill only routes control/image conditioning inputs at pipeline-call level.modular-pipelines.conversion-and-maintenance.AutoPipelineFor... class when task type is known, otherwise use DiffusionPipeline for generic loading.from_pretrained(model_or_path, **kwargs); use local_files_only=True for offline/local-only execution.torch.float16 or torch.bfloat16; MPS usually loads then .to("mps") and may need memory-saving attention slicing.prompt, image, mask_image, control_image, negative_prompt, height, width, strength, generator, callback_on_step_end.torch.Generator(device="cpu").manual_seed(seed) for repeatable single-image calls; use one generator per item for batched calls.return_dict=False; generated images are usually in result.images.