Dhruv Nair
215e6804d3
Unpin torch versions in CI ( #6945 )
...
* update
* update
* update
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-12 16:01:05 +05:30
Sayak Paul
7c8cab313e
post release 0.26.2 ( #6885 )
...
* post release
* style
* Empty-Commit
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-02-09 07:36:38 -10:00
Sayak Paul
30e5e81d58
change to 2024 in the license ( #6902 )
...
change to 2024
2024-02-08 08:19:31 -10:00
Dhruv Nair
f4d3f913f4
Pin torch < 2.2.0 in test runners ( #6780 )
...
* update
* update
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-31 13:41:18 +05:30
Sayak Paul
cb4b3f0b78
[OmegaConf] replace it with yaml ( #6488 )
...
* remove omegaconf from convert_from_ckpt.
* remove from single_file.
* change to string based ubscription.
* style
* okay
* fix: vae_param
* no . indexing.
* style
* style
* turn getattrs into explicit if/else
* style
* propagate changes to ldm_uncond.
* propagate to gligen
* propagate to if.
* fix: quotes.
* propagate to audioldm.
* propagate to audioldm2
* propagate to musicldm.
* propagate to vq_diffusion
* propagate to zero123.
* remove omegaconf from diffusers codebase.
2024-01-15 20:02:10 +05:30
Lucain
9a9daee724
Fix offline mode import ( #6467 )
2024-01-05 15:34:40 +01:00
Sayak Paul
9d945b2b90
0.25.0 post release ( #6358 )
...
* post release
* style
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-05 16:13:27 +05:30
Dhruv Nair
93ea26f272
Add PEFT to training deps ( #6148 )
...
add peft to training deps
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-15 08:39:59 +05:30
Dhruv Nair
bbd3572044
Pin Ruff Version ( #6059 )
...
pinn ruff
2023-12-05 17:51:37 +05:30
Dhruv Nair
b21729225a
Update Tests Fetcher ( #5950 )
...
* update setup and deps table
* update
* update
* update
* up
* up
* update
* up
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* quality fix
* fix failure reporting
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-12-04 12:59:41 +05:30
Patrick von Platen
dadd55fb36
Post Release: v0.24.0 ( #5985 )
...
* Post Release: v0.24.0
* post pone deprecation
* post pone deprecation
* Add model_index.json
2023-12-01 18:43:44 +01:00
Sayak Paul
af378c1dd1
[Easy] minor edits to setup.py ( #5996 )
...
minor edits to setup
2023-12-01 20:38:46 +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
c6f90daea6
[PEFT] Unpin peft ( #5850 )
2023-11-17 19:15:02 +01:00
Lucain
c896b841e4
Set usedforsecurity=False in hashlib methods (FIPS compliance) ( #5790 )
...
* Set usedforsecurity=False in hashlib methods (FIPS compliance)
* update version dependency
* bump hfh version
* bump hfh version
2023-11-17 14:56:58 +01:00
Patrick von Platen
913986afa5
Improve setup.py and add dependency check ( #5826 )
...
* put peft in requirements
* correct peft
* correct installs
* make style
* make style
2023-11-17 12:05:26 +01:00
M. Tolga Cangöz
3b37488fa3
Fix typos, improve, update at main-page files and .github files ( #5588 )
...
* Update keywords; remove version cuz it changes constantly?
* Update if necessary
* Fix typos and links
* version_range_max from PyTorch's setup.py; fix typos; 1 checklist is enough?
* Fix a typo
* Fix typos
* There is already a Blank issue link at the bottom of the page; direct to Diffusers' forum
* Add 🌐 Translating a New Language? page
* Update .github/ISSUE_TEMPLATE/translate.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
* Update PHILOSOPHY.md
* Update CONTRIBUTING.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update README.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Add X account link
* Update setup.py
* Update CITATION.cff
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-14 11:46:52 -08:00
Sayak Paul
1477865e48
post release v0.23.0 ( #5730 )
...
* post release
* fix: variant test
* up
* fix: test
2023-11-10 16:35:44 +05:30
Sayak Paul
64603389da
post release (v0.22.0) ( #5658 )
...
post release
2023-11-06 16:23:38 +01:00
Jake Vanderplas
a844065384
replace references to deprecated KeyArray & PRNGKeyArray ( #5324 )
2023-10-09 17:31:50 +02:00
Brian Yarbrough
e2c0208c86
Add py.typed for PEP 561 compliance ( #5326 )
...
See #5325
2023-10-09 17:08:55 +02:00
Younes Belkada
914586f5b6
[core] Use python 3.8 in workflow and setup file ( #5122 )
...
* use python 3.7 instead
* Update setup.py
2023-09-20 20:57:06 +02:00
Patrick von Platen
342c5c02c0
[Release 0.21] Bump version ( #5018 )
...
* [Release 0.21] Bump version
* fix & remove
* fix more
* fix all, upload
2023-09-14 18:28:57 +02:00
Sayak Paul
470d51c8ed
improve setup.py ( #4748 )
2023-08-25 13:44:20 +05:30
Sayak Paul
d0c30cfd37
make post-release ( #4650 )
2023-08-17 14:16:25 +05:30
Dhruv Nair
da0e2fce38
pin ruff version for quality checks ( #4539 )
...
* pin ruff version for quality checks
* update dependency versions table
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-08-09 16:46:45 +05:30
Patrick von Platen
20e92586c1
0.20.0dev0 ( #4299 )
...
* 0.20.0dev0
* make style
2023-07-26 23:06:18 +02:00
Patrick von Platen
1e853e240e
[Safetensors] make safetensors a required dep ( #4177 )
2023-07-21 12:57:30 +02:00
Apoorva Pandey
f6ce323633
Make setup.py compatible with pipenv ( #4121 )
2023-07-17 17:31:04 +02:00
Patrick von Platen
71c918b848
[Invisible watermark] Correct version ( #4087 )
2023-07-14 09:30:43 +05:30
Patrick von Platen
b9feed8795
move to 0.19.0dev ( #4048 )
2023-07-11 22:49:12 +02:00
Patrick von Platen
bc9a8cef6f
[SD-XL] Add new pipelines ( #3859 )
...
* Add new text encoder
* add transformers depth
* More
* Correct conversion script
* Fix more
* Fix more
* Correct more
* correct text encoder
* Finish all
* proof that in works in run local xl
* clean up
* Get refiner to work
* Add red castle
* Fix batch size
* Improve pipelines more
* Finish text2image tests
* Add img2img test
* Fix more
* fix import
* Fix embeddings for classic models (#3888 )
Fix embeddings for classic SD models.
* Allow multiple prompts to be passed to the refiner (#3895 )
* finish more
* Apply suggestions from code review
* add watermarker
* Model offload (#3889 )
* Model offload.
* Model offload for refiner / img2img
* Hardcode encoder offload on img2img vae encode
Saves some GPU RAM in img2img / refiner tasks so it remains below 8 GB.
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* correct
* fix
* clean print
* Update install warning for `invisible-watermark`
* add: missing docstrings.
* fix and simplify the usage example in img2img.
* fix setup for watermarking.
* Revert "fix setup for watermarking."
This reverts commit 491bc9f5a6 .
* fix: watermarking setup.
* fix: op.
* run make fix-copies.
* make sure tests pass
* improve convert
* make tests pass
* make tests pass
* better error message
* fiinsh
* finish
* Fix final test
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-07-06 13:37:27 +02:00
Sayak Paul
49949f321d
[Tests] add test for checking soft dependencies. ( #3847 )
...
* add test for checking soft dependencies.
* address patrick's comments.
* dependency tests should not run twice.
* debugging.
* up.
2023-06-28 22:05:25 +05:30
Patrick von Platen
c42f6ee43e
Post 0.17.0 release ( #3721 )
...
* Post release
* Post release
2023-06-08 18:08:49 +02:00
Patrick von Platen
58c6f9cb71
Add omegaconf for tests ( #3400 )
...
Add omegaconfg
2023-05-11 18:03:27 +01:00
Patrick von Platen
29ad75dc3b
[Quality] Make style ( #3341 )
2023-05-05 10:06:09 +01:00
Will Berman
384c83aa9a
temp disable spectogram diffusion tests ( #3278 )
...
The note-seq package throws an error on import because the default installed version of Ipython
is not compatible with python 3.8 which we run in the CI.
https://github.com/huggingface/diffusers/actions/runs/4830121056/jobs/8605954838#step:7:9
2023-04-28 12:05:53 -07:00
Patrick von Platen
f842396367
Post release for 0.16.0 ( #3244 )
...
* Post release
* fix more
2023-04-26 17:43:09 +01:00
Patrick von Platen
6ba0efb9a1
Release: v0.16.0
2023-04-26 13:35:01 +02:00
Patrick von Platen
0a73b4d3cd
[Post release] v0.16.0dev ( #3072 )
2023-04-12 17:18:30 +01:00
Patrick von Platen
e7534542a2
Release: v0.15.0
2023-04-12 15:15:31 +00:00
Kashif Rasul
2ef9bdd76f
Music Spectrogram diffusion pipeline ( #1044 )
...
* initial TokenEncoder and ContinuousEncoder
* initial modules
* added ContinuousContextTransformer
* fix copy paste error
* use numpy for get_sequence_length
* initial terminal relative positional encodings
* fix weights keys
* fix assert
* cross attend style: concat encodings
* make style
* concat once
* fix formatting
* Initial SpectrogramPipeline
* fix input_tokens
* make style
* added mel output
* ignore weights for config
* move mel to numpy
* import pipeline
* fix class names and import
* moved models to models folder
* import ContinuousContextTransformer and SpectrogramDiffusionPipeline
* initial spec diffusion converstion script
* renamed config to t5config
* added weight loading
* use arguments instead of t5config
* broadcast noise time to batch dim
* fix call
* added scale_to_features
* fix weights
* transpose laynorm weight
* scale is a vector
* scale the query outputs
* added comment
* undo scaling
* undo depth_scaling
* inital get_extended_attention_mask
* attention_mask is none in self-attention
* cleanup
* manually invert attention
* nn.linear need bias=False
* added T5LayerFFCond
* remove to fix conflict
* make style and dummy
* remove unsed variables
* remove predict_epsilon
* Move accelerate to a soft-dependency (#1134 )
* finish
* finish
* Update src/diffusers/modeling_utils.py
* Update src/diffusers/pipeline_utils.py
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
* more fixes
* fix
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
* fix order
* added initial midi to note token data pipeline
* added int to int tokenizer
* remove duplicate
* added logic for segments
* add melgan to pipeline
* move autoregressive gen into pipeline
* added note_representation_processor_chain
* fix dtypes
* remove immutabledict req
* initial doc
* use np.where
* require note_seq
* fix typo
* update dependency
* added note-seq to test
* added is_note_seq_available
* fix import
* added toc
* added example usage
* undo for now
* moved docs
* fix merge
* fix imports
* predict first segment
* avoid un-needed copy to and from cpu
* make style
* Copyright
* fix style
* add test and fix inference steps
* remove bogus files
* reorder models
* up
* remove transformers dependency
* make work with diffusers cross attention
* clean more
* remove @
* improve further
* up
* uP
* Apply suggestions from code review
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
* loop over all tokens
* make style
* Added a section on the model
* fix formatting
* grammer
* formatting
* make fix-copies
* Update src/diffusers/pipelines/__init__.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update src/diffusers/pipelines/spectrogram_diffusion/pipeline_spectrogram_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* added callback ad optional ionnx
* do not squeeze batch dim
* clean up more
* upload
* convert jax to nnumpy
* make style
* fix warning
* make fix-copies
* fix warning
* add initial fast tests
* add initial pipeline_params
* eval mode due to dropout
* skip batch tests as pipeline runs on a single file
* make style
* fix relative path
* fix doc tests
* Update src/diffusers/models/t5_film_transformer.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update src/diffusers/models/t5_film_transformer.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update docs/source/en/api/pipelines/spectrogram_diffusion.mdx
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* add MidiProcessor
* format
* fix org
* Apply suggestions from code review
* Update tests/pipelines/spectrogram_diffusion/test_spectrogram_diffusion.py
* make style
* pin protobuf to <4
* fix formatting
* white space
* tensorboard needs protobuf
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Anton Lozhkov <anton@huggingface.co >
2023-03-23 14:06:17 +01:00
Patrick von Platen
07a0c1cb3f
[Hub] Upgrade to 0.13.2 ( #2670 )
2023-03-14 16:47:58 +01:00
Patrick von Platen
d761b58bfc
[From pretrained] Speed-up loading from cache ( #2515 )
...
* [From pretrained] Speed-up loading from cache
* up
* Fix more
* fix one more bug
* make style
* bigger refactor
* factor out function
* Improve more
* better
* deprecate return cache folder
* clean up
* improve tests
* up
* upload
* add nice tests
* simplify
* finish
* correct
* fix version
* rename
* Apply suggestions from code review
Co-authored-by: Lucain <lucainp@gmail.com >
* rename
* correct doc string
* correct more
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* apply code suggestions
* finish
---------
Co-authored-by: Lucain <lucainp@gmail.com >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-03-10 11:56:10 +01:00
Patrick von Platen
22a31760c4
[Docs] Weight prompting using compel ( #2574 )
...
* add docs
* correct
* finish
* Apply suggestions from code review
Co-authored-by: Will Berman <wlbberman@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* update deps table
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
---------
Co-authored-by: Will Berman <wlbberman@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-03-07 20:26:33 +01:00
Patrick von Platen
3d2648d743
[Post release] Push post release ( #2546 )
2023-03-03 18:11:01 +01:00
Patrick von Platen
f20c8f5a1a
Release: v0.14.0
2023-03-03 16:45:08 +01:00
Patrick von Platen
eadf0e2555
[Copyright] 2023 ( #2524 )
2023-03-01 10:31:00 +01:00
Patrick von Platen
3231712b7d
Post release 0.14
2023-02-17 23:57:46 +02:00
Patrick von Platen
b2c1e0d6d4
Release: v0.13.0
2023-02-17 23:38:05 +02:00