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

Support FP8 KV Cache #652

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open

Support FP8 KV Cache #652

wants to merge 24 commits into from

Conversation

ajtejankar
Copy link
Contributor

@ajtejankar ajtejankar commented Oct 17, 2024

Tested GLUE tasks with and without adapter and the accuracy is as expected. Previous implementation using vllm kernels didn't work in this setting. Uses static scales obtained with ultrachat 2k. The cache is stored in E4M3 format. Test weights at ajinkya-tejankar/Mistral-7B-Instruct-v0.2-FP8-UltraChat-2000-KV.

@ajtejankar ajtejankar marked this pull request as draft October 17, 2024 08:00
@ajtejankar ajtejankar marked this pull request as ready for review October 18, 2024 21:54
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