1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

use real checkpoint

This commit is contained in:
Patrick von Platen
2022-07-15 19:13:39 +00:00
parent 43bbc78123
commit da8e87e201
2 changed files with 1 additions and 2 deletions

View File

@@ -45,7 +45,6 @@ def current_codebase_conversion():
currently_converted_checkpoint = current_codebase_conversion()
torch.save(currently_converted_checkpoint, 'currently_converted_checkpoint.pt')
def diff_between_checkpoints(ch_0, ch_1):
@@ -84,3 +83,4 @@ def diff_between_checkpoints(ch_0, ch_1):
diff_between_checkpoints(currently_converted_checkpoint, checkpoint)
torch.save(checkpoint, "/path/to/checkpoint/")

View File

@@ -1070,7 +1070,6 @@ class PipelineTesterMixin(unittest.TestCase):
@slow
def test_ldm_uncond(self):
# ldm = LatentDiffusionUncondPipeline.from_pretrained("fusing/latent-diffusion-celeba-256", ldm=True)
ldm = LatentDiffusionUncondPipeline.from_pretrained("CompVis/latent-diffusion-celeba-256")
generator = torch.manual_seed(0)