🩹 FIXED: ComfyUI VRAM Spike Issue on Python 3.12 - Auto-Patched in v4.10.9 #118
diodiogod
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR
ComfyUI v0.3.57+ causes severe VRAM spikes on Python 3.12. We have built-in an automatic fix to TTS Audio Suite v4.10.9 and submitted the patch to ComfyUI (PR #10026).
What Happened
Since I introduced IndexTTS-2, I noticed massive VRAM spikes on Python 3.12. This drove me absolutely crazy - I initially thought it was my code, then dependency conflicts, then just Python version differences...
Plot twist: The spikes affect ALL TTS engines (even classic ChatterBox), and only happen on Python 3.12. After extensive testing with clean environments and old code versions, I confirmed it is a ComfyUI regression.
Root Cause Found ✅
--fastflag✅ ALREADY FIXED IN TTS AUDIO SUITE v4.10.9!
Good news: The fix is now automatically built into TTS Audio Suite v4.10.9! Just update to the latest version and the VRAM spikes will be automatically resolved.
The automatic fix:
TTS AUDIO SUITE CUDNN FIX APPLIEDAlternative Solutions (Not Needed)
Option 1: Don not Use
--fastFlagRemove
--fastfrom your ComfyUI launch arguments (reduces performance slightly)Option 2: Downgrade ComfyUI (Not Recommended)
Status
Python 3.13 users: You are unaffected and can continue using latest ComfyUI.
How to Update
git pullin your TTS Audio Suite folder🩹 TTS AUDIO SUITE CUDNN FIX APPLIEDwhen it activatesThat is it! Your VRAM spikes are now eliminated automatically. 🎉
Technical Details: This is a targeted compatibility patch that only disables CUDNN benchmarking on Python 3.12 when the problematic
--fast autotuneflag is used. Other Python versions continue to benefit from the performance optimization. The patch applies automatically before any TTS generation, ensuring zero VRAM spikes while preserving all functionality.Beta Was this translation helpful? Give feedback.
All reactions