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

smoothquant fp8 support #25

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

Conversation

huangtingwei9988
Copy link

hi~ @AniZpZ

We have implemented smoothquant fp8 quantization. Compared with the int8 model, the fp8 model has significantly better model performance. At the same time, in comparison with the AutoFP8 method, smoothquant fp8 has a slightly lower perplexity in WikiText2. On some zero-shot tasks, smoothquant fp8 has better performance.

Model Performance

We evaluated the model performance on WikiText2 and five zero-shot tasks. Currently only for llama2-7b.
image

image

TODO list

  • support for more models
  • more model evaluations
  • Automatically search for smooth strength param

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.

1 participant