gvecchio commited on
Commit
693939a
1 Parent(s): e480f7f

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -0
pipeline.py CHANGED
@@ -866,6 +866,7 @@ class MatForgerPipeline(DiffusionPipeline, FromSingleFileMixin):
866
  else:
867
  image = latents
868
 
 
869
  image = postprocess(image, output_type=output_type)
870
 
871
  # Offload all models
 
866
  else:
867
  image = latents
868
 
869
+ image.to(torch.float32)
870
  image = postprocess(image, output_type=output_type)
871
 
872
  # Offload all models