1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
Commit Graph

4601 Commits

Author SHA1 Message Date
Aryan
60ea9ae800 fix vid2vid 2024-09-17 23:09:32 +02:00
Aryan
5893fdcbfc update 2024-09-17 22:46:34 +02:00
Aryan
7c843949f6 fight more tests 2024-09-17 22:27:10 +02:00
Aryan
0e1c569c58 update tests 2024-09-17 21:52:33 +02:00
Aryan
0c8ec36353 remove option to train text encoder
Co-Authored-By: bghira <bghira@users.github.com>
2024-09-17 21:51:08 +02:00
Aryan
f8fd7273e5 add coauthors
Co-Authored-By: Fu-Yun Wang <1697256461@qq.com>
2024-09-17 03:53:03 +02:00
Aryan
57d7ca647e update docs 2024-09-17 03:51:20 +02:00
Aryan
f07755fd04 import Dummy optim and scheduler only wheh required 2024-09-17 03:50:57 +02:00
Aryan
6d704ce770 fight lora runner tests 2024-09-17 03:20:36 +02:00
Aryan
2ec6232d1c Merge branch 'main' into cogvideox-lora-and-training 2024-09-17 02:17:20 +02:00
Aryan
1b0a6bd383 add co-authors
Co-Authored-By: Fu-Yun Wang <1697256461@qq.com>

Co-Authored-By: zR <2448370773@qq.com>
2024-09-17 02:16:29 +02:00
Aryan
0aa8f3ad20 fight tests 2024-09-17 02:13:51 +02:00
Linoy Tsaban
8fcfb2a456 [Flux with CFG] add flux pipeline with cfg support (#9445)
* true_cfg

* add check negative prompt/embeds inputs

* move to community pipelines

* move to community pipelines

* revert true cfg changes to the orig pipline

* style

---------

Co-authored-by: YiYi Xu <yixu310@gmail.com>
2024-09-16 12:09:34 -10:00
Sayak Paul
5440cbd34e [CI] updates to the CI report naming, and accelerate installation (#9429)
* chore: id accordingly to avoid duplicates.

* update properly.

* updates

* updates

* empty

* updates

* changing order helps?
2024-09-16 11:29:07 -10:00
suzukimain
b52119ae92 [docs] Replace runwayml/stable-diffusion-v1-5 with Lykon/dreamshaper-8 (#9428)
* [docs] Replace runwayml/stable-diffusion-v1-5 with Lykon/dreamshaper-8

Updated documentation as runwayml/stable-diffusion-v1-5 has been removed from Huggingface.

* Update docs/source/en/using-diffusers/inpaint.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Replace with stable-diffusion-v1-5/stable-diffusion-v1-5

* Update inpaint.md

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2024-09-16 10:18:45 -07:00
Aryan
969a9608c3 add lora stuff to img2vid pipeline to fix tests 2024-09-16 15:13:59 +02:00
Aryan
ec8d483e72 deepspeed refactor 2024-09-16 13:54:34 +02:00
Aryan
0d95b0c5c0 Merge branch 'main' into cogvideox-lora-and-training 2024-09-16 12:33:46 +02:00
Yuxuan.Zhang
8336405e50 CogVideoX-5b-I2V support (#9418)
* draft Init

* draft

* vae encode image

* make style

* image latents preparation

* remove image encoder from conversion script

* fix minor bugs

* make pipeline work

* make style

* remove debug prints

* fix imports

* update example

* make fix-copies

* add fast tests

* fix import

* update vae

* update docs

* update image link

* apply suggestions from review

* apply suggestions from review

* add slow test

* make use of learned positional embeddings

* apply suggestions from review

* doc change

* Update convert_cogvideox_to_diffusers.py

* make style

* final changes

* make style

* fix tests

---------

Co-authored-by: Aryan <aryan@huggingface.co>
2024-09-16 14:46:24 +05:30
Sayak Paul
2171f77ac5 [CI] make runner_type restricted. (#9441)
make runner_type restricted.
2024-09-16 12:09:31 +05:30
Aryan
2454b98af4 Allow max shard size to be specified when saving pipeline (#9440)
allow max shard size to be specified when saving pipeline
2024-09-16 08:36:07 +05:30
Aryan
b07ac7496a add requirements.txt 2024-09-16 03:23:02 +02:00
Aryan
4679088bfe deepspeed stuff 2024-09-16 03:05:29 +02:00
Aryan
a3ca2a2732 update lora tests 2024-09-16 02:57:10 +02:00
Aryan
ca9d9a125d add cleaner modifications to lora testing utils 2024-09-15 22:38:48 +02:00
Aryan
19d12f55e7 revert lora utils changes 2024-09-15 22:33:47 +02:00
Aryan
e3a9fe7bde Merge branch 'main' into cogvideox-lora-and-training 2024-09-15 22:25:25 +02:00
Aryan
e3c267750b add test skeleton 2024-09-15 22:25:20 +02:00
Aryan
e83200ece5 update 2024-09-15 22:03:23 +02:00
Aryan
96b2f17b1a fix 2024-09-15 20:27:44 +02:00
Linoy Tsaban
37e3603c4a [Flux Dreambooth lora] add latent caching (#9160)
* add ostris trainer to README & add cache latents of vae

* add ostris trainer to README & add cache latents of vae

* style

* readme

* add test for latent caching

* add ostris noise scheduler
9ee1ef2a0a/toolkit/samplers/custom_flowmatch_sampler.py (L95)

* style

* fix import

* style

* fix tests

* style

* --change upcasting of transformer?

* update readme according to main

* keep only latent caching

* add configurable param for final saving of trained layers- --upcast_before_saving

* style

* Update examples/dreambooth/README_flux.md

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>

* Update examples/dreambooth/README_flux.md

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>

* use clear_objs_and_retain_memory from utilities

* style

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2024-09-15 15:30:31 +03:00
Aryan
0bd238a522 make style 2024-09-15 00:07:56 +02:00
Aryan
8aa62dd436 update 2024-09-15 00:07:29 +02:00
Aryan
f1740b0fb5 Merge branch 'main' into cogvideox-lora-and-training 2024-09-14 23:44:05 +02:00
Aryan
5e5ee430cb update 2024-09-14 23:41:53 +02:00
Leo Jiang
e2ead7cdcc Fix the issue on sd3 dreambooth w./w.t. lora training (#9419)
* Fix dtype error

* [bugfix] Fixed the issue on sd3 dreambooth training

* [bugfix] Fixed the issue on sd3 dreambooth training

---------

Co-authored-by: 蒋硕 <jiangshuo9@h-partners.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2024-09-14 16:29:38 +05:30
Aryan
e5a44fd55c add README 2024-09-14 04:30:01 +02:00
Aryan
200f63a21d make style 2024-09-14 04:14:02 +02:00
Aryan
f1f9e81171 add tests 2024-09-14 04:13:37 +02:00
Aryan
6a97b1b814 Merge branch 'main' into cogvideox-lora-and-training 2024-09-14 02:36:59 +02:00
Aryan
80c87718ad apply suggestions from review; prodigy optimizer
YiYi Xu <yixu310@gmail.com>
2024-09-14 02:36:07 +02:00
Benjamin Bossan
48e36353d8 MAINT Permission for GH token in stale.yml (#9427)
* MAINT Permission for GH token in stale.yml

See https://github.com/huggingface/peft/pull/2061 for the equivalent PR
in PEFT.

This restores the functionality of the stale bot after permissions for
the token have been limited. The action still shows errors for PEFT but
the bot appears to work fine.

* Also add write permissions for PRs

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2024-09-13 21:00:57 +05:30
Aryan
2e4a1bf1c9 Merge branch 'main' into cogvideox-lora-and-training 2024-09-13 15:16:43 +02:00
Sayak Paul
6dc6486565 [LoRA] fix adapter movement when using DoRA. (#9411)
fix adapter movement when using DoRA.
2024-09-13 07:31:53 +05:30
Dhruv Nair
1e8cf2763d [CI] Nightly Test Updates (#9380)
* update

* update

* update

* update

* update

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
2024-09-12 20:21:28 +05:30
Sayak Paul
6cf8d98ce1 [CI] update artifact uploader version (#9426)
update artifact uploader version
2024-09-12 19:26:09 +05:30
Aryan
165d9b2dd9 Merge branch 'main' into cogvideox-lora-and-training 2024-09-12 13:04:54 +05:30
Aryan
7e9e25cf6c Update examples/cogvideo/train_cogvideox_lora.py
Co-authored-by: YiYi Xu <yixu310@gmail.com>
2024-09-12 13:04:31 +05:30
Juan Acevedo
45aa8bb187 Ptxla sd training (#9381)
* enable pxla training of stable diffusion 2.x models.

* run linter/style and run pipeline test for stable diffusion and fix issues.

* update xla libraries

* fix read me newline.

* move files to research folder.

* update per comments.

* rename readme.

---------

Co-authored-by: Juan Acevedo <jfacevedo@google.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2024-09-12 08:35:06 +05:30
Aryan
5e1427a7da [docs] AnimateDiff FreeNoise (#9414)
* update docs

* apply suggestions from review

* Update docs/source/en/api/pipelines/animatediff.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/api/pipelines/animatediff.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/api/pipelines/animatediff.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* apply suggestions from review

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2024-09-11 12:59:58 -07:00