-
Notifications
You must be signed in to change notification settings - Fork 929
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
Issue crashing when converting model, and more #5
Comments
I tried running the command prompt anyway and getting error: Should there be 2 files under that mlmmodel that I specified during the "conversion" (which also failed and giving error message"? Ok my suspicion is the previous error is causing this error what should I do? |
My HDD is 6 GB left and keep "running out of memory" could this be an issue causing the crash? And I am using Stable Diffusion 1.5 from runwayml, not sure if that could be extra info to find this semaphore leak bug. Also: I pip install this myself, maybe I need to downgrade? |
So that none of my effort lost, since I cannot compile manually, I did use this method of using "snapshots" from pcuenq - Pedro Cuenca, but also failing to generate anything..:
|
pcuenq - Pedro Cuenca updated the instruction, and so finally the path etc seems to be resolved, I manage to run python version but then the speed is too slow total time almost 4-5 minutes per image. I have yet to try Swift version. So this is the log text of using the precompiled version from Pedro.
|
@enzyme69 where are updated instructions? |
@ocordeiro Ensure you do download the correct model and specify in path. Python version works for me, but still too slow when loading. The generation of image, seems fast at 1 minute, but if you want to make multiple image, you need to run it in one session, just like when using Jupyter Notebook. Swift version failing still....
|
I had the same error with
although when I did |
It seems like my unability to build the model was because of 8 GB iMac memory issue. Running it with terminal only could solve the issue. But it might still crash a few times during compile. I got a compiled model from Yasuhito, this one is a great one to try as app: |
For other users trying to convert into coreML using iMac 8 GB low memory issue will happen, but just keep on running the compile many2 times, it will work eventually. Close other apps. The output "Resources" folder is the one you need if you want to test it in app. |
Running on iMac M1 8 GB, I found this error:
The text was updated successfully, but these errors were encountered: