Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6b089c2
Bump the actions group with 17 updates (#12)
dependabot[bot] Sep 18, 2026
5fffb56
Scope GITHUB_TOKEN permissions per job (#16)
hf-security-analysis[bot] Sep 23, 2026
ab98af5
Pin GitHub Actions to commit SHAs (#17)
hf-security-analysis[bot] Sep 23, 2026
0f8a86a
Bump doc-builder workflow pin (#22)
paulinebm Oct 6, 2026
fc63b64
Add FLUX.3 image: Flux3Transformer2DModel and modular text-to-image /…
yiyixuxu Oct 9, 2026
41ff90d
integration-notes: ship the knight example image with the doc examples
yiyixuxu Oct 9, 2026
c894120
integration-notes: drop the tokenizer config workaround (not needed w…
yiyixuxu Oct 9, 2026
0a77413
Address review: rename the mode channel dict and the final norm, name…
yiyixuxu Oct 9, 2026
be15632
Add the step-distilled FLUX.3 image model (flow map)
yiyixuxu Oct 12, 2026
ef53f7b
Add the step-distilled examples script
yiyixuxu Oct 12, 2026
9f6e4c4
feat: add a single file support in Flux3 image. (#32)
sayakpaul Oct 13, 2026
6b1ac51
Merge branch 'flux3-image' into flux3-image-distilled
yiyixuxu Oct 13, 2026
c224b3e
Merge pull request #29 from huggingface/flux3-image-distilled
yiyixuxu Oct 13, 2026
6a17c32
Warn about the denoiser input fields that are not passed to the trans…
yiyixuxu Oct 13, 2026
a88c209
Document reproducible generation with user-provided latents
yiyixuxu Oct 13, 2026
26a32da
Run the QK norm and RoPE in fp32 with a single cast back, matching th…
yiyixuxu Oct 13, 2026
6348cc0
parity script: run against the Hub repos and print the imported diffu…
yiyixuxu Oct 13, 2026
9d6eccf
Wrap a forward docstring line for the doc-builder style check
yiyixuxu Oct 13, 2026
4655c6c
support lora loading (including ostris) in flux3 image pipeline. (#25)
sayakpaul Oct 14, 2026
f97b920
feat: support loading and performing inference with single-file forma…
sayakpaul Oct 14, 2026
4430857
add LoRA training for Flux 3 image small
linoytsaban Oct 12, 2026
64777c3
tests: clarify FLUX3_TINY_REPO comment
linoytsaban Oct 12, 2026
a4e8261
examples/flux3: drop unused args and dead class
linoytsaban Oct 12, 2026
8af9ae4
bump yarn example rank to 32 in flux3 small readme
linoytsaban Oct 14, 2026
c870eb8
Document <ref_image_n> references and layout prompts for FLUX.3
apolinario Oct 14, 2026
b2d4917
Merge pull request #36 from huggingface/flux3-ref-image-prompting
apolinario Oct 14, 2026
6d57817
examples/flux3: set klein model id, document ref image prompts, clean…
linoytsaban Oct 14, 2026
062061e
point flux3 image docs at the klein release model ids
linoytsaban Oct 14, 2026
44afdae
Merge pull request #37 from huggingface/flux3-klein-refs
linoytsaban Oct 14, 2026
5241bfc
Merge pull request #28 from huggingface/flux3-small-lora-training
linoytsaban Oct 14, 2026
1f913d4
fix: TestFlux3DistilledModularPipelineWorkflow::test_workflow_default…
sayakpaul Oct 15, 2026
fb51c15
fix checkpoint ids in the flux3 docs. (#38)
sayakpaul Oct 15, 2026
c0ddc02
[docs] update pipe loading with vae fp32 dtype (#39)
ariG23498 Oct 15, 2026
ac36f1f
use actual ckpts. (#42)
sayakpaul Oct 15, 2026
dc356dc
flux3 klein example: rename from "small" and fix caption dropout for …
linoytsaban Oct 15, 2026
4d3b9f6
update flux3.md (#43)
YumengLi007 Oct 15, 2026
df5e606
examples/flux3: support train_batch_size>1 and prior preservation wit…
linoytsaban Oct 15, 2026
bc78dd2
fix(ci): scope job permissions in workflows flagged on #15046
hf-security-analysis[bot] Oct 15, 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
10 changes: 6 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
schedule:
- cron: "30 1 1,15 * *" # every 2 weeks on the 1st and the 15th of every month at 1:30 AM

permissions:
contents: read

env:
DIFFUSERS_IS_CI: yes
Expand All @@ -16,8 +14,12 @@ env:
MKL_NUM_THREADS: 8
BASE_PATH: benchmark_outputs

permissions: {}

jobs:
torch_models_cuda_benchmark_tests:
permissions:
contents: read
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_BENCHMARK }}
name: Torch Core Models CUDA Benchmarking Tests
Expand All @@ -31,7 +33,7 @@ jobs:
options: --shm-size "16gb" --ipc host --gpus all
steps:
- name: Checkout diffusers
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- name: NVIDIA-SMI
Expand Down Expand Up @@ -61,7 +63,7 @@ jobs:

- name: Test suite reports artifacts
if: ${{ always() }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: benchmark_test_reports
path: benchmarks/${{ env.BASE_PATH }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
pull-requests: read
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0

- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Find Changed Dockerfiles
id: file_changes
Expand Down Expand Up @@ -105,16 +105,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: Login to Docker Hub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
username: ${{ env.REGISTRY }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
no-cache: true
context: ./docker/${{ matrix.image-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@e60a538eea9817ab312196d0d233604b01697265 # main
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@9fc8a41d7729c424fdb2192f2f85ff63102ec9a3 # main
with:
commit_sha: ${{ github.sha }}
install_libgl1: true
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ permissions:

jobs:
check-links:
permissions:
contents: read
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v6
with:
python-version: '3.10'

Expand All @@ -42,7 +44,7 @@ jobs:

build:
needs: check-links
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@e60a538eea9817ab312196d0d233604b01697265 # main
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@9fc8a41d7729c424fdb2192f2f85ff63102ec9a3 # main
with:
commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }}
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/claude_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
pull_request_review_comment:
types: [created]

permissions:
contents: write
pull-requests: write
issues: read

permissions: {}

jobs:
claude-review:
permissions:
contents: write
issues: read
pull-requests: write
if: |
(
github.event_name == 'issue_comment' &&
Expand All @@ -34,7 +36,7 @@ jobs:
cancel-in-progress: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
with:
fetch-depth: 1

Expand Down Expand Up @@ -84,7 +86,7 @@ jobs:
git clone --local --bare . /tmp/local-origin.git
git config url."file:///tmp/local-origin.git".insteadOf "$(git remote get-url origin)"

- uses: anthropics/claude-code-action@80b31826338489861333dc17217865dfe8085cdc # v1.0.155
- uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1.0.193
env:
CLAUDE_SYSTEM_PROMPT: |
You are a strict code reviewer for the diffusers library (huggingface/diffusers).
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
codeql:
name: CodeQL Analysis
uses: huggingface/security-workflows/.github/workflows/codeql-reusable.yml@dc6ca34688e6876c2dd18750719b44d177586c17 # v1
uses: huggingface/security-workflows/.github/workflows/codeql-reusable.yml@e0d40aaf3c566a5e820787840453f45f909e337f # v1.2.0
permissions:
security-events: write
packages: read
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/issue_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ on:
issues:
types: [opened]

permissions:
contents: read
issues: write
permissions: {}

jobs:
label:
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install dependencies
run: pip install huggingface_hub
- name: Get labels from LLM
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mirror_community_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ jobs:
run: |
echo "CHECKOUT_REF: ${{ env.CHECKOUT_REF }}"
echo "PATH_IN_REPO: ${{ env.PATH_IN_REPO }}"
- uses: actions/checkout@v6
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}

# Setup + install dependencies
- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
Loading
Loading