- SD/SDXL: use the checkpoint’s built-in CLIP/VAE, or point the loader to an external VAE if preferred.
- Flux: external text encoders
clip_l.safetensorsandt5xxl_fp8_e4m3fn_scaled.safetensors, plus VAEae.safetensorsplaced inmodels/text_encodersandmodels/vae, then selected in the Flux loader.
- For heavy checkpoints (Flux Dev 2 FP32, etc.), run Hardware Validator (MultiGPU) first and feed its
gpu_idsstring into the loader plus itsokboolean into the loader’ssafety_okinput. - Use the debug loaders with
log_vram_snapshotwhen diagnosing sharding; switch to non-debug loaders for production graphs. - Pair the debug sampler with a display node to capture shard layout, per-GPU block counts, and VRAM deltas in
comfyui.log.
- Use the Load Checkpoint (MultiGPU) Debug or Load Flux Checkpoint (MultiGPU) Debug node to load your model; set
gpu_ids(e.g.,0,1,2,3) and optionally enablelog_vram_snapshotfor before/after VRAM numbers. - Pair with KSampler (MultiGPU) Debug to see shard layout, per-GPU block counts, VRAM deltas, and peaks during sampling. Connect its
statusoutput to a display node to log details intocomfyui.log. - For production graphs without extra outputs, use the non-debug loader/sampler counterparts.
- Load Checkpoint (MultiGPU) Debug:
log_vram_snapshotappends per-GPU VRAM readings (in GB) before and after sharding to the node status andcomfyui.log. - KSampler (MultiGPU) Debug: reports shard counts per device, flags GPUs without assigned blocks, logs live VRAM deltas and peak usage per GPU, and lists how many blocks each GPU executed during the last sampling pass.