-
Notifications
You must be signed in to change notification settings - Fork 648
Implements Predictor specialization for multi-diffusion #1573
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
CharlelieLrt
wants to merge
17
commits into
NVIDIA:main
Choose a base branch
from
CharlelieLrt:multi_diffusion_sampling
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.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ae8102e
Implements Predictor specialization for multi-diffusion
CharlelieLrt 9bd0474
Compile denoiser in multi-diffusion sampling compile tests
CharlelieLrt 9c84b00
Avoid fullgraph compile in multi-diffusion sampling test
CharlelieLrt f8b906a
Flatten MultiDiffusionPredictor hot path for torch.compile
CharlelieLrt 1259e43
Loosen torch.compile euler check in multi-diffusion sampling tests
CharlelieLrt cefe1db
Force contiguous t_cur/t_next in Euler solvers
CharlelieLrt a000e1c
Drop dead is_compiling guard and inherit from Predictor in MultiDiffu…
CharlelieLrt 8f945a5
Narrow _patching type and tighten multi-diffusion tests
CharlelieLrt 7e1db11
Force contiguous pos_embd before patching
CharlelieLrt feb0d9e
Use functional F.pad in image_batching
CharlelieLrt 3dfcdb5
Replace einops.rearrange with native torch reshape+permute
CharlelieLrt 746518f
Materialise returned tensors in multi-diffusion fuse path
CharlelieLrt a007c46
Use clone instead of contiguous at fuse boundary
CharlelieLrt 869a7c1
Revert speculative fuse-boundary copies and xfail full-sampler compil…
CharlelieLrt 78c10d8
Merge remote-tracking branch 'upstream/main' into multi_diffusion_sam…
CharlelieLrt 3207587
Minor updates to predictor.py
CharlelieLrt 2759f57
Merge remote-tracking branch 'upstream/main' into multi_diffusion_sam…
CharlelieLrt 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,4 @@ | |
| image_batching, | ||
| image_fuse, | ||
| ) | ||
| from .predictor import MultiDiffusionPredictor | ||
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the internal
_patching_typeattributes are not really used now, those can be dropped?