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

Does tract support quantized onnx models? #1615

Open
ARKEYTECT opened this issue Jan 8, 2025 · 1 comment
Open

Does tract support quantized onnx models? #1615

ARKEYTECT opened this issue Jan 8, 2025 · 1 comment

Comments

@ARKEYTECT
Copy link

Just curious if anyone tried it with tract.

@kali
Copy link
Collaborator

kali commented Jan 20, 2025

"Quantized models" is a very overloaded terminology :) tract has some support for the QMatMul and QConv operators in ONNX, but ONNX lagged behind the SOTA for a lot of time with regards to model quantization and compression (which can maybe be explained by a focus on the training side affairs). For instance, last time I checked, there was no Q8-like type (with scale and offset) support in regular arithmetic operations in tract (Add, Mul, ...) making it a difficult format to manage quantized models. And with the LLM boom, it feels like the community is moving to more bespoke formats like GGML...

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