-
Notifications
You must be signed in to change notification settings - Fork 281
Fix slicing and get_plain() in GemLite #2288
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2288
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit b2892ce with merge base 35ffb26 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
could you incorporate test into ao/test/dtypes/test_affine_quantized.py Line 363 in 8366465
|
Updated the test and successfully tested on vLLM. |
In vLLM, I get |
Contributions
Wq * s + z
instead of(W_q - z ) * s
), so we need to updateget_plain()
to make it compatible with both formats.get_plain()
was causing vLLM issues.Notes
gemlite.set_kernel_caching(True)
gives wrong output with torchao but not when using gemlite as a module, not sure why, but that would impact perf for batch-size=1 by up to 10 tokens/sec.Tests
End-2-End test
https://gist.github.com/mobicham/54fed6f18bee590f615f18391b45b71e
Slicing Test