SUPIR Model Loader (v2)

SUPIR_model_loader_v2

Loads the SUPIR model and merges it with the SDXL model. Diffusion type should be kept on auto, unless you have issues loading the model. fp8_unet casts the unet weights to torch.float8_e4m3fn, which saves a lot of VRAM but has slight quality impact. high_vram: uses Accelerate to load weights to GPU, slightly faster model loading.

Pack: ComfyUI-SUPIR

custom_nodes.ComfyUI-SUPIR

Inputs (7)

NameTypeRequired
modelMODELrequired
clipCLIPrequired
vaeVAErequired
supir_modelCOMBOrequired
fp8_unetBOOLEANrequired
diffusion_dtypeCOMBOrequired
high_vramBOOLEANoptional

Outputs (2)

NameType
SUPIR_modelSUPIRMODEL
SUPIR_VAESUPIRVAE