Sayak Paul
09b7bfce91
[Core] move transformer scripts to transformers modules ( #6747 )
...
* move transformer scripts to transformers modules
* move transformer model test
* move prior transformer test to directory
* fix doc path
* correct doc path
* add: __init__.py
2024-01-29 22:28:28 +05:30
Kashif Rasul
6b04d61cf6
[Styling] stylify using ruff ( #5841 )
...
* ruff format
* not need to use doc-builder's black styling as the doc is styled in ruff
* make fix-copies
* comment
* use run_ruff
2023-11-20 11:48:34 +01:00
Patrick von Platen
a7ca03aa85
Replace flake8 with ruff and update black ( #2279 )
...
* before running make style
* remove left overs from flake8
* finish
* make fix-copies
* final fix
* more fixes
2023-02-07 23:46:23 +01:00
Patrick von Platen
8ed08e4270
[Deterministic torch randn] Allow tensors to be generated on CPU ( #1902 )
...
* [Deterministic torch randn] Allow tensors to be generated on CPU
* fix more
* up
* fix more
* up
* Update src/diffusers/utils/torch_utils.py
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
* Apply suggestions from code review
* up
* up
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-01-03 18:22:40 +01:00
Will Berman
2dcf64b72a
kakaobrain unCLIP ( #1428 )
...
* [wip] attention block updates
* [wip] unCLIP unet decoder and super res
* [wip] unCLIP prior transformer
* [wip] scheduler changes
* [wip] text proj utility class
* [wip] UnCLIPPipeline
* [wip] kakaobrain unCLIP convert script
* [unCLIP pipeline] fixes re: @patrickvonplaten
remove callbacks
move denoising loops into call function
* UNCLIPScheduler re: @patrickvonplaten
Revert changes to DDPMScheduler. Make UNCLIPScheduler, a modified
DDPM scheduler with changes to support karlo
* mask -> attention_mask re: @patrickvonplaten
* [DDPMScheduler] remove leftover change
* [docs] PriorTransformer
* [docs] UNet2DConditionModel and UNet2DModel
* [nit] UNCLIPScheduler -> UnCLIPScheduler
matches existing unclip naming better
* [docs] SchedulingUnCLIP
* [docs] UnCLIPTextProjModel
* refactor
* finish licenses
* rename all to attention_mask and prep in models
* more renaming
* don't expose unused configs
* final renaming fixes
* remove x attn mask when not necessary
* configure kakao script to use new class embedding config
* fix copies
* [tests] UnCLIPScheduler
* finish x attn
* finish
* remove more
* rename condition blocks
* clean more
* Apply suggestions from code review
* up
* fix
* [tests] UnCLIPPipelineFastTests
* remove unused imports
* [tests] UnCLIPPipelineIntegrationTests
* correct
* make style
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2022-12-18 15:15:30 -08:00