Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

Merge branch 'feat/sage-attention-krea2' into feat/sage-attention-sdxl

Alexander Eichhornec98c09ad039
diff --cc docs/src/content/docs/configuration/Optimization/sage-attention.mdx
index 53cace0feb,a1fd936b88..f6e6dbe256
--- a/docs/src/content/docs/configuration/Optimization/sage-attention.mdx
+++ b/docs/src/content/docs/configuration/Optimization/sage-attention.mdx
@@@ -120,11 -120,11 +121,12 @@@ Everything else keeps PyTorch's attenti
- **Short sequences** — fewer than 1536 query or 512 key tokens. There the cost of quantizing the inputs outweighs the
faster kernel.
- **Head sizes other than 64 and 128.**
+- **SDXL with `attention_type: sliced`** — sliced attention does not go through PyTorch's attention kernel.
- **Models not listed under Supported models**, such as SD 1.5 and SD 2.
- Pinning a PyTorch kernel through diffusers' `DIFFUSERS_ATTN_BACKEND` does not stop SageAttention; set
- `attention_backend: auto` to measure PyTorch's own kernels.
+ Pinning a PyTorch kernel through diffusers' `DIFFUSERS_ATTN_BACKEND`, or in a custom node with
+ `torch.nn.attention.sdpa_kernel`, does not stop SageAttention; set `attention_backend: auto` to measure PyTorch's own
+ kernels.
## Notes