Open CannoChen opened 5 months ago
@CannoChen
Can you try on a fresh conda environment and run git submodule sync
and git submodule update --init
If that doesn't work, can you try uninstalling buck2?
We recently upgraded our buck2 requirement (https://github.com/pytorch/executorch/pull/3698)
Once you uninstall buck2, the build script should automatically downloads a correct buck2 version.
@GregoryComer what happens if the installed buck2 is older? Does it automatically update?
@mergennachin In fact, I followed the tutorial exactly. And I don't have buck2 installed on my computer.
I compiled successfully yesterday, but when I deleted my virtual environment and recreated it following the tutorial, it did not compile successfully!
The only clue I can offer is that I had changed the Cmake version. I followed the tutorial(https://pytorch.org/executorch/stable/demo-apps-android.html) and then upgraded my cmake version to the latest(3.29.3).
I know, I'm a rookie. But executorch is just too hard to use. I followed the tutorial almost every step of the way, but it didn't work.
I'm so tired (T.T).... i spent two weeks to learn this framework. But i can't get any reward from it.
I tried exchage cmake to version 3.22.6. But it didn't work.
Next, i will try to install Buck2 on my computer.
I tried to install Buck2. But nothing happened. It's not a nice solution for this problem.
Try this version of Buck2: 2024-02-15
Hey I am experiencing the same build issue running WSL2 trying to build with the XNN backend. Did installing that version of Buck2 fix the issue? @CannoChen
Hey I am experiencing the same build issue running WSL2 trying to build with the XNN backend. Did installing that version of Buck2 fix the issue? @CannoChen
No, the problem is not solved. I gave up using pytorch to deploy my model on edge devices. Because it is hard to use. For the more, it is a baby work for edge devices! Perhaps it will become easier to use in future iterations. But given the previous PytorchMobile failure, I chose to use TensorFlow Lite instead.
Facing the same problem when built it on WSL2.
When i run './install_requirements.sh': An Error occured! The information is :
my env:
II see that problem #3589 is similar to mine, but we are still different from each other. How should I solve this problem?