-
Notifications
You must be signed in to change notification settings - Fork 197
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
Feat: remove quant metadata from quantlayer #883
Merged
Merged
Conversation
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
Giuseppe5
commented
Feb 28, 2024
Giuseppe5
force-pushed
the
move_caching
branch
from
February 28, 2024 10:40
16ac867
to
8622e1f
Compare
Giuseppe5
commented
Feb 28, 2024
Giuseppe5
commented
Feb 28, 2024
Giuseppe5
commented
Feb 28, 2024
Giuseppe5
commented
Feb 28, 2024
Giuseppe5
force-pushed
the
move_caching
branch
from
February 28, 2024 12:51
a8900a0
to
f5cc575
Compare
4 tasks
Giuseppe5
force-pushed
the
move_caching
branch
2 times, most recently
from
March 5, 2024 08:37
57f66b1
to
a36d65f
Compare
Giuseppe5
commented
Mar 5, 2024
Giuseppe5
commented
Mar 5, 2024
Giuseppe5
commented
Mar 5, 2024
Giuseppe5
commented
Mar 5, 2024
Giuseppe5
force-pushed
the
move_caching
branch
2 times, most recently
from
March 6, 2024 22:28
6077380
to
8849800
Compare
Giuseppe5
commented
Mar 7, 2024
Giuseppe5
force-pushed
the
move_caching
branch
2 times, most recently
from
March 14, 2024 00:37
bbf4cc4
to
95df101
Compare
costigt-dev
approved these changes
Mar 26, 2024
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.
looks good, the changes like quant_weight_scale to quant_weight.scale are nice
nickfraser
approved these changes
Mar 27, 2024
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.
LGTM!
Giuseppe5
commented
Mar 27, 2024
Giuseppe5
added a commit
to Giuseppe5/brevitas
that referenced
this pull request
Apr 12, 2024
Breaking change: The interface to access quant metadata has changed and now everything is directly delegated to the underlying proxies.
Giuseppe5
added a commit
to Giuseppe5/brevitas
that referenced
this pull request
Apr 12, 2024
Breaking change: The interface to access quant metadata has changed and now everything is directly delegated to the underlying proxies.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Quant layer should not expose any attribute of their underlying proxys (e.g, quant_output_scale in QuantLayer).
Similarly, caching should be delegated to Proxy.
Missing tasks:
is_signed
vssigned()
)As task for another PR, we should programmatically generate all the methods that were removed in this PR, such as layer.weight_quant_scale(). The Proxy should expose which methods the layer can pick up, and then generate that using proxy suffix + name of the method.