module 'diffusers' has no attribute 'StableDiffusionXLPipeline'

#5
by allknowingroger - opened

The Hosted inference API outputs:
module 'diffusers' has no attribute 'StableDiffusionXLPipeline'

Hey @allknowingroger ,

We need to update the inference API to support SDXL. We should have this done very soon - stay tuned!

Oh great! I thought it was only me! thank you

I noticed pipeline works, but not the API
https://huggingface.co/spaces/hysts/SD-XL

it work when upgrade version of diffuser module
!pip install --upgrade diffusers

The API is now switched on, but time outs.
Model stabilityai/stable-diffusion-xl-base-1.0 time out

I have the same problem today,
"AttributeError: module 'diffusers' has no attribute 'StableDiffusionXLPipeline'" and i just tried to run the base model
Screenshot 2023-11-01 at 12-06-57 Google Colaboratory.png

Pull the source from Github + install from there:
git clone https://github.com/huggingface/diffusers.git
cd diffusers
python -m pip install .

Sign up or log in to comment