-
Notifications
You must be signed in to change notification settings - Fork 966
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
using --quantize-nbits, stuck after generated mlpackage files #247
Comments
Hello! |
Side note: |
thank you! im using m1 8gb, i will try it right now. |
I tried not use --chunk-unet and --check-ouput-correctness, it shows up a new error. INFO:main:Quantizing weights to 6-bit precision and it did not convert my personal model which I put on the huggingface. I am really confused on it. |
Great! It was indeed a memory pressure issue with your 8GB RAM Mac it seems |
Your new issue was fixed #246 a few hours ago so if you pull the latest main branch, this issue should go away. Please let me know how it goes. |
it works, thank you, I just have one more stupid question. I put my personal model on the huggingface and try to convert it. But every time it convert a default stable diffusion v1.5. Do you know why cause it? |
Unsure about why this might happen but you can point to a local folder for |
awesome! Really appreciate! |
Good morning, I am trying to quantize the wights to 6 bits, after I have mlpackage files, the process will stuck, here is the error:
zsh: bus error python -m python_coreml_stable_diffusion.torch2coreml --convert-unet -o
(coreml_stable_diffusion) caiyuelai@CAIYUEdeMacBook-Pro ml-stable-diffusion % /Users/caiyuelai/anaconda3/envs/coreml_stable_diffusion/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
and command I used: python -m python_coreml_stable_diffusion.torch2coreml --convert-unet --convert-text-encoder --convert-vae-decoder --convert-safety-checker --model-version CAIYE123/demov15 -o sdv15bits --bundle-resources-for-swift-cli --quantize-nbits 6 --chunk-unet --check-output-correctness
thank you
The text was updated successfully, but these errors were encountered: