AUTOMATIC1111 / stable-diffusion-webui-promptgen

stable-diffusion-webui-promptgen
MIT License
484 stars 93 forks source link

RuntimeError: new(): expected key in DispatchKeySet(CPU, CUDA, HIP, XLA, MPS, IPU, XPU, HPU, Lazy, Meta) but got: PrivateUse1 #10

Open Omniphantasm opened 1 year ago

Omniphantasm commented 1 year ago

Just spits out the error when you try to generate.

RuntimeError: new(): expected key in DispatchKeySet(CPU, CUDA, HIP, XLA, MPS, IPU, XPU, HPU, Lazy, Meta) but got: PrivateUse1

Prompt doesn't matter and every button I clicked seemed to result in same thing.

Tried to Google it but I don't know enough about this stuff and I'm just assuming from CUDA being there that this is another instance of AMD users are just SOL? 🤣

Using this version of A1111 https://github.com/lshqqytiger/stable-diffusion-webui-directml

patcolyn commented 1 year ago

See this DirectML issue for the fix. Fix not currently included in a published PyTorch release.