From 296abbf8e9f1d149989c9f060b4e7a0ece9b99df Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Tue, 14 Jul 2026 06:11:58 +0800 Subject: [PATCH 1/3] docs: add attention optimization tip to Comfy Desktop overview --- installation/desktop/overview.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installation/desktop/overview.mdx b/installation/desktop/overview.mdx index bb22ca8cd..1c89c4779 100644 --- a/installation/desktop/overview.mdx +++ b/installation/desktop/overview.mdx @@ -31,6 +31,10 @@ Choose your platform to begin: + + For performance tuning, you can enable **FlashAttention**, **SageAttention**, or other attention optimizations by configuring startup flags in **Settings > Server Config > Cross attention method**, or by passing flags like `--use-flash-attention` at launch. See the [startup flags reference](/development/comfyui-server/startup-flags#attention) for all options. + + ## Usage Guide Once installed, learn how to use Comfy Desktop: From c0ed7a92670618ae033e912b374b5704552e348f Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Wed, 22 Jul 2026 13:09:04 +0800 Subject: [PATCH 2/3] fix: correct attention optimization Tip in Comfy Desktop overview The Tip previously claimed FlashAttention and SageAttention can be enabled via Settings > Server Config > Cross attention method. That dropdown only offers auto/split/quad/pytorch, not flash/sage attention. FlashAttention and SageAttention require startup flags (--use-flash-attention / --use-sage-attention), which can be passed through Comfy Desktop's Extra server args under Launch Config. Retained the link to /development/comfyui-server/startup-flags#attention. --- installation/desktop/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/desktop/overview.mdx b/installation/desktop/overview.mdx index 1c89c4779..360f13897 100644 --- a/installation/desktop/overview.mdx +++ b/installation/desktop/overview.mdx @@ -32,7 +32,7 @@ Choose your platform to begin: - For performance tuning, you can enable **FlashAttention**, **SageAttention**, or other attention optimizations by configuring startup flags in **Settings > Server Config > Cross attention method**, or by passing flags like `--use-flash-attention` at launch. See the [startup flags reference](/development/comfyui-server/startup-flags#attention) for all options. + For performance tuning, you can enable **FlashAttention** or **SageAttention** by passing `--use-flash-attention` or `--use-sage-attention` as startup flags. In Comfy Desktop, add these under **Settings > Launch Config > Extra server args**. Note that the **Server Config > Cross attention method** dropdown only controls in-process strategies (auto, split, quad, pytorch) and does not enable flash or sage attention. See the [startup flags reference](/development/comfyui-server/startup-flags#attention) for all options. ## Usage Guide From 80b6e923271d1067bc652ff9366b5b82793b3ec2 Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Wed, 22 Jul 2026 13:12:00 +0800 Subject: [PATCH 3/3] fix: correct Desktop Startup Args path in attention optimization Tip Replace the fabricated 'Settings > Launch Config > Extra server args' path with the real UI entry: the Startup Args tab in instance settings, documented at installation/desktop/usage/manage.mdx. --- installation/desktop/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/desktop/overview.mdx b/installation/desktop/overview.mdx index 360f13897..fe07d6e0a 100644 --- a/installation/desktop/overview.mdx +++ b/installation/desktop/overview.mdx @@ -32,7 +32,7 @@ Choose your platform to begin: - For performance tuning, you can enable **FlashAttention** or **SageAttention** by passing `--use-flash-attention` or `--use-sage-attention` as startup flags. In Comfy Desktop, add these under **Settings > Launch Config > Extra server args**. Note that the **Server Config > Cross attention method** dropdown only controls in-process strategies (auto, split, quad, pytorch) and does not enable flash or sage attention. See the [startup flags reference](/development/comfyui-server/startup-flags#attention) for all options. + For performance tuning, you can enable **FlashAttention** or **SageAttention** by passing `--use-flash-attention` or `--use-sage-attention` as startup flags. In Comfy Desktop, add them in the instance settings under the **Startup Args** tab (see [Manage](/installation/desktop/usage/manage)). Note that the **Server Config > Cross attention method** dropdown only controls in-process strategies (auto, split, quad, pytorch) and does not enable flash or sage attention. See the [startup flags reference](/development/comfyui-server/startup-flags#attention) for all options. ## Usage Guide