-
Notifications
You must be signed in to change notification settings - Fork 180
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
Command CoreMLModelCompile failed with a nonzero exit code #18
Comments
You'll need to provide more info, @ITBackkom. Usually there is an additional error message that explains why CoreMLModelCompile failed (you can see this in the build log pane in Xcode). What does this error message say? Which model does it fail on? What is the file size of that model file when you look at it with Finder? |
What is the file size of that model file when you look at it with Finder? This repo uses git-lfs to store the large model files. Most likely, your model file is only a few bytes in size and is a placeholder for the actual thing. |
I’m pretty sure this is correct. Did I miss any getting started instructions anywhere? I downloaded the zip instead of cloning, if that makes a difference at all. |
Yes that's definitely the reason then. Thanks @hollance for helping. You need to install git-lfs following https://github.com/huggingface/swift-coreml-transformers#notes |
Does that mean that downloading the zip is useless? (might warrant a readme update) |
Apple has sample code and model that runs without requiring lfs. |
Command CoreMLModelCompile failed with a nonzero exit code
The text was updated successfully, but these errors were encountered: