9 Commits
Author SHA1 Message Date
Richard Pinedo 3deafb3f05 massive 2x performance boost? 2025-09-07 23:03:29 -04:00
Richard Pinedo dc5c5cad59 configurable batch sizes 2025-09-07 03:51:42 -04:00
Richard Pinedo 1c074cf5f6 Merge branch 'main' of https://github.com/if-ai/ComfyUI_HunyuanVideoFoley
# Conflicts:
#	nodes.py
2025-09-04 21:08:27 -04:00
Richard Pinedo 241b65224b more batching 2025-09-04 19:56:28 -04:00
if@impactframes 8b070a29d1 fix: Comprehensive stability and memory overhaul
This commit addresses several critical issues to improve stability, user experience, and memory management.

- Implements a robust automatic model downloader to prevent errors on first-time use.
- Adds an adaptive compatibility layer for the 'transformers' library, resolving the 'get_image_features' AttributeError without forcing dependency versions.
- Overhauls memory management with proactive VRAM cleanup and a 'ping-pong' offloading strategy to drastically reduce peak VRAM usage and prevent leaks between runs.
- Fixes a data type error during video creation from image tensors.
- Resolves multiple TypeErrors related to incorrect function arguments.
- Corrects a state management bug that caused failures on sequential runs in advanced workflows.
2025-09-05 00:12:24 +01:00
Richard Pinedo 62a12d45e3 added batch_size and smart profiling to siglip2 2025-09-04 17:20:22 -04:00
Richard Pinedo 32f71634d7 improved memory management further 2025-09-04 02:01:46 -04:00
Richard Pinedo 608d6a754c improved stability and memory management, not ready for PR yet 2025-09-03 11:53:51 -04:00
if-ai e9a35ff6e2 Optimisations handls both types 2025-08-30 02:35:47 +01:00