feat: add native CUDA Sol-Attn support

This commit is contained in:
leejet
2026-09-21 21:15:00 +08:00
parent c678dfe704
commit 0657e6cdfe
13 changed files with 258 additions and 10 deletions
+4
View File
@@ -25,3 +25,7 @@ Metadata mode inspects PNG/JPEG container metadata without loading any model:
For completely black or white images or videos, NaNs, and the `--linear-scale` /
`--attn-scale` workaround, see [Troubleshooting](../../docs/troubleshooting.md).
For native CUDA sparse attention in the diffusion model, use `--sol-attn`.
See [Sol-Attn](../../docs/sol_attention.md) for requirements, supported shapes,
and the `--sol-attn-tau` threshold coefficient.