Comments (29)
Something seems off in your setup. Have you tried starting from scratch again?
I tried following tutorial in a fresh dir and it seems to clone flatbuffers correctly for me.
Can you paste log of what happened (just terminal capture) when you follow the steps of clone + submodule update?Is the screen shot helpful ?
Did you try
git submodule sync
git submodule update --init
What is the output you saw for that?
from executorch.
It looks like the submodule call fails as it tries to clone ethos-u first and other modules don't clone after that.
I can see no issues with the certificate and can fetch and browse to that repository. @luxunxiansheng can you browse (web browser) to https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/ ? perhaps there is a certificate issue with the LetsEncrypt root cert on your machine?
What version of git are you using? (git --version)
from executorch.
Thanks @robell . Sounds like thats the issue. @digantdesai @robell ideally we bring in these dep as part of "install requirements" of specific delegates.
from executorch.
Did you do git submodule sync/update
? If you inspect third-party/flatbuffers folders and it is empty then likely submodule has not been fetched.
from executorch.
Did you do
git submodule sync/update
? If you inspect third-party/flatbuffers folders and it is empty then likely submodule has not been fetched.
I did run that commads but as you said the folder is empty. Is there any workarond before the bug fixed?
from executorch.
When I have run into this in past, I have done manual fetch or update of the submodule
try git submodule init
and then sync. more details https://git-scm.com/book/en/v2/Git-Tools-Submodules
Also add your repro steps here
from executorch.
Usually these following commands can get me the submodules
git submodule update --init
git submodule update
git submodule sync
Are all the folders in executorch/third-party
empty?
from executorch.
git submodule sync
I follow the steps given in tutorai. sync/ update --init .
Now a fatal occured :
fatal: unable to access 'https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: clone of 'https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git' into submodule path 'backends/arm/third-party/ethos-u-core-driver' failed
Is it for this ?
from executorch.
Usually these following commands can get me the submodules
git submodule update --init git submodule update git submodule sync
Are all the folders in
executorch/third-party
empty?
all the folders in 'executorch/third-party' are empty.
from executorch.
Hmm that's for the arm backend. Seperately, are there contents inside executorch/third-party/flatbuffers
now?
from executorch.
Hmm that's for the arm backend. Seperately, are there contents inside
executorch/third-party/flatbuffers
now?
No contents as before.
from executorch.
try git submodule init and then sync. more details https://git-scm.com/book/en/v2/Git-Tools-Submodules
@luxunxiansheng did you try following these steps?
from executorch.
Yes, I tried different combinations of commands. No helps.
from executorch.
Something seems off in your setup. Have you tried starting from scratch again?
I tried following tutorial in a fresh dir and it seems to clone flatbuffers correctly for me.
Can you paste log of what happened (just terminal capture) when you follow the steps of clone + submodule update?
from executorch.
from executorch.
Something seems off in your setup. Have you tried starting from scratch again?
I tried following tutorial in a fresh dir and it seems to clone flatbuffers correctly for me.
Can you paste log of what happened (just terminal capture) when you follow the steps of clone + submodule update?
Is the screen shot helpful ?
from executorch.
Something seems off in your setup. Have you tried starting from scratch again?
I tried following tutorial in a fresh dir and it seems to clone flatbuffers correctly for me.
Can you paste log of what happened (just terminal capture) when you follow the steps of clone + submodule update?Is the screen shot helpful ?
Did you try
git submodule sync git submodule update --init
What is the output you saw for that?
from executorch.
It looks like the submodule call fails as it tries to clone ethos-u first and other modules don't clone after that.
I can see no issues with the certificate and can fetch and browse to that repository. @luxunxiansheng can you browse (web browser) to https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/ ? perhaps there is a certificate issue with the LetsEncrypt root cert on your machine?
What version of git are you using? (git --version)
My server doesn't have desktop that I can't visit the link via browser. But I can visit it from other machine.
My git version is 2.39.2
from executorch.
@kimishpatel that would be a longer term fix, in the short term it appears to be a certificate issue on the end system @luxunxiansheng has. An easy workaround would be to remove the sub-module locally if as it seems no one else has this issue.
- can you access (with a web browser) https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/ ?
- The certificates look correct and other people are able to clone this repo, what happens if you:
git clone --progress --verbose https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/
- what about output for
wget -vd https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/
from executorch.
from executorch.
@kimishpatel that would be a longer term fix, in the short term it appears to be a certificate issue on the end system @luxunxiansheng has. An easy workaround would be to remove the sub-module locally if as it seems no one else has this issue.
- can you access (with a web browser) https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/ ?
- The certificates look correct and other people are able to clone this repo, what happens if you:
git clone --progress --verbose https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/
- what about output for
wget -vd https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/
My server doesn't have desktop that I can't visit the link via browser. But I can visit it from other machine. BTW.
from executorch.
can you try the wget command? this might help show whether the certificates file has a problem on the server.
from executorch.
can you try the wget command? this might help show whether the certificates file has a problem on the server.
from executorch.
Ok, so we can see the ssl cert is valid and this machine can read via https in wget; it seems a problem then with git's use of ssl certificates in /etc/ssl/certs/.
A workaround would be to try git config --global http.sslVerify "false"
(but be aware this disables all verification of certificates!)
An alternative workaround would be to remove the ethos-u submodule as this isn't relevant for you: https://www.educative.io/answers/how-to-delete-a-git-submodule (though you of course cannot push this change back). if you just want to get it working, i'd suggest trying this second option.
from executorch.
Ok, so we can see the ssl cert is valid and this machine can read via https in wget; it seems a problem then with git's use of ssl certificates in /etc/ssl/certs/.
A workaround would be to try
git config --global http.sslVerify "false"
(but be aware this disables all verification of certificates!)An alternative workaround would be to remove the ethos-u submodule as this isn't relevant for you: https://www.educative.io/answers/how-to-delete-a-git-submodule (though you of course cannot push this change back). if you just want to get it working, i'd suggest trying this second option.
Sorry to bother you agagin and again . But it did not work when I tried the second option. I think I have remove the submodule.
When I run that install scripit, still the same errors that flatbuffers is empyt.
from executorch.
This is a clean checkout flow:
git clone --branch v0.1.0 https://github.com/pytorch/executorch.git
cd executorch
git submodule deinit backends/arm/third-party/ethos-u-core-driver/
git submodule deinit backends/arm/third-party/serialization_lib/
git rm backends/arm/third-party/ethos-u-core-driver/
git rm backends/arm/third-party/serialization_lib/
rm -rf .git/modules/backends/arm/third-party/ethos-u-core-driver/
rm -rf .git/modules/backends/arm/third-party/serialization_lib/
git submodule update --init
git submodule update
git submodule sync
If this sequence does not populate third-party/flatbuffers/ then there is some other issue.
I suspect with a clean checkout even git config --global http.sslVerify "false"
would work.
from executorch.
Thanks guys for your patience. Now it works even got some errors during installing.
Anyway, Thank you so much!
from executorch.
great, you can also remove these from install to fix that error:
diff --git a/setup.py b/setup.py
index ddcdc158..4d3334ad 100644
--- a/setup.py
+++ b/setup.py
@@ -60,8 +60,6 @@ setup(
"executorch/sdk": "sdk",
"executorch/extension": "extension",
"executorch/bundled_program": "bundled_program",
- "tosa": "backends/arm/third-party/serialization_lib/python/tosa",
- "serializer": "backends/arm/third-party/serialization_lib/python/serializer",
},
cmdclass={
"install": CustomInstallCommand,
from executorch.
@robell is there a way to move backend/arm/ isntallation requirements to a separate install_requirements.sh, similar to https://github.com/pytorch/executorch/blob/main/backends/apple/coreml/scripts/install_requirements.sh
from executorch.
Related Issues (20)
- Duplicate registration of quantiation operators, e.g. quantized_decomposed::embedding_byte.out HOT 7
- [v0.2.1] Release Tracker HOT 6
- Memory planner errors? HOT 3
- missing packages & incorrect package versions HOT 6
- exir "missing out vars" HOT 5
- checkpoint str has no attribute 'get' HOT 5
- error while Building an ExecuTorch Android Demo App HOT 1
- Error when running inference for nanoGPT LLM example HOT 9
- memory issue during export_llama? HOT 4
- Add bf16 kernel support
- WebAssembly / Web runtime (both for wasm-simd and WebGPU) HOT 3
- Downstream users have dependences on cmake variables and internals, making cmake a compatibility surface
- Buck 2 Error on running ./install_requirements.sh HOT 12
- Executorch reports a bug for pages and pages: [method.cpp:939] Overriding output data pointer allocated by memory plan is not allowed. HOT 1
- `torch.max(input)` fails at XNNPACK runtime
- Why is `torch.min` not ATen canonical? HOT 2
- kv cache manipulation? HOT 8
- converting llama3 models with added tokens HOT 3
- "Error creating cell resolver" buck2 failure while building wheel HOT 2
- ERROR: Overriding output data pointer allocated by memory plan is not allowed. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from executorch.