-
Notifications
You must be signed in to change notification settings - Fork 651
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
Failed to build the model execution plan using a model architecture file #2325
Comments
@Skyline-23 that is a lot of code. Can you give us a more minimal example? |
@TobyRoseman All of code is required to run stateful model based on GPT-2. Sorry 😢 |
Official document example says,
I got same error on |
@lithium0003 It's not working.... |
|
I'm having the save error with Apple's checkpoint of DepthAnything. It worked a month ago. |
@lithium0003 It works after adding
I think it's error of mps but I don't know how to resolve this error |
huggingface/swift-chat#24 I found similar error in swift chat |
I am also encountering this– notably, if you try to run the mlpackage (from Swift) using Removing the |
🐞Describing the bug
Hello. I'm trying to convert PyTorch model to Stateful CoreML Model
I wrote this code referred to WWDC 2024 session Mistral-7B model
The CoreML file is appear after run, but "Failed to build the model execution plan using a model architecture file" error appears when CoreML Class init
Stack Trace
To Reproduce
System environment (please complete the following information):
The text was updated successfully, but these errors were encountered: