> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SkipLayerGuidanceDiT - ComfyUI Built-in Node Documentation

> Complete documentation for the SkipLayerGuidanceDiT node in ComfyUI. Learn its inputs, outputs, parameters and usage.

通过使用另一组带有跳过层的 CFG 负向引导，增强对详细结构的引导。此通用版本的 SkipLayerGuidance 可用于所有 DiT 模型，其灵感来源于扰动注意力引导（Perturbed Attention Guidance）。最初的实验性实现是为 SD3 创建的。

## 输入

| 参数       | 描述                               | 数据类型   | 是否必填 | 范围         |
| -------- | -------------------------------- | ------ | ---- | ---------- |
| `模型`     | 要应用跳过层引导的模型                      | MODEL  | 是    | -          |
| `双层`     | 双块中要跳过的层号，以逗号分隔（默认值："7, 8, 9"）   | STRING | 是    | -          |
| `单层`     | 单块中要跳过的层号，以逗号分隔（默认值："7, 8, 9"）   | STRING | 是    | -          |
| `缩放`     | 引导缩放因子（默认值：3.0）                  | FLOAT  | 是    | 0.0 - 10.0 |
| `开始百分比`  | 引导应用的起始百分比（默认值：0.01）             | FLOAT  | 是    | 0.0 - 1.0  |
| `结束百分比`  | 引导应用的结束百分比（默认值：0.15）             | FLOAT  | 是    | 0.0 - 1.0  |
| `重新缩放比例` | 用于调整输出幅度的重新缩放因子（默认值：0.0，表示不重新缩放） | FLOAT  | 是    | 0.0 - 10.0 |

**注意：** 如果 `double_layers` 和 `single_layers` 均为空（不包含任何层号），则节点返回原始模型，不应用任何引导。

## 输出

| 输出名称 | 描述             | 数据类型  |
| ---- | -------------- | ----- |
| `模型` | 应用了跳过层引导的修改后模型 | MODEL |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SkipLayerGuidanceDiT/zh.md)

***

**Source fingerprint (SHA-256):** `cf494fbeb33e7bc3b3f798e9e9b025623afad4ea6340ef628caa776c7d42ba12`
