-
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
Per-channel zero points but per-tensor scales #929
Comments
@Giuseppe5 do you know more about this? |
Yes, apologies for the late reply. Later tomorrow I will publish an example of how to achieve this, but in general it should be possible since zero point and scale have independent shapes that can be individually specified when instantiating a new quantizer. |
@Giuseppe5 if you have the time, I would still really love to see how we can achieve this with Brevitas 😁 |
Apologies for the delay, but it is a bit more complicated than I originally thought. It is still possible but it requires to play a bit more with dependency injection. |
No problem! Do you have a reference for me on where to start from/where to look? |
You need to create a quantizer where:
|
How would I go about implementing the above feature in Brevitas? Where should I get started and is this even possible in the way Brevitas is currently set up?
The text was updated successfully, but these errors were encountered: