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

quantize to F32/F16/Q8_0 can result in a Q6_K output tensor #5818

Closed
cebtenzzre opened this issue Mar 1, 2024 · 1 comment
Closed

quantize to F32/F16/Q8_0 can result in a Q6_K output tensor #5818

cebtenzzre opened this issue Mar 1, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@cebtenzzre
Copy link
Collaborator

Running quantize with a target dtype of F32, F16, or Q8_0 can result in a Q6_K output tensor without --pure (ref #5631 (comment)). This is surprising, as I would expect converting to F32 and then quantizing to F16 to produce similar results to converting directly to F16.

I suggest that the k-quant mixture logic should never attempt to decrease the quality of the output tensor, only increase it.

@cebtenzzre cebtenzzre added the bug Something isn't working label Mar 1, 2024
@ggerganov ggerganov added the good first issue Good for newcomers label Mar 2, 2024
@cebtenzzre
Copy link
Collaborator Author

Fixed by ee35600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants