Skip to content

Commit e193563

Browse files
authored
Merge branch 'main' into check-model-passed-pipeline
2 parents 87dcf54 + f35a387 commit e193563

File tree

156 files changed

+29273
-636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+29273
-636
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,13 @@ jobs:
238238
239239
run_flax_tpu_tests:
240240
name: Nightly Flax TPU Tests
241-
runs-on: docker-tpu
241+
runs-on:
242+
group: gcp-ct5lp-hightpu-8t
242243
if: github.event_name == 'schedule'
243244

244245
container:
245246
image: diffusers/diffusers-flax-tpu
246-
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/ --privileged
247+
options: --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache
247248
defaults:
248249
run:
249250
shell: bash
@@ -356,6 +357,8 @@ jobs:
356357
config:
357358
- backend: "bitsandbytes"
358359
test_location: "bnb"
360+
- backend: "gguf"
361+
test_location: "gguf"
359362
runs-on:
360363
group: aws-g6e-xlarge-plus
361364
container:
@@ -519,4 +522,4 @@ jobs:
519522
# if: always()
520523
# run: |
521524
# pip install slack_sdk tabulate
522-
# python utils/log_reports.py >> $GITHUB_STEP_SUMMARY
525+
# python utils/log_reports.py >> $GITHUB_STEP_SUMMARY

.github/workflows/pr_test_peft_backend.yml

Lines changed: 0 additions & 134 deletions
This file was deleted.

.github/workflows/pr_tests.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,67 @@ jobs:
234234
with:
235235
name: pr_${{ matrix.config.report }}_test_reports
236236
path: reports
237+
238+
run_lora_tests:
239+
needs: [check_code_quality, check_repository_consistency]
240+
strategy:
241+
fail-fast: false
242+
243+
name: LoRA tests with PEFT main
244+
245+
runs-on:
246+
group: aws-general-8-plus
247+
248+
container:
249+
image: diffusers/diffusers-pytorch-cpu
250+
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/
251+
252+
defaults:
253+
run:
254+
shell: bash
255+
256+
steps:
257+
- name: Checkout diffusers
258+
uses: actions/checkout@v3
259+
with:
260+
fetch-depth: 2
261+
262+
- name: Install dependencies
263+
run: |
264+
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
265+
python -m uv pip install -e [quality,test]
266+
# TODO (sayakpaul, DN6): revisit `--no-deps`
267+
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
268+
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
269+
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
270+
271+
- name: Environment
272+
run: |
273+
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
274+
python utils/print_env.py
275+
276+
- name: Run fast PyTorch LoRA tests with PEFT
277+
run: |
278+
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
279+
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
280+
-s -v \
281+
--make-reports=tests_peft_main \
282+
tests/lora/
283+
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
284+
-s -v \
285+
--make-reports=tests_models_lora_peft_main \
286+
tests/models/ -k "lora"
287+
288+
- name: Failure short reports
289+
if: ${{ failure() }}
290+
run: |
291+
cat reports/tests_lora_failures_short.txt
292+
cat reports/tests_models_lora_failures_short.txt
293+
294+
- name: Test suite reports artifacts
295+
if: ${{ always() }}
296+
uses: actions/upload-artifact@v4
297+
with:
298+
name: pr_main_test_reports
299+
path: reports
300+

.github/workflows/push_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,11 @@ jobs:
161161

162162
flax_tpu_tests:
163163
name: Flax TPU Tests
164-
runs-on: docker-tpu
164+
runs-on:
165+
group: gcp-ct5lp-hightpu-8t
165166
container:
166167
image: diffusers/diffusers-flax-tpu
167-
options: --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ --privileged
168+
options: --shm-size "16gb" --ipc host --privileged ${{ vars.V5_LITEPOD_8_ENV}} -v /mnt/hf_cache:/mnt/hf_cache
168169
defaults:
169170
run:
170171
shell: bash

docs/source/en/_toctree.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@
157157
title: Getting Started
158158
- local: quantization/bitsandbytes
159159
title: bitsandbytes
160+
- local: quantization/gguf
161+
title: gguf
162+
- local: quantization/torchao
163+
title: torchao
160164
title: Quantization Methods
161165
- sections:
162166
- local: optimization/fp16
@@ -252,6 +256,8 @@
252256
title: SD3ControlNetModel
253257
- local: api/models/controlnet_sparsectrl
254258
title: SparseControlNetModel
259+
- local: api/models/controlnet_union
260+
title: ControlNetUnionModel
255261
title: ControlNets
256262
- sections:
257263
- local: api/models/allegro_transformer3d
@@ -268,10 +274,14 @@
268274
title: FluxTransformer2DModel
269275
- local: api/models/hunyuan_transformer2d
270276
title: HunyuanDiT2DModel
277+
- local: api/models/hunyuan_video_transformer_3d
278+
title: HunyuanVideoTransformer3DModel
271279
- local: api/models/latte_transformer3d
272280
title: LatteTransformer3DModel
273281
- local: api/models/lumina_nextdit2d
274282
title: LuminaNextDiT2DModel
283+
- local: api/models/ltx_video_transformer3d
284+
title: LTXVideoTransformer3DModel
275285
- local: api/models/mochi_transformer3d
276286
title: MochiTransformer3DModel
277287
- local: api/models/pixart_transformer2d
@@ -280,6 +290,8 @@
280290
title: PriorTransformer
281291
- local: api/models/sd3_transformer2d
282292
title: SD3Transformer2DModel
293+
- local: api/models/sana_transformer2d
294+
title: SanaTransformer2DModel
283295
- local: api/models/stable_audio_transformer
284296
title: StableAudioDiTModel
285297
- local: api/models/transformer2d
@@ -310,6 +322,10 @@
310322
title: AutoencoderKLAllegro
311323
- local: api/models/autoencoderkl_cogvideox
312324
title: AutoencoderKLCogVideoX
325+
- local: api/models/autoencoder_kl_hunyuan_video
326+
title: AutoencoderKLHunyuanVideo
327+
- local: api/models/autoencoderkl_ltx_video
328+
title: AutoencoderKLLTXVideo
313329
- local: api/models/autoencoderkl_mochi
314330
title: AutoencoderKLMochi
315331
- local: api/models/asymmetricautoencoderkl
@@ -368,6 +384,8 @@
368384
title: ControlNet-XS
369385
- local: api/pipelines/controlnetxs_sdxl
370386
title: ControlNet-XS with Stable Diffusion XL
387+
- local: api/pipelines/controlnet_union
388+
title: ControlNetUnion
371389
- local: api/pipelines/dance_diffusion
372390
title: Dance Diffusion
373391
- local: api/pipelines/ddim
@@ -382,8 +400,12 @@
382400
title: DiT
383401
- local: api/pipelines/flux
384402
title: Flux
403+
- local: api/pipelines/control_flux_inpaint
404+
title: FluxControlInpaint
385405
- local: api/pipelines/hunyuandit
386406
title: Hunyuan-DiT
407+
- local: api/pipelines/hunyuan_video
408+
title: HunyuanVideo
387409
- local: api/pipelines/i2vgenxl
388410
title: I2VGen-XL
389411
- local: api/pipelines/pix2pix
@@ -404,6 +426,8 @@
404426
title: Latte
405427
- local: api/pipelines/ledits_pp
406428
title: LEDITS++
429+
- local: api/pipelines/ltx_video
430+
title: LTX
407431
- local: api/pipelines/lumina
408432
title: Lumina-T2X
409433
- local: api/pipelines/marigold
@@ -424,6 +448,8 @@
424448
title: PixArt-α
425449
- local: api/pipelines/pixart_sigma
426450
title: PixArt-Σ
451+
- local: api/pipelines/sana
452+
title: Sana
427453
- local: api/pipelines/self_attention_guidance
428454
title: Self-Attention Guidance
429455
- local: api/pipelines/semantic_stable_diffusion

0 commit comments

Comments
 (0)