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
@torch.autocast(device_type="cuda", dtype=torch.float32)defforward(self, timestep):
RootCauseThedecoratorisevaluatedatimporttime, notatruntime. OnsystemswithoutCUDA (likeAppleSiliconMacsusingMPS), thistriggersthewarningeventhoughtheKandinskymodelmayneverbeused.
Reproduction# On a Mac with Apple Silicon (no CUDA)fromdiffusersimportZImagePipeline# or any pipeline# Warning appears immediately on importExpectedbehaviorNowarningshouldappearwhenimportingdiffusersonnon-CUDAsystems.
Environment-OS: macOS (AppleSiliconM-series)
-Python: 3.13-PyTorch: 2.x (MPSbackend)
-Diffusers: latest