1

I'm encountering an error

AttibuteError: module 'torch' has no attribute 'xpu'

when running the diffusers library in a Google Colab environment with a CUDA GPU. I'm trying to use DiffusionPipleline.from_pretrained with stabilityai/stablediffusion-sl-base-1.0. How can I resolve this error or configure the library to work correctly in a CUDA environment without trying to access torch.xpu?

I basically followed the instructions of the agent.

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.