Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
17e2a42
npu attention enable ulysses
TmacAaron Nov 1, 2025
07ea078
[Modular]z-image (#12808)
yiyixuxu Dec 9, 2025
8b4722d
Fix Qwen Edit Plus modular for multi-image input (#12601)
sayakpaul Dec 9, 2025
be3c2a0
[WIP] Add Flux2 modular (#12763)
DN6 Dec 10, 2025
6708f5c
[docs] improve distributed inference cp docs. (#12810)
sayakpaul Dec 10, 2025
10e820a
post release 0.36.0 (#12804)
sayakpaul Dec 11, 2025
0eac64c
Update distributed_inference.md to correct syntax (#12827)
sayakpaul Dec 11, 2025
1567243
[lora] Remove lora docs unneeded and add " # Copied from ..." (#12824)
sayakpaul Dec 12, 2025
17c0e79
support CP in native flash attention (#12829)
sywangyi Dec 12, 2025
b8a4cba
[qwen-image] edit 2511 support (#12839)
naykun Dec 15, 2025
0c1ccc0
fix pytest tests/pipelines/pixart_sigma/test_pixart.py::PixArtSigmaPi…
sywangyi Dec 15, 2025
5851928
Support for control-lora (#10686)
lavinal712 Dec 15, 2025
a748a83
Add support for LongCat-Image (#12828)
junqiangwu Dec 15, 2025
5e48f46
fix the prefix_token_len bug (#12845)
junqiangwu Dec 16, 2025
87f7d11
extend TorchAoTest::test_model_memory_usage to other platform (#12768)
sywangyi Dec 17, 2025
f9c1e61
Qwen Image Layered Support (#12853)
naykun Dec 17, 2025
55463f7
Z-Image-Turbo ControlNet (#12792)
hlky Dec 17, 2025
b530968
Cosmos Predict2.5 Base: inference pipeline, scheduler & chkpt convers…
miguelmartin75 Dec 19, 2025
f7753b1
more update in modular (#12560)
yiyixuxu Dec 19, 2025
262ce19
Feature: Add Mambo-G Guidance as Guider (#12862)
MatrixTeam-AI Dec 19, 2025
0c4f6c9
Add `OvisImagePipeline` in `AUTO_TEXT2IMAGE_PIPELINES_MAPPING` (#12876)
alvarobartt Dec 22, 2025
973a077
Cosmos Predict2.5 14b Conversion (#12863)
miguelmartin75 Dec 22, 2025
52766e6
Use `T5Tokenizer` instead of `MT5Tokenizer` (removed in Transformers …
alvarobartt Dec 23, 2025
f6b6a71
Add z-image-omni-base implementation (#12857)
RuoyiDu Dec 24, 2025
1cdb872
fix torchao quantizer for new torchao versions (#12901)
vkuzo Dec 30, 2025
208cda8
fix Qwen Image Transformer single file loading mapping function to be…
mbalabanski Jan 2, 2026
4737806
Z-Image-Turbo from_single_file fix (#12888)
hlky Jan 2, 2026
d0ae34d
chore: fix dev version in setup.py (#12904)
DefTruth Jan 5, 2026
5ffb658
Community Pipeline: Add z-image differential img2img (#12882)
r4inm4ker Jan 5, 2026
0da1aa9
Fix typo in src/diffusers/pipelines/cosmos/pipeline_cosmos2_5_predict…
miguelmartin75 Jan 6, 2026
3138e37
Fix wan 2.1 i2v context parallel (#12909)
DefTruth Jan 6, 2026
7c6d314
fix the use of device_map in CP docs (#12902)
sayakpaul Jan 6, 2026
b6098ca
[core] remove unneeded autoencoder methods when subclassing from `Aut…
sayakpaul Jan 6, 2026
88ffb00
Detect 2.0 vs 2.1 ZImageControlNetModel (#12861)
hlky Jan 6, 2026
db37140
Refactor environment variable assignments in workflow (#12916)
paulinebm Jan 6, 2026
e46354d
Add codeQL workflow (#12917)
paulinebm Jan 6, 2026
417f6b2
Delete .github/workflows/codeql.yml
paulinebm Jan 6, 2026
9b5a244
CodeQL workflow for security analysis
paulinebm Jan 6, 2026
41a6e86
Check for attention mask in backends that don't support it (#12892)
dxqb Jan 6, 2026
ade1059
[Flux.1] improve pos embed for ascend npu by computing on npu (#12897)
zhangtao0408 Jan 6, 2026
98479a9
LTX Video 0.9.8 long multi prompt (#12614)
yaoqih Jan 7, 2026
b4be29b
Add FSDP option for Flux2 (#12860)
leisuzz Jan 7, 2026
a033e7f
clean the format
TmacAaron Jan 7, 2026
8f30bff
Add transformer cache context for SkyReels-V2 pipelines & Update docs…
tolgacangoz Jan 7, 2026
961b9b2
[docs] fix torchao typo. (#12883)
sayakpaul Jan 7, 2026
6fb4c99
Update wan.md to remove unneeded hfoptions (#12890)
sayakpaul Jan 7, 2026
9fb6b89
Improve docstrings and type hints in scheduling_edm_euler.py (#12871)
delmalih Jan 7, 2026
dab000e
[Modular] Video for Mellon (#12924)
asomoza Jan 7, 2026
c10bdd9
Add LTX 2.0 Video Pipelines (#12915)
dg845 Jan 8, 2026
79c1107
Merge branch 'main' into npu_ulysses
TmacAaron Jan 8, 2026
8600b4c
Add environment variables to checkout step (#12927)
paulinebm Jan 8, 2026
002e7ef
register _native_npu_attention to _supports_context_parallel
TmacAaron Jan 8, 2026
9a5e827
change npu_fusion_attention's input_layout to BSND to eliminate redun…
TmacAaron Jan 8, 2026
51ba43c
Merge branch 'main' into npu_ulysses
sayakpaul Jan 8, 2026
8780c4a
Update format
TmacAaron Jan 8, 2026
b1f06b7
Improve docstrings and type hints in scheduling_consistency_decoder.p…
delmalih Jan 8, 2026
8b9f817
Fix: Remove hardcoded CUDA autocast in Kandinsky 5 to fix import warn…
adi776borate Jan 8, 2026
a812c87
Upgrade GitHub Actions for Node 24 compatibility (#12865)
salmanmkc Jan 9, 2026
91e5134
fix the warning torch_dtype is deprecated (#12841)
msdsm Jan 9, 2026
10dec67
Merge branch 'main' into npu_ulysses
sayakpaul Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
options: --shm-size "16gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: benchmark_test_reports
path: benchmarks/${{ env.BASE_PATH }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Find Changed Dockerfiles
id: file_changes
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'

Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: CodeQL Security Analysis For Github Actions

on:
push:
branches: ["main"]
workflow_dispatch:
# pull_request:

jobs:
codeql:
name: CodeQL Analysis
uses: huggingface/security-workflows/.github/workflows/codeql-reusable.yml@v1
permissions:
security-events: write
packages: read
actions: read
contents: read
with:
languages: '["actions","python"]'
queries: 'security-extended,security-and-quality'
runner: 'ubuntu-latest' #optional if need custom runner
29 changes: 16 additions & 13 deletions .github/workflows/mirror_community_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
mirror_community_pipeline:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_COMMUNITY_MIRROR }}

runs-on: ubuntu-22.04
steps:
# Checkout to correct ref
Expand All @@ -39,37 +38,41 @@ jobs:
# If ref is 'refs/heads/main' => set 'main'
# Else it must be a tag => set {tag}
- name: Set checkout_ref and path_in_repo
env:
EVENT_NAME: ${{ github.event_name }}
EVENT_INPUT_REF: ${{ github.event.inputs.ref }}
GITHUB_REF: ${{ github.ref }}
run: |
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
if [ -z "${{ github.event.inputs.ref }}" ]; then
if [ "$EVENT_NAME" == "workflow_dispatch" ]; then
if [ -z "$EVENT_INPUT_REF" ]; then
echo "Error: Missing ref input"
exit 1
elif [ "${{ github.event.inputs.ref }}" == "main" ]; then
elif [ "$EVENT_INPUT_REF" == "main" ]; then
echo "CHECKOUT_REF=refs/heads/main" >> $GITHUB_ENV
echo "PATH_IN_REPO=main" >> $GITHUB_ENV
else
echo "CHECKOUT_REF=refs/tags/${{ github.event.inputs.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=${{ github.event.inputs.ref }}" >> $GITHUB_ENV
echo "CHECKOUT_REF=refs/tags/$EVENT_INPUT_REF" >> $GITHUB_ENV
echo "PATH_IN_REPO=$EVENT_INPUT_REF" >> $GITHUB_ENV
fi
elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
elif [ "$GITHUB_REF" == "refs/heads/main" ]; then
echo "CHECKOUT_REF=$GITHUB_REF" >> $GITHUB_ENV
echo "PATH_IN_REPO=main" >> $GITHUB_ENV
else
# e.g. refs/tags/v0.28.1 -> v0.28.1
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=$(echo ${{ github.ref }} | sed 's/^refs\/tags\///')" >> $GITHUB_ENV
echo "CHECKOUT_REF=$GITHUB_REF" >> $GITHUB_ENV
echo "PATH_IN_REPO=$(echo $GITHUB_REF | sed 's/^refs\/tags\///')" >> $GITHUB_ENV
fi
- name: Print env vars
run: |
echo "CHECKOUT_REF: ${{ env.CHECKOUT_REF }}"
echo "PATH_IN_REPO: ${{ env.PATH_IN_REPO }}"
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
ref: ${{ env.CHECKOUT_REF }}

# Setup + install dependencies
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install dependencies
Expand Down Expand Up @@ -99,4 +102,4 @@ jobs:
- name: Report failure status
if: ${{ failure() }}
run: |
pip install requests && python utils/notify_community_pipelines_mirror.py --status=failure
pip install requests && python utils/notify_community_pipelines_mirror.py --status=failure
46 changes: 23 additions & 23 deletions .github/workflows/nightly_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pipeline_test_matrix: ${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Install dependencies
Expand All @@ -44,7 +44,7 @@ jobs:

- name: Pipeline Tests Artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: test-pipelines.json
path: reports
Expand All @@ -64,7 +64,7 @@ jobs:
options: --shm-size "16gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: pipeline_${{ matrix.module }}_test_reports
path: reports
Expand All @@ -119,7 +119,7 @@ jobs:
module: [models, schedulers, lora, others, single_file, examples]
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2

Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:

- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_${{ matrix.module }}_cuda_test_reports
path: reports
Expand All @@ -184,7 +184,7 @@ jobs:

steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2

Expand All @@ -211,7 +211,7 @@ jobs:

- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_compile_test_reports
path: reports
Expand All @@ -228,7 +228,7 @@ jobs:
options: --shm-size "16gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
cat reports/tests_big_gpu_torch_cuda_failures_short.txt
- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_cuda_big_gpu_test_reports
path: reports
Expand All @@ -280,7 +280,7 @@ jobs:
shell: bash
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2

Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:

- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_minimum_version_cuda_test_reports
path: reports
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
options: --shm-size "20gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -391,7 +391,7 @@ jobs:
cat reports/tests_${{ matrix.config.backend }}_torch_cuda_failures_short.txt
- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_cuda_${{ matrix.config.backend }}_reports
path: reports
Expand All @@ -408,7 +408,7 @@ jobs:
options: --shm-size "20gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
cat reports/tests_pipeline_level_quant_torch_cuda_failures_short.txt
- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: torch_cuda_pipeline_level_quant_reports
path: reports
Expand All @@ -466,15 +466,15 @@ jobs:
image: diffusers/diffusers-pytorch-cpu
steps:
- name: Checkout diffusers
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
fetch-depth: 2

- name: Create reports directory
run: mkdir -p combined_reports

- name: Download all test reports
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: artifacts

Expand All @@ -500,7 +500,7 @@ jobs:
cat $CONSOLIDATED_REPORT_PATH >> $GITHUB_STEP_SUMMARY

- name: Upload consolidated report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: consolidated_test_report
path: ${{ env.CONSOLIDATED_REPORT_PATH }}
Expand All @@ -514,7 +514,7 @@ jobs:
#
# steps:
# - name: Checkout diffusers
# uses: actions/checkout@v3
# uses: actions/checkout@v6
# with:
# fetch-depth: 2
#
Expand Down Expand Up @@ -554,7 +554,7 @@ jobs:
#
# - name: Test suite reports artifacts
# if: ${{ always() }}
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v6
# with:
# name: torch_mps_test_reports
# path: reports
Expand All @@ -570,7 +570,7 @@ jobs:
#
# steps:
# - name: Checkout diffusers
# uses: actions/checkout@v3
# uses: actions/checkout@v6
# with:
# fetch-depth: 2
#
Expand Down Expand Up @@ -610,7 +610,7 @@ jobs:
#
# - name: Test suite reports artifacts
# if: ${{ always() }}
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v6
# with:
# name: torch_mps_test_reports
# path: reports
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/notify_slack_about_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.8'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr_dependency_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
check_dependencies:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.8"
- name: Install dependencies
Expand Down
Loading