SeeThrough Load LayerDiff Model
Loading the Model That Makes the Layers — Without Losing Your VRAM
- layerdiff_model
Every workflow in this pack starts here. SeeThrough Load LayerDiff Model is a loader node, and like most loader nodes it's boring in the best way: it fetches the SDXL-based layer-generation pipeline and hands it to the nodes downstream. But because the model it loads is the single biggest VRAM consumer in the entire See-through stack, the five toggles on this node are where you either fit the pack on your GPU or you don't. It's the one node in the pack worth actually reading the options on.
What it loads. The "LayerDiff 3D" model - layerdifforg/seethroughv0.0.2_layerdiff3d - a transparent-layer generation pipeline built on the same latent-transparency ideas as lllyasviel's LayerDiffusion, meaning it generates RGBA directly rather than matting afterward. It auto-downloads from HuggingFace on first use; several GB, so go make tea. The dropdown's second choice (24yearsold/..._nf4) is the 4-bit quantized variant for low-VRAM machines.
The inputs that matter:
model- a dropdown that lists anything you've placed inComfyUI/models/SeeThrough/plus the HuggingFace defaults. You mostly leave this alone.quant_mode-none(default, bf16) ornf4(4-bit, needsbitsandbytes). NF4 roughly halves the model's footprint - README's figure is ~8GB - at a quality cost you mostly don't see in the layers. If the bf16 model doesn't fit, this is a legitimately good trade.cache_tag_embeds- defaulttrue, leave it on. It pre-computes the tag embeddings once and then unloads the text encoders, saving ~2GB with zero speed impact. There is no reason to turn this off on any consumer GPU.group_offload- defaultfalse, and this is the "I'm desperate" switch. It moves model blocks on and off the GPU to cut peak VRAM (allocated VRAM drops to ~0.2GB), but it makes the run 2–3x slower, and it silently does nothing unless you havediffusers>=0.37.0installed - check the console for the warning. Tryresolution,quant_mode, andresolution_depthbefore you touch this.auto_download- defaulttrue. Set it tofalseif you're offline or want to force local-only loading; the node then errors instead of silently pulling from HuggingFace.vae_ckptandunet_ckpt- optional paths to custom VAE/UNet checkpoints. These are for people experimenting with alternate weights, not for normal use. Leave them empty.
Output: layerdiff_model (type SEETHROUGH_LAYERDIFF_MODEL) goes into the layerdiff_model input of SeeThrough Generate Layers. That's the only thing it connects to.
Installing. This is part of the ComfyUI-See-through pack. Install via ComfyUI Manager (search "See-through") or:
cd ComfyUI/custom_nodes
git clone https://github.com/jtydhr88/ComfyUI-See-through.git
cd ComfyUI-See-through
pip install -r requirements.txt
Then restart ComfyUI. For offline setups, you can drop the model manually into ComfyUI/models/SeeThrough/ - the loader scans up to two levels deep for any folder containing model_index.json and lists it in the dropdown. Once it finds a local copy, it sets local_files_only=True and never phones home, even if the HF repo updates.
Where people get burned: the README promises "only 4 additional Python packages," but the shipped requirements.txt actually installs seven, including bitsandbytes, peft, and matplotlib - and group_offload specifically needs a diffusers version newer than the floor. So if you're getting a silent "skipping group_offload" warning, run pip install "diffusers>=0.37.0". And the first-run model download can time out on slow connections - rerunning the workflow resumes from the HF cache, so it's annoying rather than fatal.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | layerdifforg/seethroughv0.0.2_layerdiff3d | HuggingFace repo ID or local model folder in models/SeeThrough/ |
| vae_ckptopt | STRING | Optional path to a custom VAE checkpoint (.safetensors) | |
| unet_ckptopt | STRING | Optional path to a custom UNet checkpoint | |
| quant_modeopt | COMBO | none | Quantization mode: 'none' for bf16, 'nf4' for 4-bit NormalFloat quantization (~8GB VRAM). Requires bitsandbytes. |
| cache_tag_embedsopt | BOOLEAN | true | Pre-compute and cache tag embeddings, then unload text encoders to save VRAM |
| group_offloadopt | BOOLEAN | false | Enable group offload to reduce peak VRAM (~10GB) at cost of ~1.5x slower speed |
| auto_downloadopt | BOOLEAN | true | If model is not found locally, download from HuggingFace. Disable to force local-only and error out instead of downloading. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| layerdiff_model | SEETHROUGH_LAYERDIFF_MODEL | — |