Commit Graph

3 Commits

Author SHA1 Message Date
drbaph
33bc1843b9 Fix memory leaks and ComfyUI model management compatibility
- Fixed IndexError in ComfyUI's model management system when unloading models
- Improved memory cleanup to prevent VRAM leaks when switching between models
- Updated cache key handling to properly track attention mode variants
- Enhanced patcher lifecycle management to work with ComfyUI's internal systems
- Added safer model cleanup that doesn't interfere with ComfyUI's model tracking
2025-08-28 02:28:56 +01:00
drbaph
c29daa9050 Add configurable attention modes with compatibility checks
- Added dropdown selection for attention implementation (eager/sdpa/flash_attention_2)
- Implemented automatic compatibility checks and progressive fallbacks  
- Added hardware-specific optimizations for RTX 5090/Blackwell GPUs
- Enhanced error handling to prevent crashes from incompatible attention modes
2025-08-28 01:51:29 +01:00
WildAi
66710bbffc init 2025-08-27 16:23:01 +03:00