Guillaume LEGENDRE
e23c27e905
Add tailscale action to push_test ( #7709 )
2024-04-18 18:48:39 +05:30
Sayak Paul
30c977d1f5
[Workflows] remove installation of redundant modules from flax PR tests ( #7662 )
...
remove installation of redundant modules from flax PR tests
2024-04-17 15:16:04 +05:30
Dhruv Nair
f0fa17dd8e
Don't install PEFT with UV in slow tests ( #7697 )
...
* update
* update
2024-04-17 15:10:38 +05:30
Sayak Paul
cf6e0407e0
don't install peft from the source with uv for now. ( #7679 )
2024-04-15 09:33:02 +05:30
Sayak Paul
1c000d46e1
fix: metadata token ( #7631 )
2024-04-15 08:32:27 +05:30
Sayak Paul
08bf754507
make docker-buildx mandatory. ( #7652 )
2024-04-13 07:26:34 +05:30
Sayak Paul
c827e94da0
[Workflows] remove installation of libsndfile1-dev and libgl1 from workflows ( #7543 )
...
* remove libsndfile1-dev and libgl1 from workflows and ensure that re present in the respective dockerfiles.
* change to self-hosted runner; let's see 🤞
* add libsndfile1-dev libgl1 for now
* use self-hosted runners for building and push too.
2024-04-10 08:34:56 +05:30
Sayak Paul
ac7ff7d4a3
add utilities for updating diffusers pipeline metadata. ( #7573 )
...
* add utilities for updating diffusers pipeline metadata.
* style
* remove first empty line
2024-04-10 08:28:49 +05:30
Sayak Paul
ad55ce6100
[Chore] increase number of workers for the tests. ( #7558 )
...
* increase number of workers for the tests.
* move to beefier runner.
* improve the fast push tests too.
* use a beefy machine for pytorch pipeline tests
* up the number of workers further.
2024-04-03 17:11:42 +05:30
Sayak Paul
4a34307702
add: utility to format our docs too 📜 ( #7314 )
...
* add: utility to format our docs too 📜
* debugging saga
* fix: message
* checking
* should be fixed.
* revert pipeline_fixture
* remove empty line
* make style
* fix: setup.py
* style.
2024-04-02 20:49:43 +05:30
Sayak Paul
5d83f50c23
[Release tests] make nightly workflow dispatchable. ( #7541 )
...
* make nightly workflow dispatchable.
* add a note about running the release tests to setup.py
2024-04-02 12:21:17 +05:30
Sayak Paul
6df103deba
add: a helpful message when quality and repo consistency checks fail. ( #7475 )
2024-03-28 13:51:56 +05:30
Sayak Paul
73f28708be
Improve nightly tests ( #7385 )
...
* flesh out the nightly tests
* address feedback.
2024-03-28 13:26:34 +05:30
Sayak Paul
e25e525fde
[LoRA test suite] refactor the test suite and cleanse it ( #7316 )
...
* cleanse and refactor lora testing suite.
* more cleanup.
* make check_if_lora_correctly_set a utility function
* fix: typo
* retrigger ci
* style
2024-03-20 17:13:52 +05:30
Sayak Paul
de9adb907c
clean dep installation step in push_tests ( #7382 )
...
* clean dep installation step in push_tests
* fix: deps
2024-03-20 07:30:43 +05:30
Sayak Paul
25caf24ef9
Fix release workflow deps ( #7339 )
...
* pop scale from the top-level unet instead of getting it.
* improve readability.
* fix: pypi workflow deps
* revert
2024-03-16 07:18:11 +05:30
Sayak Paul
e0e9f81971
add: torch to the pypi step. ( #7328 )
2024-03-15 12:28:12 +05:30
Sayak Paul
95de1981c9
add: pytest log installation ( #7313 )
2024-03-14 10:01:16 +05:30
Sayak Paul
46ab56a468
add: support for notifying maintainers about the nightly test status ( #7117 )
...
* add: support for notifying maintainers about the nightly test status
* add: a tempoerary workflow for validation.
* cancel in progress.
* runs-on
* clean up
* add: peft dep
* change device.
* multiple edits.
* remove temp workflow.
2024-03-13 16:48:11 +05:30
Sayak Paul
038ff70023
[PyPI publishing] feat: automate the process of pypi publication to some extent. ( #7270 )
...
* feat: automate the process of pypi publication to some extent.
* utility to fetch the latest release branch
* correct package name.
2024-03-13 16:27:59 +05:30
Sayak Paul
5dd8e04d4b
[Dockerfiles] add: a workflow to check if docker containers can be built in case of modifications ( #7129 )
...
* add: a workflow to check if docker containers can be built if the files are modified.
* type
* unify docker image build test and push
* make it run on prs too.
* check
* check
* check
* check again.
* remove docker test build file.
* remove extra dependencies./
* check
2024-03-11 08:54:00 +05:30
Dhruv Nair
64a8cd627a
[CI] Remove max parallel flag on slow test runners ( #7162 )
...
update
2024-03-01 11:38:21 +05:30
Sayak Paul
5d3923b670
Fix LCM benchmark test ( #7158 )
...
* make workflow dispatchable.
* fix: lcm lora compile
2024-03-01 10:33:44 +05:30
Sayak Paul
9451235e5a
[Urgent][Docker CI] pin uv version for now and a minor change in the Slack notification ( #7155 )
...
pin uv version for now.
2024-03-01 10:11:07 +05:30
Sayak Paul
c2b6ac4e34
[CI] fix path filtering in the documentation workflows ( #7153 )
...
fix: path
2024-03-01 07:18:49 +05:30
Sayak Paul
fcfa270fbd
add: support for notifying the maintainers about the docker ci status. ( #7113 )
2024-02-29 19:28:52 +05:30
Sayak Paul
56dac1cedc
limit documentation workflow runs for relevant changes. ( #7125 )
2024-02-29 19:01:54 +05:30
Sayak Paul
3daebe2b44
use uv for installing stuff in the workflows. ( #7116 )
...
* use uv for installing stuff in the workflows.
* fix: from source installation command when using uv.
* fix uv venv issue
* edit editable installation.
* fix quality installation
* checking
* make editable.
* more check
* check
* add: export step
* venv handling.
* checking.
* fix: dependency workflows.
* peft tests.
* proper way to initialize env.
* Empty-Commit
* Empty-Commit
2024-02-29 08:27:24 +05:30
Dhruv Nair
e6cf21906d
[Diffusers CI] Switch slow test runners ( #7123 )
...
update
2024-02-28 22:15:04 +05:30
Sayak Paul
fa9bc029b4
[Tests] make test steps dependent on certain things and general cleanup of the workflows ( #7026 )
...
make tests conditional and other things.
2024-02-28 08:26:46 +05:30
Sayak Paul
087daee2f0
add: peft to the benchmark workflow ( #6989 )
2024-02-16 09:29:10 +05:30
Sayak Paul
ca9ed5e8d1
[LoRA] deprecate certain lora methods from the old backend. ( #6889 )
...
* deprecate certain lora methods from the old backend.
* uncomment necessary things.
* safe remove old lora backend 👋
2024-02-09 17:14:32 +01:00
Patrick von Platen
9e2804f720
Update pr_test_peft_backend.yml to use 1 process for testing ( #6613 )
2024-01-17 19:25:30 +05:30
Sayak Paul
63de23e3db
disable running peft non-peft lora test in the peft env. ( #6437 )
...
* disable running peft non-peft lora test in the peft env.
* Empty-Commit
2024-01-04 10:18:46 +05:30
Sayak Paul
2db73f4a50
remove delete documentation trigger workflows. ( #6373 )
2023-12-28 18:26:14 +05:30
Sayak Paul
bf40d7d82a
add peft dependency to fast push tests ( #6229 )
...
* add peft dependency
* add peft dependency at the correct place.
2023-12-19 13:26:25 +05:30
Sayak Paul
1d686bac81
[feat: Benchmarking Workflow] add stuff for a benchmarking workflow ( #5839 )
...
* add poc for benchmarking workflow.
* import
* fix argument
* fix: argument
* fix: path
* fix
* fix
* path
* output csv files.
* workflow cleanup
* append token
* add utility to push to hf dataset
* fix: kw arg
* better reporting
* fix: headers
* better formatting of the numbers.
* better type annotation
* fix: formatting
* moentarily disable check
* push results.
* remove disable check
* introduce base classes.
* img2img class
* add inpainting pipeline
* intoduce base benchmark class.
* add img2img and inpainting
* feat: utility to compare changes
* fix
* fix import
* add args
* basepath
* better exception handling
* better path handling
* fix
* fix
* remove
* ifx
* fix
* add: support for controlnet.
* image_url -> url
* move images to huggingface hub
* correct urls.
* root_ckpt
* flush before benchmarking
* don't install accelerate from source
* add runner
* simplify Diffusers Benchmarking step
* change runner
* fix: subprocess call.
* filter percentage values
* fix controlnet benchmark
* add t2i adapters.
* fix filter columns
* fix t2i adapter benchmark
* fix init.
* fix
* remove safetensors flag
* fix args print
* fix
* feat: run_command
* add adapter resolution mapping
* benchmark t2i adapter fix.
* fix adapter input
* fix
* convert to L.
* add flush() add appropriate places
* better filtering
* okay
* get env for torch
* convert to float
* fix
* filter out nans.
* better coment
* sdxl
* sdxl for other benchmarks.
* fix: condition
* fix: condition for inpainting
* fix: mapping for resolution
* fix
* include kandinsky and wuerstchen
* fix: Wuerstchen
* Empty-Commit
* [Community] AnimateDiff + Controlnet Pipeline (#5928 )
* begin work on animatediff + controlnet pipeline
* complete todos, uncomment multicontrolnet, input checks
Co-Authored-By: EdoardoBotta <botta.edoardo@gmail.com >
* update
Co-Authored-By: EdoardoBotta <botta.edoardo@gmail.com >
* add example
* update community README
* Update examples/community/README.md
---------
Co-authored-by: EdoardoBotta <botta.edoardo@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* EulerDiscreteScheduler add `rescale_betas_zero_snr` (#6024 )
* EulerDiscreteScheduler add `rescale_betas_zero_snr`
* Revert "[Community] AnimateDiff + Controlnet Pipeline (#5928 )"
This reverts commit 821726d7c0 .
* Revert "EulerDiscreteScheduler add `rescale_betas_zero_snr` (#6024 )"
This reverts commit 3dc2362b5a .
* add SDXL turbo
* add lcm lora to the mix as well.
* fix
* increase steps to 2 when running turbo i2i
* debug
* debug
* debug
* fix for good
* fix and isolate better
* fuse lora so that torch compile works with peft
* fix: LCMLoRA
* better identification for LCM
* change to cron job
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: Aryan V S <contact.aryanvs@gmail.com >
Co-authored-by: EdoardoBotta <botta.edoardo@gmail.com >
Co-authored-by: Beinsezii <39478211+Beinsezii@users.noreply.github.com >
2023-12-12 11:03:34 +05:30
Younes Belkada
c2717317f0
[PEFT] Adapt example scripts to use PEFT ( #5388 )
...
* adapt example scripts to use PEFT
* Update examples/text_to_image/train_text_to_image_lora.py
* fix
* add for SDXL
* oops
* make sure to install peft
* fix
* fix
* fix dreambooth and lora
* more fixes
* add peft to requirements.txt
* fix
* final fix
* add peft version in requirements
* remove comment
* change variable names
* add few lines in readme
* add to reqs
* style
* fix issues
* fix lora dreambooth xl tests
* init_lora_weights to gaussian and add out proj where missing
* ammend requirements.
* ammend requirements.txt
* add correct peft versions
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-07 09:39:29 +05:30
Dhruv Nair
20ba1fdbbd
Disable Tests Fetcher ( #6060 )
...
update
2023-12-06 18:10:11 +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
Sayak Paul
fdd003d8e2
[Tests] Refactor test_examples.py for better readability ( #5946 )
...
* control and custom diffusion
* dreambooth
* instructpix2pix and dreambooth ckpting
* t2i adapters.
* text to image ft
* textual inversion
* unconditional
* workflows
* import fix
* fix import
2023-11-29 18:43:59 +05:30
Patrick von Platen
ebf581e85f
[Tests] Make sure that we don't run tests multiple times ( #5949 )
...
* [Tests] Make sure that we don't run tests mulitple times
* [Tests] Make sure that we don't run tests mulitple times
* [Tests] Make sure that we don't run tests mulitple times
2023-11-27 14:18:56 +01:00
Dhruv Nair
ebc7bedeb7
Add tests fetcher ( #5848 )
...
* add tests fetcher to utils
* add test fetcher
* update
* update
* remove unused dependency version check script
* update
* fix mistake
* update
* update
* update
* update
* update
* update
* update
* remove concurrency params
* update
* update
* update
* update
* update
* update
* move test fetcher to dedicated workflow
2023-11-21 18:01:44 +05:30
Younes Belkada
fda297703f
[test / peft] Fix silent behaviour on PR tests ( #5852 )
...
Update pr_test_peft_backend.yml
2023-11-20 12:42:58 +01:00
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
Younes Belkada
4e54dfe985
[Tests/LoRA/PEFT] Test also on PEFT / transformers / accelerate latest ( #5820 )
...
* add also peft latest on peft CI
* up
* up
* up
* Update .github/workflows/pr_test_peft_backend.yml
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-11-17 19:17:31 +01:00
Dhruv Nair
43346adc1f
Install accelerate from PyPI in PR test runner ( #5721 )
...
install acclerate from pypi
2023-11-09 15:38:00 +05:30
Dhruv Nair
97c8199dbb
Explicit torch/flax dependency check ( #5673 )
...
* explicit torch dependency check
* update
* update
* update
2023-11-07 16:38:20 +01:00
Younes Belkada
8f3100db9f
[PEFT / Tests] Add peft slow tests on push ( #5419 )
...
* add peft slow tests workflow
* Update .github/workflows/push_tests.yml
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-10-30 14:27:00 +01:00
Gabriel de Souza
9135e54e76
docs: initial pt translation ( #5549 )
...
* docs: initial pt translation
* docs: add pt build to github workflow and fix some missing translations
2023-10-27 10:51:35 -07:00