Aller au contenu
Node packVérifiéExterne
Ouvrir la source

ComfyUI-Grok-SmartVAE

Initial release: Grok's Universal Smart VAE Decode – crash-proof, dynamic batching & force-scale edition

Mainteneur@uczensokratesaB · adoptionClasse

Profil du package

Statut
Vérifié
Éditeur
@uczensokratesa
Source
GitHub

LIREMOI

ComfyUI-Grok-SmartVAE

Version 12.0.0 - Production-Ready Video Workflow Suite

The most robust and memory-efficient VAE decoder suite for ComfyUI video workflows

SmartVAE Nodes


🎯 What's Included

This package provides 5 production-ready nodes

NodePurposeBest For
🎬 Universal Smart VAE DecodeIn-memory full-tensor decodeShort videos (<500 frames), high VRAM
🎬 SmartVAE Streaming DecoderFrame-by-frame encoding to diskLong videos (500+ frames), limited RAM
🎞️ SmartVAE Advanced DecoderStreaming + temporal color correctionProfessional quality, zero flicker
📂 Advanced Load LatentLoad saved latents with metadataIterative refinement workflows
🔍 Latent Metadata ViewerInspect latent files without loadingQuick library browsing

✨ Key Features

Memory Efficiency

  • ✅ Frame-by-frame decoding → 80% less RAM than standard pipeline
  • ✅ Streaming video output → no full tensor in memory
  • ✅ Automatic OOM recovery → tiling, batch reduction, VRAM detection
  • ✅ Handles 2000+ frames on 16GB RAM systems

Production Quality

  • ✅ Perfect audio sync → zero offset even on 40s+ videos
  • ✅ Zero-flicker color correction → seamless chunk boundaries
  • ✅ Crash recovery → resume from checkpoint
  • ✅ Multiple codecs → H.264, H.265, ProRes 422, FFV1 lossless

Developer Friendly

  • ✅ Automatic time scale detection → works with any VAE
  • ✅ Detailed diagnostics → corrupted latent detection with actionable fixes
  • ✅ Ignore warnings mode → user choice on risk tolerance
  • ✅ Live thumbnails → monitor progress in ComfyUI UI

🚀 Quick Start

Installation

cd ComfyUI/custom_nodes
git clone https://github.com/uczensokratesa/ComfyUI-Grok-SmartVAE.git
cd ComfyUI-Grok-SmartVAE
pip install -r requirements.txt

Dependencies:

  • torch>=2.0.0
  • imageio>=2.31.0
  • imageio-ffmpeg>=0.4.9
  • numpy>=1.24.0
  • safetensors>=0.4.0 (for Load Latent node)
  1. In your custom_nodes folder:
    git clone https://github.com/uczensokratesa/ComfyUI-Grok-SmartVAE.git
    The node appears in category: latent/video → Universal VAE Decode (v11.1 Final)Comparison with predecessorsModel
    

Scale Detection Force Scale Dynamic Batch Reduction Auto-Tiling on OOM Loop Type Stability Rating GPT basic ✗ ✗ ✗ for ★★☆☆☆ Gemini good ✗ partial ✓ for ★★★★☆ Claude very precise ✗ ✗ ✓ for ★★★★☆ Grok v11.1 very precise ✓ full (while + adaptive) aggressive while ★★★★★

Evolution – AI collaboration storyThis journey started as a simple task: create a reliable VAE Decode node for heavy video workflows.GPT provided the first working version
Gemini added tiling and better OOM handling
Claude brought the most accurate scale detection formula
Grok introduced force_time_scale + true dynamic while-loop batch reduction
Kimi contributed extreme memory safety (disk offload, pre-allocation, aggressive cleanup)
Final polish by Claude → production-ready stability

One of the nicest examples of how different AI models can iteratively improve each other and create something better than any single one could alone.LicenseMIT – feel free to use, modify, fork. Just keep the original idea attribution (and let me know if you make something even better )Happy generating! Current version: 11.2 – First official Comfy Registry release

🎬 Universal Smart VAE Video Decode (Streaming)

The most memory-efficient way to decode large video latents directly to file.

Features

  • Ultra-low RAM usage — decodes frame-by-frame, supports 2000+ frames even on 16 GB systems
  • Direct disk output — no need to hold full video tensor in memory
  • Audio muxing — perfect support for ComfyUI AUDIO input + manual audio_path
  • Codecs: H.264, H.265, ProRes 422, FFV1 (lossless)
  • Crash recovery — resumes from checkpoint if interrupted
  • Thumbnail previews

Nœuds dans ce pack

Nœuds 6
  • AdvancedLoadLatent
  • LatentMetadataViewer
  • LTX_VideoDecoder
  • SmartVAE_AdvancedDecoder
  • SmartVAE_StreamingDecoder
  • UniversalSmartVAEDecode

Sources

3 sources
GitHubSourceVersion a3f36fb627d178f8775c490e46c00f6fa40e0509
github.com/uczensokratesa/ComfyUI-Grok-SmartVAE

Vérifié 20 oct.

Extraits de sources

1 extrait

Source context: Repo uczensokratesa/ComfyUI-Grok-SmartVAE