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

Can we use Q4_1 for some of the matrices? #27

Closed
BlinkDL opened this issue Apr 17, 2023 · 2 comments
Closed

Can we use Q4_1 for some of the matrices? #27

BlinkDL opened this issue Apr 17, 2023 · 2 comments

Comments

@BlinkDL
Copy link

BlinkDL commented Apr 17, 2023

Thanks for the great work. Maybe we can use Q4_1 for some of the matrices? (and Q4_1_O for others)

@saharNooby
Copy link
Collaborator

Theoretically, it is possible to have different formats for different matrices. As I saw, not all matrices in RWKV have same pattern of outliers. Also, there is INT8 matmul coming into ggml, which will make Q4_0/Q4_1 formats even better for RWKV.

Can't say when I would have time to test it tho.

@saharNooby
Copy link
Collaborator

I think with the new Q5_0 and Q5_1 formats, which are almost as good as unquantized, and very fast, there is not need to introduce additional complexity of handling different quantization formats for different matrices.

@saharNooby saharNooby closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2023
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

No branches or pull requests

2 participants