You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
diffusers 0.5.1 crashs on MPS with unexpected keyword argument 'device_map' error #852
Activity
vvsotnikov commentedon Oct 15, 2022
I have the same issue with diffusers 0.5.1 and pytorch 1.14.0.dev20221014.
klyuhang9 commentedon Oct 15, 2022
I meet the same issue with diffusers 0.5.1 ,pytorch 1.11.0
dkackman commentedon Oct 16, 2022
Don't think it's specific to MPS. Getting the same on a Ryzan/NVIDIA combo
patrickvonplaten commentedon Oct 16, 2022
Hey @FahimF,
Thanks a lot for the issue! Could you try updating your
transformersversion here?Also see: #859
I'll now also open a PR to prevent this for lower transformers versions
FahimF commentedon Oct 17, 2022
@patrickvonplaten Upgrading to the the latest transformers did the trick. Thanks!
Revert "potential fix to pre-load DLL dir for torch-mlir (huggingface…