Skip to content

Commit d3ece68

Browse files
authored
Merge branch 'main' into controlnet_num_train_epochs_patch
2 parents a2c6470 + fc72e0f commit d3ece68

File tree

905 files changed

+157442
-13576
lines changed

Some content is hidden

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

905 files changed

+157442
-13576
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,27 @@ body:
6363
6464
Please tag a maximum of 2 people.
6565
66-
Questions on DiffusionPipeline (Saving, Loading, From pretrained, ...):
66+
Questions on DiffusionPipeline (Saving, Loading, From pretrained, ...): @sayakpaul @DN6
6767
6868
Questions on pipelines:
69-
- Stable Diffusion @yiyixuxu @DN6 @sayakpaul
69+
- Stable Diffusion @yiyixuxu @asomoza
7070
- Stable Diffusion XL @yiyixuxu @sayakpaul @DN6
71+
- Stable Diffusion 3: @yiyixuxu @sayakpaul @DN6 @asomoza
7172
- Kandinsky @yiyixuxu
7273
- ControlNet @sayakpaul @yiyixuxu @DN6
7374
- T2I Adapter @sayakpaul @yiyixuxu @DN6
7475
- IF @DN6
75-
- Text-to-Video / Video-to-Video @DN6 @sayakpaul
76+
- Text-to-Video / Video-to-Video @DN6 @a-r-r-o-w
7677
- Wuerstchen @DN6
7778
- Other: @yiyixuxu @DN6
79+
- Improving generation quality: @asomoza
7880
7981
Questions on models:
8082
- UNet @DN6 @yiyixuxu @sayakpaul
8183
- VAE @sayakpaul @DN6 @yiyixuxu
82-
- Transformers/Attention @DN6 @yiyixuxu @sayakpaul @DN6
84+
- Transformers/Attention @DN6 @yiyixuxu @sayakpaul
85+
86+
Questions on single file checkpoints: @DN6
8387
8488
Questions on Schedulers: @yiyixuxu
8589
@@ -99,7 +103,7 @@ body:
99103
100104
Questions on JAX- and MPS-related things: @pcuenca
101105
102-
Questions on audio pipelines: @DN6
106+
Questions on audio pipelines: @sanchit-gandhi
103107
104108
105109

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ members/contributors who may be interested in your PR.
3939
Core library:
4040
4141
- Schedulers: @yiyixuxu
42-
- Pipelines: @sayakpaul @yiyixuxu @DN6
42+
- Pipelines and pipeline callbacks: @yiyixuxu and @asomoza
4343
- Training examples: @sayakpaul
4444
- Docs: @stevhliu and @sayakpaul
4545
- JAX and MPS: @pcuenca
@@ -48,7 +48,8 @@ Core library:
4848
4949
Integrations:
5050
51-
- deepspeed: HF Trainer/Accelerate: @pacman100
51+
- deepspeed: HF Trainer/Accelerate: @SunMarc
52+
- PEFT: @sayakpaul @BenjaminBossan
5253
5354
HF projects:
5455

.github/workflows/benchmark.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,24 @@ on:
77

88
env:
99
DIFFUSERS_IS_CI: yes
10+
HF_HUB_ENABLE_HF_TRANSFER: 1
1011
HF_HOME: /mnt/cache
1112
OMP_NUM_THREADS: 8
1213
MKL_NUM_THREADS: 8
1314

1415
jobs:
1516
torch_pipelines_cuda_benchmark_tests:
17+
env:
18+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_BENCHMARK }}
1619
name: Torch Core Pipelines CUDA Benchmarking Tests
1720
strategy:
1821
fail-fast: false
1922
max-parallel: 1
20-
runs-on: [single-gpu, nvidia-gpu, a10, ci]
23+
runs-on:
24+
group: aws-g6-4xlarge-plus
2125
container:
22-
image: diffusers/diffusers-pytorch-cuda
23-
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0
26+
image: diffusers/diffusers-pytorch-compile-cuda
27+
options: --shm-size "16gb" --ipc host --gpus 0
2428
steps:
2529
- name: Checkout diffusers
2630
uses: actions/checkout@v3
@@ -47,7 +51,17 @@ jobs:
4751
4852
- name: Test suite reports artifacts
4953
if: ${{ always() }}
50-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5155
with:
5256
name: benchmark_test_reports
53-
path: benchmarks/benchmark_outputs
57+
path: benchmarks/benchmark_outputs
58+
59+
- name: Report success status
60+
if: ${{ success() }}
61+
run: |
62+
pip install requests && python utils/notify_benchmarking_status.py --status=success
63+
64+
- name: Report failure status
65+
if: ${{ failure() }}
66+
run: |
67+
pip install requests && python utils/notify_benchmarking_status.py --status=failure

.github/workflows/build_docker_images.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ env:
2020

2121
jobs:
2222
test-build-docker-images:
23-
runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]
23+
runs-on:
24+
group: aws-general-8-plus
2425
if: github.event_name == 'pull_request'
2526
steps:
2627
- name: Set up Docker Buildx
@@ -50,7 +51,8 @@ jobs:
5051
if: steps.file_changes.outputs.all != ''
5152

5253
build-and-push-docker-images:
53-
runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]
54+
runs-on:
55+
group: aws-general-8-plus
5456
if: github.event_name != 'pull_request'
5557

5658
permissions:
@@ -98,4 +100,4 @@ jobs:
98100
slack_channel: ${{ env.CI_SLACK_CHANNEL }}
99101
title: "🤗 Results of the ${{ matrix.image-name }} Docker Image build"
100102
status: ${{ job.status }}
101-
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
103+
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}

.github/workflows/mirror_community_pipeline.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ on:
2222

2323
jobs:
2424
mirror_community_pipeline:
25-
runs-on: ubuntu-latest
25+
env:
26+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_COMMUNITY_MIRROR }}
27+
28+
runs-on: ubuntu-22.04
2629
steps:
2730
# Checkout to correct ref
2831
# If workflow dispatch
@@ -86,4 +89,14 @@ jobs:
8689
run: huggingface-cli upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
8790
env:
8891
PATH_IN_REPO: ${{ env.PATH_IN_REPO }}
89-
HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
92+
HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
93+
94+
- name: Report success status
95+
if: ${{ success() }}
96+
run: |
97+
pip install requests && python utils/notify_community_pipelines_mirror.py --status=success
98+
99+
- name: Report failure status
100+
if: ${{ failure() }}
101+
run: |
102+
pip install requests && python utils/notify_community_pipelines_mirror.py --status=failure

0 commit comments

Comments
 (0)