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