Patrick von Platen
9d3775179b
Merge branch 'add_versatile_diffusers' of https://github.com/huggingface/diffusers into add_versatile_diffusers
2022-11-23 12:08:50 +00:00
Patrick von Platen
8d4207ddd2
correct unconditional image
2022-11-23 12:08:46 +00:00
anton-l
914942feb3
DualTransformer(nn.Module)
2022-11-23 12:21:01 +01:00
anton-l
f5e8ec6179
DualTransformer(nn.Module)
2022-11-23 12:16:41 +01:00
anton-l
8f5f372573
dual transformer as a native module
2022-11-23 11:58:08 +01:00
Patrick von Platen
22c6b32672
propose change
2022-11-23 08:43:17 +00:00
anton-l
95e37119e9
fix token ratio
2022-11-22 19:01:15 +01:00
anton-l
efe41ff173
Merge remote-tracking branch 'origin/add_versatile_diffusers' into add_versatile_diffusers
2022-11-22 18:19:53 +01:00
anton-l
02254cbb22
dual guided pipeline
2022-11-22 18:19:47 +01:00
Patrick von Platen
7c999fe964
add some first docs
2022-11-22 16:50:06 +00:00
Patrick von Platen
2b7cd87694
fix image to text
2022-11-22 13:09:26 +00:00
anton-l
e4728c2086
reshape
2022-11-22 02:05:39 +01:00
anton-l
bf8f2fb2c9
update tests
2022-11-22 01:47:08 +01:00
anton-l
f706729d3c
text unet end to end
2022-11-21 23:56:35 +01:00
anton-l
8c989ebe40
wip text_unet
2022-11-21 17:18:31 +01:00
anton-l
4d9ec98c79
Merge remote-tracking branch 'origin/add_versatile_diffusers' into add_versatile_diffusers
2022-11-21 15:05:03 +01:00
anton-l
bc509b2e1c
refactor image var
2022-11-21 15:04:24 +01:00
Patrick von Platen
2a50c847f8
add gpt2
2022-11-21 13:45:10 +00:00
Patrick von Platen
f2bc526d56
add optimus
2022-11-21 13:44:04 +00:00
anton-l
303052dc70
mega pipeline
2022-11-21 14:10:12 +01:00
anton-l
d36cf41b83
refactor text2img
2022-11-21 13:40:10 +01:00
anton-l
22e6b5401b
fix format
2022-11-21 12:37:18 +01:00
anton-l
5785e27bb5
Merge remote-tracking branch 'origin/add_versatile_diffusers' into add_versatile_diffusers
2022-11-21 12:33:32 +01:00
anton-l
74fde82016
split text2img and img2img
2022-11-21 12:33:09 +01:00
Patrick von Platen
a7588042d9
Merge branch 'main' of https://github.com/huggingface/diffusers into add_versatile_diffusers
2022-11-21 11:27:32 +00:00
Stuti R
78a6eed2d7
Add bit diffusion [WIP] ( #971 )
...
* Create bit_diffusion.py
Bit diffusion based on the paper, arXiv:2208.04202, Chen2022AnalogBG
* adding bit diffusion to new branch
ran tests
* tests
* tests
* tests
* tests
* removed test folders + added to README
* Update README.md
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-11-21 11:50:32 +01:00
shunxing1234
94b27fb8da
change the sample model ( #1352 )
...
* Update alt_diffusion.mdx
* Update alt_diffusion.mdx
2022-11-21 11:28:25 +01:00
Patrick von Platen
ab1f01e634
make style
2022-11-20 19:37:28 +01:00
Patrick von Platen
2b31740d54
Merge branch 'main' of https://github.com/huggingface/diffusers
2022-11-20 19:37:14 +01:00
Victor Schmidt
3bec90ff2c
Handle batches and Tensors in pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image ( #1003 )
...
* Handle batches and Tensors in `prepare_mask_and_masked_image`
* `blackfy`
upgrade `black`
* handle mask as `np.array`
* add docstring
* revert `black` changes with smaller line length
* missing ValueError in docstring
* raise `TypeError` for image as tensor but not mask
* typo in mask shape selection
* check for batch dim
* fix: wrong indentation
* add tests
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-11-20 19:33:09 +01:00
Ki
eb2425b88c
Update README.md: Minor change to Imagic code snippet, missing dir error ( #1347 )
...
Minor change to Imagic Readme
Missing dir causes an error when running the example code.
2022-11-20 18:59:56 +01:00
Ki
44efcbda0a
Update README.md: IMAGIC example code snippet misspelling ( #1346 )
...
Update README.md
Minor spelling mistake.
2022-11-20 18:56:57 +01:00
Juan Acevedo
7bbbfbfd18
Jax infer support negative prompt ( #1337 )
...
* support negative prompts in sd jax pipeline
* pass batched neg_prompt
* only encode when negative prompt is None
Co-authored-by: Juan Acevedo <jfacevedo@google.com >
2022-11-19 20:51:52 +01:00
Clayton Sims
30220905c4
Legacy Inpainting Pipeline for Onnx Models ( #1237 )
...
* Add legacy inpainting pipeline compatibility for onnx
* remove commented out line
* Add onnx legacy inpainting test
* Fix slow decorators
* pep8 styling
* isort styling
* dummy object
* ordering consistency
* style
* docstring styles
* Refactor common prompt encoding pattern
* Update tests to permanent repository home
* support all available schedulers until ONNX IO binding is available
Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com >
* updated styling from PR suggested feedback
Co-authored-by: Anton Lozhkov <aglozhkov@gmail.com >
2022-11-18 16:33:12 +01:00
Anton Lozhkov
7240318179
Fix the order of casts for onnx inpainting ( #1338 )
2022-11-18 16:30:07 +01:00
NotNANtoN
aa2ce41b99
Fix img2img speed with LMS-Discrete Scheduler ( #896 )
...
Casting `self.sigmas` into a different dtype (the one of original_samples) is not advisable. In my img2img pipeline this leads to a long running time in the `integrate.quad` call later on- by long I mean more than 10x slower.
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
2022-11-18 16:01:57 +01:00
Anton Lozhkov
81fa2d688d
Avoid nested fix-copies ( #1332 )
...
* Avoid nested `# Copied from` statements during `make fix-copies`
* style
2022-11-18 15:33:57 +01:00
Patrick von Platen
195e437ac5
Correct path to schedlure ( #1322 )
...
* [Examples] Correct path
* uP
2022-11-18 12:32:49 +01:00
Patrick von Platen
fcfdd95f0b
Fix/Enable all schedulers for in-painting ( #1331 )
...
* inpaint fix k lms
* onnox as well
* up
2022-11-18 12:32:17 +01:00
Simon Kirsten
5dcef138bf
[Flax] Fix loading scheduler from subfolder ( #1319 )
...
[FLAX] Fix loading scheduler from subfolder
2022-11-18 11:31:07 +01:00
Nathan Lambert
0cfbb51b0c
add docs for multi-modal examples ( #1227 )
...
* add docs for multi-modal
* many changes
* fix docs build
* fix links
* Update docs/source/using-diffusers/other-modalities.mdx
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2022-11-17 10:25:49 -08:00
Patrick von Platen
b9b7039f0e
img2text Typo ( #1329 )
...
* make fix copies again
* Fix typo
2022-11-17 16:48:15 +01:00
Patrick von Platen
63b34191b9
Fix typo
2022-11-17 16:47:19 +01:00
Patrick von Platen
b21a463aa9
rg Merge branch 'main' of https://github.com/huggingface/diffusers
2022-11-17 16:46:33 +01:00
Anton Lozhkov
e05ca84f41
[ONNX] Support Euler schedulers ( #1328 )
2022-11-17 16:37:35 +01:00
Patrick von Platen
3b48620f5e
Merge branch 'main' of https://github.com/huggingface/diffusers
2022-11-17 16:14:53 +01:00
Patrick von Platen
632dacea2f
[Custom pipeline] Easier loading of local pipelines ( #1327 )
...
* [Custom pipeline] Easier loading of local pipelines
* upgrade black
2022-11-17 16:00:26 +01:00
Patrick von Platen
3fb28c44a3
xMerge branch 'main' of https://github.com/huggingface/diffusers
2022-11-17 15:50:36 +01:00
Patrick von Platen
2dd12e38af
make fix copies again
2022-11-17 15:50:33 +01:00
Prathik Rao
3346ec3acd
integrate ort ( #1110 )
...
* integrate ort
* use return_dict=False
* revert unet return value change
* revert unet return value change
* add note to readme
* adjust readme
* add contact
* `make style`
Co-authored-by: Prathik Rao <prathikrao@microsoft.com >
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
2022-11-17 15:48:41 +01:00