-
Notifications
You must be signed in to change notification settings - Fork 248
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
Support transposed input for data-aware Weights Compression #3296
Open
rk119
wants to merge
24
commits into
openvinotoolkit:develop
Choose a base branch
from
rk119:support_transposed_input
base: develop
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
24 commits
Select commit
Hold shift + click to select a range
ada9c0a
Lora correction input transpose support
rk119 90381d7
Merge branch 'openvinotoolkit:develop' into support_transposed_input
rk119 a18ba70
OV backend act transpose support
rk119 64f769e
Merge branch 'develop' into support_transposed_input
rk119 d69ff3f
pre-commit fix
rk119 c78b033
Merge branch 'develop' into support_transposed_input
rk119 d493314
Brute force solution
rk119 202815b
Minor fix
rk119 1dc14ba
pre-commit fix
rk119 50eddb4
attempt fix
rk119 9dccf21
Add doc string
rk119 f5d2a1f
Merge branch 'develop' into support_transposed_input
rk119 3fde78a
Merge branch 'develop' into support_transposed_input
rk119 aa062dc
Implement get_activation_channel_axis
rk119 051a183
fix test
rk119 7f7f468
Fix error
rk119 b82b0c4
Merge branch 'develop' into support_transposed_input
rk119 e19804c
Fix OV NNCF Graph Builder add edges
rk119 8016399
Update
rk119 5489669
Merge branch 'develop' into support_transposed_input
rk119 298b587
Update
rk119 9a7cb02
Update
rk119 93c9cef
Merge branch 'develop' into support_transposed_input
rk119 341c4a8
Update
rk119 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 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 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 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 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 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 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 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 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 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 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 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
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.
Since there's some issue with
transpose_a=False, transpose_b=False
, could you please make the test more general to cover all 4 combinations, as follows?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.
For
kwargs
such asdict(lora_correction=True)
anddict(awq=True)
, it seems that the following cases:do not raise an error and seem to pass for those two algorithms. Would you suggest I still implement a check to raise an unsupported error for these algorithms when
transpose_b=False
or?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.
The issue with
transpose_b=False
wasn't mentioned in GFI, so I can't insist on implementing it within this PR.However, it would be wonderful if you could resolve both issues! :) In that case,
raise_error
won't be needed, and test wouldn't expect an exception for all combinations.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.
No need in template test: #3230 (comment)
and
dict(awq=True)
is not needed as well.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.
So, should I try implementing
transpose_b=False
in this PR or that would be out of scope? I wouldn't mind either :)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.
Both options are possible. The choice is yours.
But regardless of your choice, please extend the test to verify all combinations as originally suggested.
If you decide not to implement
transpose_b=False
, it's fine, the test will raise an error to ensure the known issue isn't forgotten.If you fix the issue for
transpose_b=False
, then all combinations should pass without expecting an error.