> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-wan3-30off-promo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 部分执行 - 在 ComfyUI 中只运行工作流的一部分

> ComfyUI 中部分执行（Partial Execution）功能的使用方法和条件

<img src="https://mintcdn.com/dripart-docs-wan3-30off-promo/MBe8gj2bm2_D542c/images/interface/features/partial-execution/partial-execution-icon.jpg?fit=max&auto=format&n=MBe8gj2bm2_D542c&q=85&s=26cb45bde4688f3fd319fde0daeadb1c" alt="部分执行功能" width="2508" height="1060" data-path="images/interface/features/partial-execution/partial-execution-icon.jpg" />

**部分执行** 功能位于 ComfyUI 的节点选择工具箱中。它允许你**只运行工作流的一部分**，而不是执行工作流中的全部节点。该功能仅在所选节点是**输出节点**时才可用，可用时会显示为蓝色三角形图标。

## 什么是部分执行？

部分执行（Partial Execution），正如其名，只运行工作流的一部分，而不是执行工作流中的全部节点。

<img src="https://mintcdn.com/dripart-docs-wan3-30off-promo/MBe8gj2bm2_D542c/images/interface/features/partial-execution/partial-execution-vs-run-workflow.jpg?fit=max&auto=format&n=MBe8gj2bm2_D542c&q=85&s=9e371a21f2194bd211472d246e33b557" alt="部分执行" width="4732" height="2224" data-path="images/interface/features/partial-execution/partial-execution-vs-run-workflow.jpg" />

上图对比了部分执行与运行整个工作流：

1. 部分执行（左侧）：仅运行从起始节点到输出节点的工作流分支。
2. 运行工作流（右侧）：运行工作流中的全部节点。

此功能可让你灵活地执行工作流的特定部分，而不是每次都运行整个工作流。

## 如何使用部分执行功能？

<img src="https://mintcdn.com/dripart-docs-wan3-30off-promo/MBe8gj2bm2_D542c/images/interface/features/partial-execution/requirement.jpg?fit=max&auto=format&n=MBe8gj2bm2_D542c&q=85&s=6bf7355fabf9670e0c68077e772783dd" alt="部分执行功能的使用条件" width="3496" height="1124" data-path="images/interface/features/partial-execution/requirement.jpg" />

要使用部分执行功能，当前选中的节点必须是输出节点，例如预览节点或保存节点。当对应节点符合条件时，选中该节点后，工具箱中的按钮会显示为蓝色三角形图标。点击该图标即可运行部分工作流。

## 常见问题

Q：为什么使用此功能时，全部节点都会运行？
A：请确保你的 ComfyUI 前端版本在 v1.23.4 之后，或者可能需要 v1.24.x 版本。对应的缺陷大约在 1.24.x 版本才修复，所以请将你的 ComfyUI 更新到最新版本，确保前端版本符合要求。
