-
Notifications
You must be signed in to change notification settings - Fork 627
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
experimental.linear_quantize_activations with Classifier_config in ct.conver "fails" w/message 'dict' object has no attribute 'flatten' #2253
Comments
Your code runs fine for me using coremltools version |
I'm getting bunch of yes, it is 8.0b1 , experimental linear_quantize_activations is only available on 8.0b1....
|
I'm on macOS 14 and it works for me.
|
🐞Describing the bug
when coreML model is converted with classifier_config=
activation quantization with linear_quantize_activations
prints error:
Running compression pass linear_quantize_activations: calibrating sample 3/20 fails.
'dict' object has no attribute 'flatten'
It does not affect the actual results, other than slowing down the quantization process
Stack Trace
To Reproduce
The text was updated successfully, but these errors were encountered: