# Models, Checkpoints & LoRAs Keeping weights in the right directory and matching native quantization formats to your GPU prevents most loading errors and bottlenecks before they start. ## Model directory map (`ComfyUI/models/`) | Folder | Loader node / usage | What goes here | | --- | --- | --- | | `checkpoints/` | `Load Checkpoint` | All-in-one `.safetensors` models (SDXL, Illustrious, Pony, SD 1.5) | | `diffusion_models/` | `Load Diffusion Model` | Standalone base diffusion weights (legacy alias: `unet/`) | | `text_encoders/` | `Load CLIP` / `Load CLIP (Dual)` | Standalone text encoders (legacy alias: `clip/`): `qwen_3`, `qwen3vl`, `gemma`, `umt5`, `t5xxl`, `clip_l` | | `vae/` | `Load VAE` | Standalone VAEs (Flux, Qwen-Image 2.1, SDXL, Wan, LTX) | | `loras/` | `Load LoRA` / `Load LoRA (Model and CLIP)` | Style, character, edit, and distillation (Turbo/Lightning) LoRAs | | `controlnet/` | `Load ControlNet Model` | Canny, Depth, Pose, Lineart, Tile, and Union ControlNets (alias: `t2i_adapter/`) | | `upscale_models/` | `Load Upscale Model` | Pixel upscalers (`4x-UltraSharp`, `4x_NMKD-Siax`, `RealESRGAN_x4plus`) | | `latent_upscale_models/` | Latent upscaler loaders | Learned latent-space upscaler weights | | `model_patches/` | `ModelPatchLoader` | Lightweight model-patch adapters (such as Anima LLLite or Z-Image patches) | | `clip_vision/` | `Load CLIP Vision` | Visual encoders for IP-Adapter, Flux Redux, and image-to-video | | `style_models/` | `Load Style Model` | Style adapter weights such as `flux1-redux-dev.safetensors` | | `embeddings/` | Referenced via `embedding:name` | Textual inversion embeddings | | `audio_encoders/` | `Load Audio Encoder` | Encoders for audio and audio-video generation models | | `background_removal/` | `Load Background Removal Model` | Segmentation weights such as BiRefNet | | `geometry_estimation/` | `Load Depth Anything 3` | Depth and geometry estimation models | | `detection/` | Detection / SAM3 loaders | Object detection and SAM3 segmentation models | | `frame_interpolation/` | Frame interpolation loaders | Video frame interpolation weights | | `vae_approx/` | `--preview-method taesd` | TAESD fast latent preview decoders (`taesd_decoder.pth`, `taef1_decoder.pth`, etc.) | > [!WARNING] > Always prefer `.safetensors` files over legacy `.ckpt` or `.pt` pickle files. Pickle checkpoints can execute arbitrary Python code when deserialized, whereas `.safetensors` stores tensor data safely. ## Checkpoint vs split weights * **Checkpoints (`checkpoints/`):** combine `MODEL`, `CLIP`, and `VAE` inside one file and load with `Load Checkpoint`. * **Split weights (`diffusion_models/` + `text_encoders/` + `vae/`):** keep each component separate so you can pair a lighter native quantized diffusion model with a quantized text encoder without re-downloading duplicates. ## Native Comfy quantization (and why to skip GGUF) Modern DiT models (8B to 20B+ parameters) and vision-language text encoders are heavy in raw 16-bit weights. ComfyUI supports native `comfy_quant` checkpoints stored in standard `.safetensors` files with native fast kernels and Dynamic VRAM compatibility: | Format | Storage & precision | Hardware & usage notes | | --- | --- | --- | | `BF16` / `FP16` | 16-bit floating point | Reference precision; highest VRAM requirement | | `FP8` (`float8_e4m3fn` / `mxfp8`) | 8-bit floating point | Roughly half the VRAM of 16-bit with strong visual fidelity; fast on RTX 40/50 GPUs | | `convrot int8` (`int8_tensorwise` w/ Hadamard rotation) | 8-bit integer + per-row scales | High-accuracy native 8-bit format used across modern diffusion models and encoders (such as `qwen3vl_8b_int8_convrot.safetensors`) | | `w6a8` (`w6a8_int8`) / `w4a8` / `w4a4` | 6-bit and 4-bit packed integer | Compact native formats for 8-12 GB GPUs running large modern models | | `NVFP4` (`nvfp4`) | 4-bit floating point | Hardware-accelerated via Comfy Kitchen on RTX 50-series Blackwell GPUs | > [!WARNING] > Do not use GGUF models or third-party GGUF custom-node packs. ComfyUI's official troubleshooting guidance recommends removing all GGUF nodes and models and using native `.safetensors` quantization such as `convrot int8`, `w6a8`, `FP8`, or `NVFP4`, which load through built-in nodes, work seamlessly with Dynamic VRAM and LoRAs, and run **more than 2x faster** than GGUF. > [!TIP] > If a split-weight model barely spills out of VRAM, switch your text encoder (`text_encoders/`) to `FP8` or `convrot int8` first before stepping down the diffusion weights to 6-bit or 4-bit. ## Using and chaining LoRAs A LoRA (Low-Rank Adaptation) patches a base model's weights to add a character, art style, editing skill, or few-step distillation. 1. Place `.safetensors` LoRA files in `ComfyUI/models/loras/`. 2. Insert **`Load LoRA (Model and CLIP)`** (`LoraLoader`) between your model loader and both your text encoders and `KSampler`. 3. If a LoRA only patches the diffusion model (common on modern DiT models without CLIP weights), use **`Load LoRA`** (`LoraLoaderModelOnly`) so you do not have to route `CLIP` wires through every node. For independent patching, ComfyUI also provides **`Load LoRA (Model)`** and **`Load LoRA (Text Encoder)`**. 4. **Chaining multiple LoRAs:** connect `MODEL` and `CLIP` out of `LoRA 1` into `LoRA 2`, then into `KSampler`. 5. **Strength guidelines:** * **Single style/character LoRA:** `0.6 - 1.0`. * **Stacked LoRAs (2 to 4):** lower each to `0.4 - 0.75` so weights do not fight and burn highlights. * **Trigger words:** check the creator's model card and include exact trigger tags in your positive prompt. ## Sharing models with `extra_model_paths.yaml` If you already store models for MooshieUI or another local UI, share one library on disk instead of duplicating 10 GB+ files. 1. In your ComfyUI root folder, copy `extra_model_paths.yaml.example` to `extra_model_paths.yaml` (or pass `--extra-model-paths-config` / `--models-directory` at launch). 2. Edit the base path and subfolders (`is_default: true` lets ComfyUI save newly downloaded assets there too): ```yaml shared_models: base_path: D:/AI-Models/ is_default: true checkpoints: checkpoints/ diffusion_models: diffusion_models/ text_encoders: text_encoders/ vae: vae/ loras: loras/ controlnet: controlnet/ upscale_models: upscale_models/ latent_upscale_models: latent_upscale_models/ model_patches: model_patches/ clip_vision: clip_vision/ audio_encoders: audio_encoders/ ``` 3. Save the file and restart ComfyUI (or press `R` in the UI to refresh node dropdowns). Next: master prompt syntax, CFG, samplers, and resolutions in [Prompting, Samplers & Schedulers](./prompting-and-samplers.md).