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
- Chess Transformer hits 2545 Elo after 260x training speedup — realSharonZhou · 2026-11-30
- Tokens/sec alone is misleading: quantized LLM speed hides quality costs — OrganizationAgile361 · 2026-11-30
- Samsung's new memory chief warns record quarters don't mean competitiveness is back — tengyanAI · 2026-11-30
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30