Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
huggingface
/
diffusers
Public
Notifications
You must be signed in to change notification settings
Fork
7.3k
Star
34.5k
Code
Issues
839
Pull requests
591
Discussions
Actions
Projects
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
[Modular]improve loop block
- #14159
#14159
Open
yiyixuxu
wants to merge 29 commits into
main
huggingface/diffusers:main
from
refactor-iterative-loop-blocks
huggingface/diffusers:refactor-iterative-loop-blocks
Copy head branch name to clipboard
Conversation
Commits
29
(29)
Checks
Files changed
Open
[Modular]improve loop block
#14159
yiyixuxu
wants to merge 29 commits into
main
huggingface/diffusers:main
from
refactor-iterative-loop-blocks
huggingface/diffusers:refactor-iterative-loop-blocks
Copy head branch name to clipboard
Commits
Commits on Jul 10, 2026
Add IterativePipelineBlocks: composable loop blocks with loop-local state scopes
Show description for b272422
yiyixuxu
and
claude
committed
b272422
View commit details
Copy full SHA for b272422
Browse repository at this point
Pass loop variables as call arguments instead of state scopes
Show description for 2e92d11
yiyixuxu
and
claude
committed
2e92d11
View commit details
Copy full SHA for 2e92d11
Browse repository at this point
Enforce uniform loop-variable signatures for all loop sub-blocks
Show description for 6f52977
yiyixuxu
and
claude
committed
6f52977
View commit details
Copy full SHA for 6f52977
Browse repository at this point
Document nested-loop __call__ signature on IterativePipelineBlocks
Show description for 7d697b2
yiyixuxu
and
claude
committed
7d697b2
View commit details
Copy full SHA for 7d697b2
Browse repository at this point
Add ModularLoopPipelineBlocks base and __call__ contracts
Show description for 2f3f3f5
yiyixuxu
and
claude
committed
2f3f3f5
View commit details
Copy full SHA for 2f3f3f5
Browse repository at this point
Drop loop_* declaration properties; validate sub-blocks at construction
Show description for 281333e
yiyixuxu
and
claude
committed
281333e
View commit details
Copy full SHA for 281333e
Browse repository at this point
Commits on Aug 19, 2026
Modular: opt-in streaming — pipe.stream() yields the live state after every loop iteration
Show description for 2cf97ca
yiyixuxu
and
claude
committed
2cf97ca
View commit details
Copy full SHA for 2cf97ca
Browse repository at this point
Merge origin/main into refactor-iterative-loop-blocks
Show description for 2965564
yiyixuxu
and
claude
committed
2965564
View commit details
Copy full SHA for 2965564
Browse repository at this point
Merge branch 'main' into refactor-iterative-loop-blocks
yiyixuxu
authored
b00f89b
View commit details
Copy full SHA for b00f89b
Browse repository at this point
Port wan-animate-2 to IterativePipelineBlocks with nested streaming
Show description for 0f1245a
yiyixuxu
and
claude
committed
0f1245a
View commit details
Copy full SHA for 0f1245a
Browse repository at this point
Port LTX-2/2.5 to IterativePipelineBlocks with streaming
Show description for 3282034
yiyixuxu
and
claude
committed
3282034
View commit details
Copy full SHA for 3282034
Browse repository at this point
Commits on Aug 22, 2026
IterativePipelineBlocks: declare loop-level inputs/outputs; scope block state to the loop logic
Show description for e758ae0
yiyixuxu
and
claude
committed
e758ae0
View commit details
Copy full SHA for e758ae0
Browse repository at this point
Commits on Aug 25, 2026
update docs on interactive loop block
yiyixuxu
committed
5dadd8b
View commit details
Copy full SHA for 5dadd8b
Browse repository at this point
Apply suggestion from @yiyixuxu
yiyixuxu
authored
1c17e84
View commit details
Copy full SHA for 1c17e84
Browse repository at this point
Commits on Aug 31, 2026
Merge remote-tracking branch 'origin/main' into refactor-iterative-loop-blocks
Show description for 3f6d65d
yiyixuxu
committed
3f6d65d
View commit details
Copy full SHA for 3f6d65d
Browse repository at this point
Commits on Sep 1, 2026
keep loop logic minimal: collect segment frames in a loop step, let loop steps take only the loop variables they use (plus **kwargs), update docs
Show description for d7ec4e6
yiyixuxu
and
claude
committed
d7ec4e6
View commit details
Copy full SHA for d7ec4e6
Browse repository at this point
remove loop gotchas covered by the updated docs
Show description for 8bc93c9
yiyixuxu
and
claude
committed
8bc93c9
View commit details
Copy full SHA for 8bc93c9
Browse repository at this point
clarify streaming docs: nested-loop events, drop the drive-the-loop-yourself section
Show description for 37ff558
yiyixuxu
and
claude
committed
37ff558
View commit details
Copy full SHA for 37ff558
Browse repository at this point
polish loop docstrings and comments
Show description for 5322654
yiyixuxu
and
claude
committed
5322654
View commit details
Copy full SHA for 5322654
Browse repository at this point
rewrite iterative-blocks tests with simple arithmetic dummies
Show description for 91c6aa5
yiyixuxu
and
claude
committed
91c6aa5
View commit details
Copy full SHA for 91c6aa5
Browse repository at this point
make style
Show description for fab0476
yiyixuxu
and
claude
committed
fab0476
View commit details
Copy full SHA for fab0476
Browse repository at this point
Merge branch 'main' into refactor-iterative-loop-blocks
yiyixuxu
authored
24cca48
View commit details
Copy full SHA for 24cca48
Browse repository at this point
loop docs: three-part recipe, concrete data-flow examples, fewer dashes
Show description for b6274dc
yiyixuxu
and
claude
committed
b6274dc
View commit details
Copy full SHA for b6274dc
Browse repository at this point
Merge branch 'refactor-iterative-loop-blocks' of github.com:huggingface/diffusers into refactor-iterative-loop-blocks
yiyixuxu
committed
a00d314
View commit details
Copy full SHA for a00d314
Browse repository at this point
Commits on Sep 2, 2026
Update docs/source/en/modular_diffusers/sequential_pipeline_blocks.md
Show description for 1c85e0c
yiyixuxu
and
stevhliu
authored
1c85e0c
View commit details
Copy full SHA for 1c85e0c
Browse repository at this point
Update docs/source/en/modular_diffusers/modular_pipeline.md
Show description for 75857a4
yiyixuxu
and
stevhliu
authored
75857a4
View commit details
Copy full SHA for 75857a4
Browse repository at this point
Update docs/source/en/modular_diffusers/modular_pipeline.md
Show description for 13fe60d
yiyixuxu
and
stevhliu
authored
13fe60d
View commit details
Copy full SHA for 13fe60d
Browse repository at this point
Apply batched suggestions from code review
Show description for 1e97ff0
yiyixuxu
and
stevhliu
authored
1e97ff0
View commit details
Copy full SHA for 1e97ff0
Browse repository at this point
address more feedbacks
Show description for c406d5b
yiyixuxu
and
claude
committed
c406d5b
View commit details
Copy full SHA for c406d5b
Browse repository at this point
You can’t perform that action at this time.