Skip to content

Commit

Permalink
Undo backend change to torch.float16
Browse files Browse the repository at this point in the history
  • Loading branch information
GeroVanMi committed May 15, 2024
1 parent 5787951 commit 9d87d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/generate_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def initialize_pipeline(accelerator, config) -> DiffusionPipeline:
pipeline = DDPMPipeline(
unet=accelerator.unwrap_model(model), scheduler=noise_scheduler
)
return pipeline.from_pretrained(config.output_dir, torch_dtype=torch.float16)
return pipeline.from_pretrained(config.output_dir)


def upload_directory_with_transfer_manager(
Expand Down

0 comments on commit 9d87d1f

Please sign in to comment.