diffusers
[Pipelines] Adds pix2pix zero
#2334
Merged

[Pipelines] Adds pix2pix zero #2334

patrickvonplaten merged 65 commits into main from pix2pix-zero
sayakpaul
sayakpaul add: support for BLIP generation.
71618a48
sayakpaul add: support for editing synthetic images.
f206b1dc
sayakpaul remove unnecessary comments.
6ed7c204
sayakpaul add inits and run make fix-copies.
f95a3fce
sayakpaul version change of diffusers.
3881408d
sayakpaul fix: condition for loading the captioner.
9fe140bf
sayakpaul default conditions_input_image to False.
d8de3e0e
sayakpaul guidance_amount -> cross_attention_guidance_amount
e3f51c56
sayakpaul fix inputs to check_inputs()
e08b2549
sayakpaul fix: attribute.
45b17398
sayakpaul fix: prepare_attention_mask() call.
d44d6992
sayakpaul debugging.
2f71a8c1
sayakpaul better placement of references.
f7576634
sayakpaul remove torch.no_grad() decorations.
5d44832f
sayakpaul put torch.no_grad() context before the first denoising loop.
c4fb4ad0
sayakpaul detach() latents before decoding them.
ade51d76
sayakpaul put deocding in a torch.no_grad() context.
e23fe7b8
sayakpaul add reconstructed image for debugging.
c76c1622
sayakpaul no_grad(0
b02016bb
sayakpaul apply formatting.
55414e02
sayakpaul sayakpaul requested a review from williamberman williamberman 3 years ago
sayakpaul sayakpaul requested a review from patrickvonplaten patrickvonplaten 3 years ago
sayakpaul sayakpaul requested a review from patil-suraj patil-suraj 3 years ago
sayakpaul sayakpaul removed review request from williamberman williamberman 3 years ago
sayakpaul sayakpaul removed review request from patrickvonplaten patrickvonplaten 3 years ago
sayakpaul sayakpaul removed review request from patil-suraj patil-suraj 3 years ago
HuggingFaceDocBuilderDev
williamberman
williamberman commented on 2023-02-13
williamberman
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
patrickvonplaten
patrickvonplaten commented on 2023-02-13
sayakpaul address one-off suggestions from the draft PR.
b07d2cd1
sayakpaul back to torch.no_grad() and add more elaborate comments.
9bdade10
sayakpaul refactor prepare_unet() per Patrick's suggestions.
8e973665
sayakpaul more elaborate description for .
7f61cdb2
sayakpaul formatting.
b99e508c
sayakpaul
sayakpaul add docstrings to the methods specific to pix2pix zero.
db2136ac
sayakpaul suspecting a redundant noise prediction.
a64d6467
sayakpaul needed for gradient computation chain.
1afd2b8c
sayakpaul less hacks.
b6655f9d
sayakpaul fix: attention mask handling within the processor.
30cc5ef0
sayakpaul remove attention reference map computation.
ee59e57a
sayakpaul fix: cross attn args.
d9cc312f
sayakpaul fix: prcoessor.
e54ff0f8
sayakpaul store attention maps.
a5d95d9f
sayakpaul fix: attention processor.
02faceee
sayakpaul sayakpaul requested a review from patrickvonplaten patrickvonplaten 3 years ago
sayakpaul
sayakpaul
sayakpaul commented on 2023-02-14
patrickvonplaten
patrickvonplaten commented on 2023-02-14
patrickvonplaten
patrickvonplaten
sayakpaul update docs and better treatment to xa args.
26be9a16
sayakpaul update the final noise computation call.
57e1709e
sayakpaul change xa args call.
f37e25a7
sayakpaul remove xa args option from the pipeline.
2d551628
sayakpaul add: docs.
8a17a17b
sayakpaul first test.
7bd9a6df
sayakpaul fix: url call.
164aef43
sayakpaul fix: argument call.
cc1efb2f
sayakpaul remove image conditioning for now.
17dda7c0
sayakpaul 🚨 add: fast tests.
6a3091eb
sayakpaul explicit placement of the xa attn weights.
df99c534
sayakpaul add: slow tests 🐢
9a58071e
sayakpaul fix: tests.
9df89992
sayakpaul edited direction embedding should be on the same device as prompt_emb…
c20870fb
sayakpaul debugging message.
731267be
sayakpaul debugging.
87d5c158
sayakpaul add pix2pix zero pipeline for a non-deterministic test.
d81e110b
sayakpaul debugging/
48e8f8ce
sayakpaul remove debugging message.
522e8820
sayakpaul make caption generation _
8884e10d
sayakpaul
sayakpaul commented on 2023-02-15
sayakpaul
sayakpaul commented on 2023-02-15
sayakpaul
sayakpaul commented on 2023-02-15
sayakpaul sayakpaul marked this pull request as ready for review 3 years ago
sayakpaul
sayakpaul
sayakpaul sayakpaul requested a review from williamberman williamberman 3 years ago
sayakpaul sayakpaul requested a review from patrickvonplaten patrickvonplaten 3 years ago
sayakpaul Merge branch 'main' into pix2pix-zero
872cf9de
patrickvonplaten
patrickvonplaten
patrickvonplaten commented on 2023-02-15
patrickvonplaten
patrickvonplaten commented on 2023-02-15
patrickvonplaten
patrickvonplaten commented on 2023-02-15
patrickvonplaten
patrickvonplaten commented on 2023-02-15
patrickvonplaten
patrickvonplaten commented on 2023-02-15
patrickvonplaten
patil-suraj
patil-suraj commented on 2023-02-15
patrickvonplaten
sayakpaul address comments (part I).
d23357fb
sayakpaul address PR comments (part II)
ca8855e8
sayakpaul fix: DDPM test assertion.
46cdfc85
sayakpaul refactor doc.
75f918ec
sayakpaul address PR comments (part III).
a86277e6
sayakpaul sayakpaul requested a review from patil-suraj patil-suraj 3 years ago
sayakpaul sayakpaul removed review request from patil-suraj patil-suraj 3 years ago
sayakpaul sayakpaul requested a review from patrickvonplaten patrickvonplaten 3 years ago
sayakpaul sayakpaul requested a review from patil-suraj patil-suraj 3 years ago
sayakpaul fix: type annotation for the scheduler.
696d8027
sayakpaul apply styling.
d166a476
sayakpaul sayakpaul assigned sayakpaul sayakpaul 3 years ago
sayakpaul Merge branch 'main' into pix2pix-zero
35e11a99
sayakpaul skip_mps and add note on embeddings in the docs.
4ff6f12b
patrickvonplaten patrickvonplaten merged fd3d5502 into main 3 years ago
patrickvonplaten
patrickvonplaten patrickvonplaten deleted the pix2pix-zero branch 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone