Rename diffusion_pytorch_model_promax.safetensors to diffusion_pytorch_model.promax.safetensors
#47
by
elismasilva
- opened
No description provided.
to allow use variant="promax"
and you dont need have double config.json, you can have only config.json and when load promax model only do this:
controlnet = ControlNetModel_Union.from_pretrained('xinsir/controlnet-union-sdxl-1.0', num_control_type=8, torch_dtype=torch.float16, variant="promax")
and for normal version:
controlnet = ControlNetModel_Union.from_pretrained('xinsir/controlnet-union-sdxl-1.0', torch_dtype=torch.float16)