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.
808 B
808 B