what's the correct way to load this control net?
#1
by
deleted
- opened
since this is in fp16 and I used the convention to name it, you will need to use the variant arg:
import torch
from diffusers import ControlNetUnionModel
controlnet_model = ControlNetUnionModel.from_pretrained(
"OzzyGT/controlnet-union-promax-sdxl-1.0",
torch_dtype=torch.float16,
variant="fp16",
)