-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[diffusion] Refactor TeaCache #21613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
eitanturok
wants to merge
63
commits into
sgl-project:main
Choose a base branch
from
eitanturok:refactor-teacache-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+317
−469
Open
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
b604eb4
calibrate cache
eitanturok d814bc1
undo
eitanturok 5c975da
refactor teacache
eitanturok 6b053aa
teacacheparms is stateless
eitanturok 9f8f300
fix spelling in params
eitanturok a5b765a
precommit
eitanturok d15d4b9
make method private
eitanturok a82d3de
Merge branch 'main' into refactor-teacache-2
eitanturok 86a3e1d
Merge branch 'main' into refactor-teacache-2
eitanturok eba648a
Merge branch 'main' into refactor-teacache-2
eitanturok 55c7e1a
Merge branch 'main' into refactor-teacache-2
eitanturok a607193
Merge branch 'main' into refactor-teacache-2
eitanturok 1391194
Merge branch 'main' into refactor-teacache-2
eitanturok ed04c02
Merge branch 'main' into refactor-teacache-2
eitanturok cb4f4a6
Merge branch 'main' into refactor-teacache-2
eitanturok 54f5d1b
Merge branch 'main' into refactor-teacache-2
eitanturok c9a7648
Merge branch 'main' into refactor-teacache-2
eitanturok 09253fa
Merge branch 'main' into refactor-teacache-2
eitanturok db02c5d
update docs
eitanturok 8f84678
better param name; better docs
eitanturok 3c54d34
move get_coefficents, get_skip_boundaries to TeaCacheParams
eitanturok 3a23fc7
update
eitanturok 56a00c1
init changes after first generation
eitanturok 0261acc
Merge branch 'main' into refactor-teacache-2
eitanturok 25a3486
fix
eitanturok 01ab387
remove maybe_reset
eitanturok 54ff4bf
state is dataclass, better skip step parsing
eitanturok 8d9aa40
Merge branch 'main' into refactor-teacache-2
eitanturok cdba9e0
update doc
eitanturok ab61887
cleaner
eitanturok af18a7a
variable length polynomial
eitanturok d88c2bb
Merge branch 'main' into refactor-teacache-2
eitanturok c1d4b4c
make reset_states and fix weight updater
eitanturok b153f17
Merge branch 'main' into refactor-teacache-2
eitanturok 6f160e0
remove unused logging
eitanturok 3b16cdb
better docs
eitanturok 9ccf3a3
Merge branch 'main' into refactor-teacache-2
eitanturok ee31fb6
Merge branch 'main' into refactor-teacache-2
eitanturok 5f48522
update
eitanturok e33fc5a
Merge branch 'refactor-teacache-2' of https://github.com/eitanturok/s…
eitanturok af3b086
Merge branch 'main' into refactor-teacache-2
eitanturok 268344d
fix test_wan_teacache_boundaries_match_legacy_behavior: remove stale …
eitanturok 82657c7
fix TeaCacheStrategy: always advance previous_modulated_input each step
eitanturok cd2e907
refactor TeaCacheStrategy: split should_skip into advance() + should_…
eitanturok a272b4a
simplify TeaCacheStrategy: use None as sentinel, drop skippable flag
eitanturok d2dc793
redesign TeaCacheStrategy: should_skip decides, advance updates
eitanturok 20402c8
simplify: always reset accumulated to zeros, drop None sentinel
eitanturok 9ceff59
[diffusion] Merge TeaCache should_skip + advance into single step()
eitanturok 9a7de9c
[diffusion] Add inline comments to TeaCache step() and update docs
eitanturok 037e30e
Merge branch 'main' into refactor-teacache-2
mickqian 6ca1e7e
Merge branch 'main' into refactor-teacache-2
eitanturok 1976e2b
Merge branch 'main' into refactor-teacache-2
eitanturok 4b26c09
Fix TeaCache step(): use accumulated_rel_l1_distance=None as window s…
eitanturok 4d7d64f
fix
eitanturok d626aab
Merge branch 'main' into refactor-teacache-2
eitanturok ed6b182
Merge branch 'main' into refactor-teacache-2
eitanturok 811233f
Merge branch 'main' into refactor-teacache-2
eitanturok d51aab3
numerical precision
eitanturok b950148
Merge branch main into refactor-teacache-2
eitanturok cc69f63
Merge branch 'main' into refactor-teacache-2
eitanturok a3f2c95
Merge branch 'main' into refactor-teacache-2
eitanturok f9be5e5
Merge branch 'main' into refactor-teacache-2
mickqian adf6d01
update perf
eitanturok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.