lum3on 0b0753e708 Fix VAE SageAttention integration tensor shape mismatch
- Add proper tensor reshaping in vae_sage_attention() wrapper
- Convert VAE format (B, C, H, W) to SageAttention format (B, seq_len, dim)
- Add fallback mechanism to pytorch attention if SageAttention fails
- Enable SageAttention selection in vae_attention() function
- Fixes ValueError: too many values to unpack (expected 3) error
- Maintains compatibility with existing VAE attention functions

This resolves the tensor shape incompatibility between VAE spatial attention
and SageAttention sequence attention, allowing VAE operations to benefit from
SageAttention optimization when --use-sage-attention flag is enabled.
2025-09-16 00:58:48 +02:00
..
2025-09-12 21:57:04 -04:00
2024-12-20 16:24:55 -05:00
2024-06-27 18:43:11 -04:00
2025-08-27 12:45:02 -04:00
2025-09-02 15:36:22 -04:00
2025-01-24 06:15:54 -05:00
2025-07-06 07:07:39 -04:00
2025-09-02 15:36:22 -04:00
2025-09-01 20:33:50 -04:00
2025-07-24 20:59:19 -04:00