Skip to content
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

Add support for minifloat ptq with fx backend on residual models #897

Open
fabianandresgrob opened this issue Mar 6, 2024 · 0 comments
Open

Comments

@fabianandresgrob
Copy link
Collaborator

When we quantize a model using a minifloat format and the fx backend, the residual handler tries to access QuantAct modules' int_scaling_impl, as seen here.

This throws an error as minifloat configurations will have a FloatQuant quantizer and therefore no int_scaling_impl but a float_scaling_impl.
This only occurs with the fx backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant