-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[tests] Pipeline test refactor #14113
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
sayakpaul
wants to merge
32
commits into
main
Choose a base branch
from
pipeline-test-refactor
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.
+2,468
−1,258
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
0869bea
up
sayakpaul d2eb028
resolve conflicts
sayakpaul ce20838
up
sayakpaul b55e804
quantization level refactors.
sayakpaul 9eebcc9
style
sayakpaul e56c2df
up
sayakpaul 5cd914a
up
sayakpaul d462586
Merge branch 'main' into pipeline-test-refactor
sayakpaul 535c92c
Merge branch 'main' into pipeline-test-refactor
sayakpaul 4261ca2
Merge branch 'main' into pipeline-test-refactor
sayakpaul cd9b963
use mixins and remove stale attributes
sayakpaul 4df44f6
Merge branch 'main' into pipeline-test-refactor
sayakpaul 7b6bd57
Merge branch 'main' into pipeline-test-refactor
sayakpaul 22f4d7f
Merge branch 'main' into pipeline-test-refactor
sayakpaul 29f2334
Merge branch 'main' into pipeline-test-refactor
sayakpaul e00720e
fixture for the deprecated pipelines
sayakpaul ff75de2
remove qkv
sayakpaul 1ee00a4
remove lergacy for attention processor.
sayakpaul feaf2f0
Merge branch 'main' into pipeline-test-refactor
sayakpaul 6182c54
use pytorch tensors exclusively.
sayakpaul 5f1a3e2
rejig dodgy test.
sayakpaul f551543
improve how base pipeline output fixture is used.
sayakpaul 908a204
rename params.
sayakpaul a6d7965
up
sayakpaul 0a552a4
Merge branch 'main' into pipeline-test-refactor
sayakpaul 423a025
Merge branch 'main' into pipeline-test-refactor
sayakpaul 0b50e54
use pipeline load api for ip adapter.
sayakpaul 704b5f6
move to flux specific.
sayakpaul 87232a9
redesign config for caching
sayakpaul a4b1b4b
remove eval.
sayakpaul 7cf22bd
up
sayakpaul 703c656
up
sayakpaul 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| from .cache import ( | ||
| CacheTesterMixin, | ||
| FasterCacheTesterMixin, | ||
| FirstBlockCacheTesterMixin, | ||
| MagCacheTesterMixin, | ||
| PyramidAttentionBroadcastTesterMixin, | ||
| TaylorSeerCacheTesterMixin, | ||
| ) | ||
| from .common import BasePipelineTesterConfig, PipelineTesterMixin | ||
| from .memory import ( | ||
| GroupOffloadTesterMixin, | ||
| LayerwiseCastingTesterMixin, | ||
| MemoryTesterMixin, | ||
| PipelineOffloadTesterMixin, | ||
| ) | ||
| from .utils import ( | ||
| check_qkv_fused_layers_exist, | ||
| check_qkv_fusion_matches_attn_procs_length, | ||
| check_qkv_fusion_processors_exist, | ||
| check_same_shape, | ||
| ) | ||
|
|
||
|
|
||
| __all__ = [ | ||
| "BasePipelineTesterConfig", | ||
| "PipelineTesterMixin", | ||
| "MemoryTesterMixin", | ||
| "PipelineOffloadTesterMixin", | ||
| "GroupOffloadTesterMixin", | ||
| "LayerwiseCastingTesterMixin", | ||
| "CacheTesterMixin", | ||
| "PyramidAttentionBroadcastTesterMixin", | ||
| "FasterCacheTesterMixin", | ||
| "FirstBlockCacheTesterMixin", | ||
| "TaylorSeerCacheTesterMixin", | ||
| "MagCacheTesterMixin", | ||
| "check_qkv_fused_layers_exist", | ||
| "check_qkv_fusion_matches_attn_procs_length", | ||
| "check_qkv_fusion_processors_exist", | ||
| "check_same_shape", | ||
| ] |
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.
Moved to tests/pipelines/test_pipeline_utils.py