File tree Expand file tree Collapse file tree 7 files changed +53
-8
lines changed
fusion_g3/third-party/nnlib Expand file tree Collapse file tree 7 files changed +53
-8
lines changed Original file line number Diff line number Diff line change 55
55
[submodule "third-party/ios-cmake "]
56
56
path = third-party/ios-cmake
57
57
url = https://github.com/leetal/ios-cmake
58
- [submodule "backends/cadence/hifi/third-party/nnlib/nnlib-hifi4 "]
59
- path = backends/cadence/hifi/third-party/nnlib/nnlib-hifi4
60
- url = https://github.com/foss-xtensa/nnlib-hifi4.git
61
58
[submodule "third-party/prelude "]
62
59
path = third-party/prelude
63
60
url = https://github.com/facebook/buck2-prelude.git
64
61
[submodule "third-party/pybind11 "]
65
62
path = third-party/pybind11
66
63
url = https://github.com/pybind/pybind11.git
67
- [submodule "backends/cadence/fusion_g3/third-party/nnlib/nnlib-FusionG3 "]
68
- path = backends/cadence/fusion_g3/third-party/nnlib/nnlib-FusionG3
69
- url = https://github.com/foss-xtensa/nnlib-FusionG3.git
70
64
[submodule "third-party/ao "]
71
65
path = third-party/ao
72
66
url = https://github.com/pytorch/ao.git
Original file line number Diff line number Diff line change
1
+ hifi /third-party /nnlib /nnlib-hifi4
2
+ fusion_g3 /third-party /nnlib /nnlib-FusionG3
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ unset XTENSA_CORE
12
12
export XTENSA_CORE=FCV_FG3GP
13
13
git submodule sync
14
14
git submodule update --init
15
+ ./backends/cadence/install_requirements.sh
15
16
./install_executorch.sh
16
17
17
18
rm -rf cmake-out
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ unset XTENSA_CORE
12
12
export XTENSA_CORE=nxp_rt600_RI23_11_newlib
13
13
git submodule sync
14
14
git submodule update --init
15
+ ./backends/cadence/install_requirements.sh
15
16
./install_executorch.sh
16
17
17
18
rm -rf cmake-out
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ SCRIPT_DIR_PATH=" $(
4
+ cd -- " $( dirname " $0 " ) " > /dev/null 2>&1
5
+ pwd -P
6
+ ) "
7
+
8
+ red=` tput setaf 1`
9
+ green=` tput setaf 2`
10
+
11
+ EXECUTORCH_ROOT_PATH=$( realpath " $SCRIPT_DIR_PATH /../../" )
12
+ CADENCE_DIR_PATH=" $EXECUTORCH_ROOT_PATH /backends/cadence"
13
+ HIFI_DIR_PATH=" $CADENCE_DIR_PATH /hifi/third-party/nnlib/nnlib-hifi4"
14
+ FUSION_DIR_PATH=" $CADENCE_DIR_PATH /fusion_g3/third-party/nnlib/nnlib-FusionG3"
15
+
16
+ cd " $EXECUTORCH_ROOT_PATH "
17
+
18
+ # # HiFi
19
+
20
+ rm -rf " $HIFI_DIR_PATH "
21
+ mkdir -p " $HIFI_DIR_PATH "
22
+
23
+ echo " ${green} ExecuTorch: Cloning hifi nnlib"
24
+ git clone " https://github.com/foss-xtensa/nnlib-hifi4.git" $HIFI_DIR_PATH
25
+ cd $HIFI_DIR_PATH
26
+ STATUS=$?
27
+ if [ $STATUS -ne 0 ]; then
28
+ echo " ${red} ExecuTorch: Failed to clone hifi nnlib."
29
+ exit 1
30
+ fi
31
+
32
+ git checkout 102944a6f76a0de4d81adc431f3f132f517aa87f
33
+
34
+
35
+ # # Fusion G3
36
+
37
+ rm -rf " $FUSION_DIR_PATH "
38
+ mkdir -p " $FUSION_DIR_PATH "
39
+
40
+ echo " ${green} ExecuTorch: Cloning fusion g3"
41
+ git clone " https://github.com/foss-xtensa/nnlib-FusionG3.git" $FUSION_DIR_PATH
42
+ cd $FUSION_DIR_PATH
43
+ STATUS=$?
44
+ if [ $STATUS -ne 0 ]; then
45
+ echo " ${red} ExecuTorch: Failed to clone fusion g3."
46
+ exit 1
47
+ fi
48
+
49
+ git checkout 11230f47b587b074ba0881deb28beb85db566ac2
You can’t perform that action at this time.
0 commit comments