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

[Quantization] fix quantization pass bug #355

Merged
merged 2 commits into from Aug 29, 2023

Conversation

Aalanli
Copy link
Collaborator

@Aalanli Aalanli commented Aug 24, 2023

For llama 7b, decoding with no prefill

fp16 - 128 tokens
org_t: 3.048099994659424s
avg_t: 0.0044784750789403915s

int8 - 128 tokens
org_t: 2.2229115962982178s
avg_t: 0.0038476772606372833s

python/hidet/graph/transforms/__init__.py Outdated Show resolved Hide resolved
@Aalanli Aalanli merged commit 021b067 into hidet-org:main Aug 29, 2023
2 checks passed
@Aalanli Aalanli deleted the quant-improvement branch August 29, 2023 00:03
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.

None yet

2 participants