t need to be loaded separately as explained in the SDXL textual inversion section.  Optimizations SDXL is a large model, and you may need to optimize memory to get it to run on your hardware. Here are some tips to save memory and speed up inference. Offload the model to the CPU with enable_model_cpu_offload() for out-of-memory errors:   Copied - base.to("cuda")
- refiner.to("cuda")
+ base.enable_model_cpu_offload()
+ refiner.enable_model_cpu_of