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

[tritonbench] Benchmark int4 gemm implementations #2261

Closed
wants to merge 1 commit into from

Conversation

bertmaher
Copy link
Contributor

Summary: Focusing on llama2-70b inference, this compares tinygemm (_weight_int4pack_mm) to a Triton implementation.

Note that these are not numerically equivalent now, as the Triton implementation does not apply scale and zero point. TODO!

Test Plan:

pytorch run_benchmark.py triton --op int4_gemm

Summary: Focusing on llama2-70b inference, this compares tinygemm
(_weight_int4pack_mm) to a Triton implementation.

Note that these are not numerically equivalent now, as the Triton
implementation does not apply scale and zero point.  TODO!

Test Plan:
```
pytorch run_benchmark.py triton --op int4_gemm
```
@facebook-github-bot
Copy link
Contributor

@bertmaher has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@bertmaher merged this pull request in 43621bc.

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

Successfully merging this pull request may close these issues.

2 participants