New ComfyUI Node Speeds Up Model Loading by Up to 2× via RAM Pre-reading
Valuable-Subject-274 · reddit · 2026-08-10
A developer leveraged GPT to create a custom ComfyUI node, ComfyUI-AVS-SSD-ReadAhead, which can speed up the loading and switching of large models by up to 2×.
- How it Works: A helper process sequentially pre-reads the model file from the SSD in parallel, storing the data in the Windows file cache (RAM). When ComfyUI requests the data, it fetches it directly from memory instead of waiting for the SSD. The patch monitors available RAM and scales back or disables pre-reading if memory is low.
- Benchmarks: On a slower SATA SSD, loading times dropped significantly: Flux 2 Klein went from 70s to 37s (47% faster), and Krea 2 from 76s to 45s. The patch does not affect generation quality, though improvements may be less noticeable on fast NVMe drives.
More from Infra
- Databricks Slashes Internal AI Costs by 90% via AI Gateways and Smart Routing — AdiPolak · 2026-08-10
- Autonomous Labs' Dual-GPU Machine Stays Quiet Even at 100% Load — dee_hw · 2026-08-10
- Mixing 3x RTX 5090 with AMD GPUs for DeepSeek: A Local Rig Experiment — fluffywuffie90210 · 2026-08-10
- Benchmarking Minimax H3 Video Acceleration: 10s Video in 60s on a Single RTX 5090 — nik_amaze · 2026-08-10
- Big Tech's 2027 AI Capex Projected to Hit $934.5B, Nearing $1T Milestone — Beth_Kindig · 2026-08-10
- Developer Pain Point: How to Auto-Route APIs to Optimize Multi-Model Costs? — MartinGTobias · 2026-08-10