### Universal On-the-Fly GPU Layer Skip + Synchronized Audio & 10-Bit RTX Upscale (8GB VRAM Ready)
This clean, high-speed ComfyUI workflow is engineered for GPUs with **8GB VRAM** (tested on RTX 5050 8GB + 32GB System RAM) and includes a custom **NVFP4-safe PyTorch forward-bypass node MiniMax Layer Cutter)** that lets you control your speed-to-quality balance on the fly.
#### Why Use This Workflow?
* **No Turbo Models or Turbo LoRAs Needed:** Works with **ANY** standard NVFP4, FP8, or BF16 MiniMax H3 checkpoint. You no longer need to download separate heavy Turbo models—just load your favorite base model and accelerate it directly on the GPU.
* **Auto & Manual Layer Control on the Fly:** Choose from **5 built-in speed presets** Off, Light Fast, Turbo Safe, Ultra Turbo) or switch to Manual mode to toggle any of the 50 transformer blocks individually without restarting ComfyUI or modifying model files on disk.
* **Up to +35% Faster Sampling:** Cuts 4-step generation time on an RTX 5050 (8GB VRAM) from **55s down to 36s** (~9.0s/it) while preserving 10-bit visual sharpness and native audio sync.
* **End-to-End 10-Bit Pipeline RGB10A2):** Generates synchronized video and audio in 4–6 steps, doubles the frame rate smoothly via **RTX Frame Generation**, and enhances detail up to 1024×1024 / 1080p via **chunked RTX Upscaling & Refining**.
#### Quick Installation (v2.0+)
1. Extract the downloaded .zip archive and place *minimax_layer_cutter.py** into your ComfyUI/custom_nodes/ folder.
2. Restart ComfyUI and drag & drop the .json workflow onto the canvas.
#### Required Custom Node Packs (via ComfyUI Manager)
* ComfyUI-DaSiWa-Nodes
* ComfyUI-MiniMaxH3-FrameRate-Adjustment-Ac
Description
### What's New in v3.0 — Dual On-the-Fly Layer Skip (Video Model + 32B Text Encoder)
This version upgrades the workflow with **two NVFP4-safe custom nodes** that accelerate both the video diffusion model and the heavy 32B Qwen3-VL text encoder directly on the GPU—without needing Turbo checkpoints, Turbo LoRAs, or modifying files on disk.
#### Key Features & Improvements
* **1. Video Diffusion Layer Skip MiniMax Layer Cutter):** Dynamically bypasses redundant middle transformer blocks in real time. Choose from **5 built-in speed presets** Off, Light Fast, Turbo Safe, Ultra Turbo) or switch to Manual to toggle any of the 50 blocks individually. Cuts 4-step sampling time on an RTX 5050 (8GB VRAM) by up to **+35%** 55s -> 36s).
* **2. 32B Text Encoder Layer Skip MiniMax CLIP Layer Cutter — NEW):** Safely bypasses the top redundant transformer layers inside the Qwen3-VL 32B NVFP4 text encoder Light Trim, Balanced Fast, Aggressive Fast, or Manual), speeding up prompt encoding and reducing memory overhead while keeping prompt comprehension intact.
* **3. Seamless Multi-Clip Scene Chaining Extract Last Frame):** Includes a built-in ImageFromBatch index: -1) node at the end of the 10-bit upscale pipeline that automatically extracts and previews the exact final frame, making it effortless to chain multiple clips together into longer stories.
* **4. Universal Compatibility & 8GB VRAM Ready:** Works with **ANY** standard NVFP4, FP8, or BF16 MiniMax H3 checkpoint. Features end-to-end 10-bit color RGB10A2), native audio sync, RTX Frame Generation, and chunked RTX Upscaling chunk_frames: 8, empty_cache: true).
---
#### Simple 2-Step Installation
1. Extract the downloaded .zip archive and place **both** Python files minimax_layer_cutter.py and minimax_clip_layer_cutter.py) into your ComfyUI/custom_nodes/ folder.
2. Restart ComfyUI and drag & drop the .json workflow onto the canvas.