Skip to content

Commit 6bf668c

Browse files
authored
[chore] remove torch.save from remnant code. (#12717)
remove torch.save from remnant code.
1 parent e6d4612 commit 6bf668c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/pipelines/flux2/pipeline_flux2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,6 @@ def __call__(
861861
if output_type == "latent":
862862
image = latents
863863
else:
864-
torch.save({"pred": latents}, "pred_d.pt")
865864
latents = self._unpack_latents_with_ids(latents, latent_ids)
866865

867866
latents_bn_mean = self.vae.bn.running_mean.view(1, -1, 1, 1).to(latents.device, latents.dtype)

0 commit comments

Comments
 (0)