Closed niw closed 2 weeks ago
On mps, it only supports float16 for autocast. Use float16 instead of bfloat16 on mps for now.
float16
autocast
bfloat16
This patch also use dtype for vae as well so that it can use bfloat16 or float16 on mps and other environment.
dtype
On mps, it only supports
float16
forautocast
. Usefloat16
instead ofbfloat16
on mps for now.This patch also use
dtype
for vae as well so that it can usebfloat16
orfloat16
on mps and other environment.