Skip to content

SDPA Int8 Quantisation using MTQ #170

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
satya-penamakuri opened this issue Apr 4, 2025 · 0 comments
Open

SDPA Int8 Quantisation using MTQ #170

satya-penamakuri opened this issue Apr 4, 2025 · 0 comments
Assignees

Comments

@satya-penamakuri
Copy link

I'm attempting to quantize SDPA similarly to TRT's approach—by adding Q-DQ on the Q, K, V, and softmax output. I've observed that MOQ implements this, whereas MTQ does not. Additionally, I would like to perform QAT after adding quantizers via MTQ. Does MTQ offer kernels to mitigate training slowdowns? This is crucial since SDPA typically features efficient implementations, and the quantization process requires inserting a Q-DQ at an intermediate output.

Image
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

2 participants