Closed ccharp closed 1 month ago
Hi Corbin,
Some of the caches aren't clear still, we need to figure out which and let Xcode re-download the packages, please try to:
rm -rf ~/Library/org.swift.swiftpm
And nuke the Derived Data entirely.
You may also like to try the latest release:
git clone https://github.com/pytorch/executorch.git --branch release/0.3 --recursive && cd executorch
@shoumikhin thanks for the reply!
I had success (with a caveat) with v0.3
. For some reason, my local conda environment did not install the version of numpy specified in pyprojct.toml. The following completed successfully:
./backends/apple/coreml/scripts/install_requirements.sh
./backends/apple/mps/install_requirements.sh
However, I got a runtime error related to incompatible versions of Pandas and Numpy when running
python3 -m examples.portable.scripts.export --model_name="mv3"
I had to manually install the correct version of NumPy to complete the remaining build steps:
(executorch-0.3) csc-wt@Stargazer ~/git/executorch ‹release/0.3›
$ pip install --force-reinstall -v numpy==1.25.2
Note that pyproject.toml
specifies numpy>=1.25.2
.
I did not have success with v0.2.1
. Same errors, though I wonder, since no one else is reproducing, if I had some stale submodule state or something. I did a clean clone for 0.3
.
@ccharp that should be fixed on the main branch by https://github.com/pytorch/executorch/pull/4430
🐛 Describe the bug
I'm following the "Building an ExecuTorch iOS Demo App" tutorial here: https://pytorch.org/executorch/stable/demo-apps-ios.html
I try to build and test the app with the following CLI:
I get the following errors:
I have tried restarting xcode and my mac, and clearing all local caches I could think of:
Versions
I'm also using ExecuTorch branch
v0.2.1