Model weights may be stored in separate subfolders on the Hub or locally, in which case, you should use the [`~StableDiffusionXLPipeline.from_pretrained`] method:  
```py
from diffusers import AutoPipelineForText2Image
import torch