Skip to content

Commit 54724b1

Browse files
authored
Merge branch 'main' into unified-SP-attention
2 parents dc73b3f + dad5cb5 commit 54724b1

221 files changed

Lines changed: 8212 additions & 3765 deletions

File tree

Some content is hidden

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

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
options: --shm-size "16gb" --ipc host --gpus all
2929
steps:
3030
- name: Checkout diffusers
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 2
3434
- name: NVIDIA-SMI
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Test suite reports artifacts
6060
if: ${{ always() }}
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@v6
6262
with:
6363
name: benchmark_test_reports
6464
path: benchmarks/${{ env.BASE_PATH }}

.github/workflows/build_docker_images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: docker/setup-buildx-action@v1
2929

3030
- name: Check out code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v6
3232

3333
- name: Find Changed Dockerfiles
3434
id: file_changes
@@ -99,7 +99,7 @@ jobs:
9999

100100
steps:
101101
- name: Checkout repository
102-
uses: actions/checkout@v3
102+
uses: actions/checkout@v6
103103
- name: Set up Docker Buildx
104104
uses: docker/setup-buildx-action@v1
105105
- name: Login to Docker Hub

.github/workflows/build_pr_documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@v5
23+
uses: actions/setup-python@v6
2424
with:
2525
python-version: '3.10'
2626

.github/workflows/mirror_community_pipeline.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
# If ref is 'refs/heads/main' => set 'main'
3939
# Else it must be a tag => set {tag}
4040
- name: Set checkout_ref and path_in_repo
41+
env:
4142
EVENT_NAME: ${{ github.event_name }}
4243
EVENT_INPUT_REF: ${{ github.event.inputs.ref }}
4344
GITHUB_REF: ${{ github.ref }}
@@ -65,13 +66,13 @@ jobs:
6566
run: |
6667
echo "CHECKOUT_REF: ${{ env.CHECKOUT_REF }}"
6768
echo "PATH_IN_REPO: ${{ env.PATH_IN_REPO }}"
68-
- uses: actions/checkout@v3
69+
- uses: actions/checkout@v6
6970
with:
7071
ref: ${{ env.CHECKOUT_REF }}
7172

7273
# Setup + install dependencies
7374
- name: Set up Python
74-
uses: actions/setup-python@v4
75+
uses: actions/setup-python@v6
7576
with:
7677
python-version: "3.10"
7778
- name: Install dependencies

.github/workflows/nightly_tests.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
pipeline_test_matrix: ${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
2929
steps:
3030
- name: Checkout diffusers
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 2
3434
- name: Install dependencies
@@ -44,7 +44,7 @@ jobs:
4444
4545
- name: Pipeline Tests Artifacts
4646
if: ${{ always() }}
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v6
4848
with:
4949
name: test-pipelines.json
5050
path: reports
@@ -64,7 +64,7 @@ jobs:
6464
options: --shm-size "16gb" --ipc host --gpus all
6565
steps:
6666
- name: Checkout diffusers
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v6
6868
with:
6969
fetch-depth: 2
7070
- name: NVIDIA-SMI
@@ -97,7 +97,7 @@ jobs:
9797
cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
9898
- name: Test suite reports artifacts
9999
if: ${{ always() }}
100-
uses: actions/upload-artifact@v4
100+
uses: actions/upload-artifact@v6
101101
with:
102102
name: pipeline_${{ matrix.module }}_test_reports
103103
path: reports
@@ -119,7 +119,7 @@ jobs:
119119
module: [models, schedulers, lora, others, single_file, examples]
120120
steps:
121121
- name: Checkout diffusers
122-
uses: actions/checkout@v3
122+
uses: actions/checkout@v6
123123
with:
124124
fetch-depth: 2
125125

@@ -167,7 +167,7 @@ jobs:
167167
168168
- name: Test suite reports artifacts
169169
if: ${{ always() }}
170-
uses: actions/upload-artifact@v4
170+
uses: actions/upload-artifact@v6
171171
with:
172172
name: torch_${{ matrix.module }}_cuda_test_reports
173173
path: reports
@@ -184,7 +184,7 @@ jobs:
184184

185185
steps:
186186
- name: Checkout diffusers
187-
uses: actions/checkout@v3
187+
uses: actions/checkout@v6
188188
with:
189189
fetch-depth: 2
190190

@@ -211,7 +211,7 @@ jobs:
211211

212212
- name: Test suite reports artifacts
213213
if: ${{ always() }}
214-
uses: actions/upload-artifact@v4
214+
uses: actions/upload-artifact@v6
215215
with:
216216
name: torch_compile_test_reports
217217
path: reports
@@ -228,7 +228,7 @@ jobs:
228228
options: --shm-size "16gb" --ipc host --gpus all
229229
steps:
230230
- name: Checkout diffusers
231-
uses: actions/checkout@v3
231+
uses: actions/checkout@v6
232232
with:
233233
fetch-depth: 2
234234
- name: NVIDIA-SMI
@@ -263,7 +263,7 @@ jobs:
263263
cat reports/tests_big_gpu_torch_cuda_failures_short.txt
264264
- name: Test suite reports artifacts
265265
if: ${{ always() }}
266-
uses: actions/upload-artifact@v4
266+
uses: actions/upload-artifact@v6
267267
with:
268268
name: torch_cuda_big_gpu_test_reports
269269
path: reports
@@ -280,7 +280,7 @@ jobs:
280280
shell: bash
281281
steps:
282282
- name: Checkout diffusers
283-
uses: actions/checkout@v3
283+
uses: actions/checkout@v6
284284
with:
285285
fetch-depth: 2
286286

@@ -321,7 +321,7 @@ jobs:
321321
322322
- name: Test suite reports artifacts
323323
if: ${{ always() }}
324-
uses: actions/upload-artifact@v4
324+
uses: actions/upload-artifact@v6
325325
with:
326326
name: torch_minimum_version_cuda_test_reports
327327
path: reports
@@ -355,7 +355,7 @@ jobs:
355355
options: --shm-size "20gb" --ipc host --gpus all
356356
steps:
357357
- name: Checkout diffusers
358-
uses: actions/checkout@v3
358+
uses: actions/checkout@v6
359359
with:
360360
fetch-depth: 2
361361
- name: NVIDIA-SMI
@@ -391,7 +391,7 @@ jobs:
391391
cat reports/tests_${{ matrix.config.backend }}_torch_cuda_failures_short.txt
392392
- name: Test suite reports artifacts
393393
if: ${{ always() }}
394-
uses: actions/upload-artifact@v4
394+
uses: actions/upload-artifact@v6
395395
with:
396396
name: torch_cuda_${{ matrix.config.backend }}_reports
397397
path: reports
@@ -408,7 +408,7 @@ jobs:
408408
options: --shm-size "20gb" --ipc host --gpus all
409409
steps:
410410
- name: Checkout diffusers
411-
uses: actions/checkout@v3
411+
uses: actions/checkout@v6
412412
with:
413413
fetch-depth: 2
414414
- name: NVIDIA-SMI
@@ -441,7 +441,7 @@ jobs:
441441
cat reports/tests_pipeline_level_quant_torch_cuda_failures_short.txt
442442
- name: Test suite reports artifacts
443443
if: ${{ always() }}
444-
uses: actions/upload-artifact@v4
444+
uses: actions/upload-artifact@v6
445445
with:
446446
name: torch_cuda_pipeline_level_quant_reports
447447
path: reports
@@ -466,15 +466,15 @@ jobs:
466466
image: diffusers/diffusers-pytorch-cpu
467467
steps:
468468
- name: Checkout diffusers
469-
uses: actions/checkout@v3
469+
uses: actions/checkout@v6
470470
with:
471471
fetch-depth: 2
472472

473473
- name: Create reports directory
474474
run: mkdir -p combined_reports
475475

476476
- name: Download all test reports
477-
uses: actions/download-artifact@v4
477+
uses: actions/download-artifact@v7
478478
with:
479479
path: artifacts
480480

@@ -500,7 +500,7 @@ jobs:
500500
cat $CONSOLIDATED_REPORT_PATH >> $GITHUB_STEP_SUMMARY
501501
502502
- name: Upload consolidated report
503-
uses: actions/upload-artifact@v4
503+
uses: actions/upload-artifact@v6
504504
with:
505505
name: consolidated_test_report
506506
path: ${{ env.CONSOLIDATED_REPORT_PATH }}
@@ -514,7 +514,7 @@ jobs:
514514
#
515515
# steps:
516516
# - name: Checkout diffusers
517-
# uses: actions/checkout@v3
517+
# uses: actions/checkout@v6
518518
# with:
519519
# fetch-depth: 2
520520
#
@@ -554,7 +554,7 @@ jobs:
554554
#
555555
# - name: Test suite reports artifacts
556556
# if: ${{ always() }}
557-
# uses: actions/upload-artifact@v4
557+
# uses: actions/upload-artifact@v6
558558
# with:
559559
# name: torch_mps_test_reports
560560
# path: reports
@@ -570,7 +570,7 @@ jobs:
570570
#
571571
# steps:
572572
# - name: Checkout diffusers
573-
# uses: actions/checkout@v3
573+
# uses: actions/checkout@v6
574574
# with:
575575
# fetch-depth: 2
576576
#
@@ -610,7 +610,7 @@ jobs:
610610
#
611611
# - name: Test suite reports artifacts
612612
# if: ${{ always() }}
613-
# uses: actions/upload-artifact@v4
613+
# uses: actions/upload-artifact@v6
614614
# with:
615615
# name: torch_mps_test_reports
616616
# path: reports

.github/workflows/notify_slack_about_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-22.04
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414

1515
- name: Setup Python
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v6
1717
with:
1818
python-version: '3.8'
1919

.github/workflows/pr_dependency_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
check_dependencies:
1919
runs-on: ubuntu-22.04
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v6
2222
- name: Set up Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v6
2424
with:
2525
python-version: "3.8"
2626
- name: Install dependencies

.github/workflows/pr_modular_tests.yml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: Fast PR tests for Modular
23

34
on:
@@ -35,9 +36,9 @@ jobs:
3536
check_code_quality:
3637
runs-on: ubuntu-22.04
3738
steps:
38-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v6
3940
- name: Set up Python
40-
uses: actions/setup-python@v4
41+
uses: actions/setup-python@v6
4142
with:
4243
python-version: "3.10"
4344
- name: Install dependencies
@@ -55,9 +56,9 @@ jobs:
5556
needs: check_code_quality
5657
runs-on: ubuntu-22.04
5758
steps:
58-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v6
5960
- name: Set up Python
60-
uses: actions/setup-python@v4
61+
uses: actions/setup-python@v6
6162
with:
6263
python-version: "3.10"
6364
- name: Install dependencies
@@ -77,23 +78,13 @@ jobs:
7778
7879
run_fast_tests:
7980
needs: [check_code_quality, check_repository_consistency]
80-
strategy:
81-
fail-fast: false
82-
matrix:
83-
config:
84-
- name: Fast PyTorch Modular Pipeline CPU tests
85-
framework: pytorch_pipelines
86-
runner: aws-highmemory-32-plus
87-
image: diffusers/diffusers-pytorch-cpu
88-
report: torch_cpu_modular_pipelines
89-
90-
name: ${{ matrix.config.name }}
81+
name: Fast PyTorch Modular Pipeline CPU tests
9182

9283
runs-on:
93-
group: ${{ matrix.config.runner }}
84+
group: aws-highmemory-32-plus
9485

9586
container:
96-
image: ${{ matrix.config.image }}
87+
image: diffusers/diffusers-pytorch-cpu
9788
options: --shm-size "16gb" --ipc host -v /mnt/hf_cache:/mnt/cache/
9889

9990
defaults:
@@ -102,7 +93,7 @@ jobs:
10293

10394
steps:
10495
- name: Checkout diffusers
105-
uses: actions/checkout@v3
96+
uses: actions/checkout@v6
10697
with:
10798
fetch-depth: 2
10899

@@ -118,22 +109,19 @@ jobs:
118109
python utils/print_env.py
119110
120111
- name: Run fast PyTorch Pipeline CPU tests
121-
if: ${{ matrix.config.framework == 'pytorch_pipelines' }}
122112
run: |
123113
pytest -n 8 --max-worker-restart=0 --dist=loadfile \
124114
-k "not Flax and not Onnx" \
125-
--make-reports=tests_${{ matrix.config.report }} \
115+
--make-reports=tests_torch_cpu_modular_pipelines \
126116
tests/modular_pipelines
127117
128118
- name: Failure short reports
129119
if: ${{ failure() }}
130-
run: cat reports/tests_${{ matrix.config.report }}_failures_short.txt
120+
run: cat reports/tests_torch_cpu_modular_pipelines_failures_short.txt
131121

132122
- name: Test suite reports artifacts
133123
if: ${{ always() }}
134-
uses: actions/upload-artifact@v4
124+
uses: actions/upload-artifact@v6
135125
with:
136-
name: pr_${{ matrix.config.framework }}_${{ matrix.config.report }}_test_reports
126+
name: pr_pytorch_pipelines_torch_cpu_modular_pipelines_test_reports
137127
path: reports
138-
139-

0 commit comments

Comments
 (0)