-
Notifications
You must be signed in to change notification settings - Fork 659
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
Quantized Models Chunking into unequal sizes #2320
Comments
@nighting0le01 would you mind providing a standalone script for us to reproduce? |
hi @jakesabathia2 !! here is the code to reproduce, Model is simple MobileNet that can be downloaded from coremltools tutorial:https://apple.github.io/coremltools/docs-guides/source/opt-palettization-perf.html#:~:text=0.47-,MobileNetv2%2D1.0,-4%20bit
|
Hi @jakesabathia2 , below is with 8.0b2 version of CoreMLtools,
|
@jakesabathia2 @DawerG @aseemw @atiorh @TobyRoseman any help appreciated thank you 🙏 |
🐞Describing the bug
with reference to this issue apple/ml-stable-diffusion#353, i used the bisect_model() function to split a quantized model into 2 chunks, i tried with 7.1 and 7.0 with reference to this file:https://github.com/apple/ml-stable-diffusion/blob/cf16df8207dfcba685a9391bad04f7402ea87b73/python_coreml_stable_diffusion/chunk_mlprogram.py#L123 , but was facing same issue.
System environment (please complete the following information):
cc: @aseemw
The text was updated successfully, but these errors were encountered: