You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we already have all GGMLQuantizationType defined in quant-descriptions.ts
It may (or may not?) be interesting to have reference implementation to convert quantized types from/to F32.
This idea is actually brought to me from ggerganov/llama.cpp#6715 , which I was quite hesitate since there is no access to quantized type from gguf-py. Things changed a bit recently, since basic support for q8_0 has just been added to the convert.py script: ggerganov/llama.cpp#7234
The implementation will be easy for qX_0 types, a bit harder for qX_K and very hard for IQ series (with imatrix), so if we're considering doing this, that will be quite a long process. For this reason, I open this discussion to gather some ideas and feedback before actually working on this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, we already have all
GGMLQuantizationType
defined in quant-descriptions.tsIt may (or may not?) be interesting to have reference implementation to convert quantized types from/to F32.
This idea is actually brought to me from ggerganov/llama.cpp#6715 , which I was quite hesitate since there is no access to quantized type from
gguf-py
. Things changed a bit recently, since basic support for q8_0 has just been added to the convert.py script: ggerganov/llama.cpp#7234The implementation will be easy for
qX_0
types, a bit harder forqX_K
and very hard forIQ
series (with imatrix), so if we're considering doing this, that will be quite a long process. For this reason, I open this discussion to gather some ideas and feedback before actually working on this.Beta Was this translation helpful? Give feedback.
All reactions