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 INT4 quant/de-quant kernels #620

Open
wants to merge 1 commit into
base: main_perf
Choose a base branch
from
Open

Conversation

rahulbatra85
Copy link

No description provided.

tl.store(x_out_dequant_ptr + offset, dequant, mask=mask)


if __name__ == '__main__':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a few test cases instead of this? Check the flash-attention.py to see how we use pytest.

tl.store(x_out_quant_ptr + offset, x_quant, mask=mask)


if __name__ == '__main__':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this (pytest)

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

Successfully merging this pull request may close these issues.

2 participants