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
exir "missing out vars" #3443
Comments
Are you trying to lower the model to CoreML by passing |
@cccclai ah ok sweet thank you for letting me know!! I would have still been trying haha Is the XNNPACK a .mlpackage? I have to build the xnnpack stuff, I just did mps and coreml. Do you have more info on what models you have ready for CoreML? Is there any .mlmodel/.mlpackage model configs (or any end products of converting) for in executorch? |
xnnpack (https://github.com/google/XNNPACK) is a software library with a list highly optimized operators in CPU. It can work on iOS too. Regarding CoreML questions, I'd defer to @cymbalrush and @YifanShenSZ to answer. |
Will also cc: @shoumikhin for iOS/MacOS related inquiries. |
Hey @antmikinka, would this simpler export work for you?
Concretely, this is a good start point that we have tested and made sure working. For all other arguments, could you please try to add them one by one until issue pops up? (so we can have more clarity on what went wrong) |
@YifanShenSZ I kept running into Disk Memory Issues on my Macbook Pro Even upto 30GB free space. I started to work on the arguments.
|
Just tried I may try again later today after trying to free up some more storage. let me know if that log file has helped. |
My Script I ran to cause this error
python -m examples.models.llama2.export_llama --checkpoint /Users/anthonymikinka/executorch/llama-2-7b-chat/consolidated.00.pth --params /Users/anthonymikinka/executorch/llama-2-7b-chat/params.json -kv --use_sdpa_with_kv_cache --coreml --group_size 128 -qmode 8da4w -d fp32 --verbose --max_seq_length 512 -o "/Volumes/NVME 3/ExecuTorch Models"
Above this is a lot of this EdgeOpOverload, but otherwise MIL backend and default pipelines built.
Lots of ops were removed earlier on before the MIL building.
Below is some terminal code and the traceback error.
The text was updated successfully, but these errors were encountered: