lihongjie
commited on
Commit
·
26bfbe8
1
Parent(s):
39ad93d
replace mnn with onnxruntime
Browse files- .gitattributes +32 -0
- .gitignore +2 -1
- README.md +22 -1
- main_api_axcl_aarch64 +2 -2
- main_api_axcl_x86 +3 -0
- main_axcl_aarch64 +2 -2
- main_axcl_x86 +3 -0
- onnxruntime-linux-aarch64-1.23.0/GIT_COMMIT_ID +3 -0
- onnxruntime-linux-aarch64-1.23.0/LICENSE +3 -0
- onnxruntime-linux-aarch64-1.23.0/Privacy.md +3 -0
- onnxruntime-linux-aarch64-1.23.0/README.md +3 -0
- onnxruntime-linux-aarch64-1.23.0/ThirdPartyNotices.txt +3 -0
- onnxruntime-linux-aarch64-1.23.0/VERSION_NUMBER +3 -0
- onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake +26 -0
- onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfigVersion.cmake +65 -0
- onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets-release.cmake +19 -0
- onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake +106 -0
- onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so +1 -0
- onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1 +1 -0
- onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1.23.0 +3 -0
- onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime_providers_shared.so +3 -0
- onnxruntime-linux-aarch64-1.23.0/lib/pkgconfig/libonnxruntime.pc +13 -0
- onnxruntime-linux-x64-1.23.0/GIT_COMMIT_ID +3 -0
- onnxruntime-linux-x64-1.23.0/LICENSE +3 -0
- onnxruntime-linux-x64-1.23.0/Privacy.md +3 -0
- onnxruntime-linux-x64-1.23.0/README.md +3 -0
- onnxruntime-linux-x64-1.23.0/ThirdPartyNotices.txt +3 -0
- onnxruntime-linux-x64-1.23.0/VERSION_NUMBER +3 -0
- onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake +26 -0
- onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfigVersion.cmake +65 -0
- onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets-release.cmake +19 -0
- onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake +106 -0
- onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so +1 -0
- onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1 +1 -0
- onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1.23.0 +3 -0
- onnxruntime-linux-x64-1.23.0/lib/libonnxruntime_providers_shared.so +3 -0
- onnxruntime-linux-x64-1.23.0/lib/pkgconfig/libonnxruntime.pc +13 -0
- run_api_axcl_aarch64.sh +2 -0
- run_api_axcl_x86.sh +3 -0
- run_axcl_aarch64.sh +2 -0
- run_axcl_x86.sh +3 -0
- scripts/gradio_demo.py +1 -1
- token2wav-axmodels/hift_p1_50_first.onnx +3 -0
- token2wav-axmodels/hift_p1_58.onnx +3 -0
.gitattributes
CHANGED
|
@@ -113,3 +113,35 @@ token2wav-axmodels/hift_p1_50_first.mnn filter=lfs diff=lfs merge=lfs -text
|
|
| 113 |
main_axcl_aarch64 filter=lfs diff=lfs merge=lfs -text
|
| 114 |
main_api_ax650 filter=lfs diff=lfs merge=lfs -text
|
| 115 |
main_api_axcl_aarch64 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
main_axcl_aarch64 filter=lfs diff=lfs merge=lfs -text
|
| 114 |
main_api_ax650 filter=lfs diff=lfs merge=lfs -text
|
| 115 |
main_api_axcl_aarch64 filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
main_api_axcl_x86 filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
main_axcl_x86 filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
run_api_axcl_x86.sh filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
run_axcl_x86.sh filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
token2wav-axmodels/hift_p1_50_first.onnx filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
token2wav-axmodels/hift_p1_58.onnx filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime_providers_shared.so filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1.23.0 filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
onnxruntime-linux-aarch64-1.23.0/lib/pkgconfig filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
onnxruntime-linux-aarch64-1.23.0/lib/cmake filter=lfs diff=lfs merge=lfs -text
|
| 128 |
+
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime_providers_shared.so filter=lfs diff=lfs merge=lfs -text
|
| 129 |
+
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so filter=lfs diff=lfs merge=lfs -text
|
| 130 |
+
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1 filter=lfs diff=lfs merge=lfs -text
|
| 131 |
+
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1.23.0 filter=lfs diff=lfs merge=lfs -text
|
| 132 |
+
onnxruntime-linux-x64-1.23.0/lib/pkgconfig filter=lfs diff=lfs merge=lfs -text
|
| 133 |
+
onnxruntime-linux-x64-1.23.0/lib/cmake filter=lfs diff=lfs merge=lfs -text
|
| 134 |
+
onnxruntime-linux-x64-1.23.0/VERSION_NUMBER filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
onnxruntime-linux-x64-1.23.0/GIT_COMMIT_ID filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
onnxruntime-linux-x64-1.23.0/lib filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
onnxruntime-linux-x64-1.23.0/LICENSE filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
onnxruntime-linux-x64-1.23.0/Privacy.md filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
onnxruntime-linux-x64-1.23.0/README.md filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
onnxruntime-linux-x64-1.23.0/ThirdPartyNotices.txt filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
onnxruntime-linux-aarch64-1.23.0/GIT_COMMIT_ID filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
onnxruntime-linux-aarch64-1.23.0/lib filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
onnxruntime-linux-aarch64-1.23.0/LICENSE filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
onnxruntime-linux-aarch64-1.23.0/Privacy.md filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
onnxruntime-linux-aarch64-1.23.0/README.md filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
onnxruntime-linux-aarch64-1.23.0/ThirdPartyNotices.txt filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
onnxruntime-linux-aarch64-1.23.0/VERSION_NUMBER filter=lfs diff=lfs merge=lfs -text
|
.gitignore
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
output*.wav
|
| 2 |
__pycache__/
|
| 3 |
*.crt
|
| 4 |
-
*.key
|
|
|
|
|
|
| 1 |
output*.wav
|
| 2 |
__pycache__/
|
| 3 |
*.crt
|
| 4 |
+
*.key
|
| 5 |
+
pengzhendong/
|
README.md
CHANGED
|
@@ -61,7 +61,7 @@ python cosyvoice2_tokenizer.py --host {your host} --port {your port}
|
|
| 61 |
|
| 62 |
|
| 63 |
### 3. Run on Axera Device
|
| 64 |
-
There are 2 kinds of device, AX650 Board
|
| 65 |
|
| 66 |
#### 3.1 Run on AX650 Board
|
| 67 |
1) Moidfy the HTTP host in `run_ax650.sh`.
|
|
@@ -154,7 +154,28 @@ bash run_api_axcl_aarch64.sh
|
|
| 154 |
```
|
| 155 |
python scripts/gradio_demo.py
|
| 156 |
```
|
|
|
|
|
|
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
|
| 159 |
### Optional. Process Prompt Speech
|
| 160 |
If you want to replicate a specific sound, do this step.
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
### 3. Run on Axera Device
|
| 64 |
+
There are 2 kinds of device, AX650 Board , AXCL aarch64 Board and AXCL x86 Board.
|
| 65 |
|
| 66 |
#### 3.1 Run on AX650 Board
|
| 67 |
1) Moidfy the HTTP host in `run_ax650.sh`.
|
|
|
|
| 154 |
```
|
| 155 |
python scripts/gradio_demo.py
|
| 156 |
```
|
| 157 |
+
3) Open the page from a browser
|
| 158 |
+
The page url is : `https://{your device ip}:7860`
|
| 159 |
|
| 160 |
+
Note that you need to run these two commands in the project root directory.
|
| 161 |
+
|
| 162 |
+
#### 3.3 Run on AXCL x86 Board
|
| 163 |
+
```
|
| 164 |
+
bash run_axcl_x86.sh
|
| 165 |
+
```
|
| 166 |
+
#### Or run on AXCL aarch64 Board with Gradio GUI
|
| 167 |
+
1) Start server
|
| 168 |
+
```
|
| 169 |
+
bash run_api_axcl_x86.sh
|
| 170 |
+
```
|
| 171 |
+
2) Start Gradio GUI
|
| 172 |
+
```
|
| 173 |
+
python scripts/gradio_demo.py
|
| 174 |
+
```
|
| 175 |
+
3) Open the page from a browser
|
| 176 |
+
The page url is : `https://{your device ip}:7860`
|
| 177 |
+
|
| 178 |
+
Note that you need to run these two commands in the project root directory.
|
| 179 |
|
| 180 |
### Optional. Process Prompt Speech
|
| 181 |
If you want to replicate a specific sound, do this step.
|
main_api_axcl_aarch64
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bfa0bef731112ba0ff49bc54657a4a11b6fb0685cd7fa239e2a1dc189ee6dfa
|
| 3 |
+
size 1945224
|
main_api_axcl_x86
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18af808d9116f635a29bf55926bc757eee0c3e0995880955bbb023ffd90a966c
|
| 3 |
+
size 2010928
|
main_axcl_aarch64
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5acdf3ff167fdfc9730c454b796bdf8df00d6bdca15eaf49b503d3228680786d
|
| 3 |
+
size 1865704
|
main_axcl_x86
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c6e155f2954bcaf03964a2b06926f240e8ae009adcff98db5257c4d4133d97b
|
| 3 |
+
size 1912400
|
onnxruntime-linux-aarch64-1.23.0/GIT_COMMIT_ID
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fefc2cd7ed9a7031a57214aa6a7b3f93d1e940fe55c1ee1b737631774fc40797
|
| 3 |
+
size 41
|
onnxruntime-linux-aarch64-1.23.0/LICENSE
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c
|
| 3 |
+
size 1073
|
onnxruntime-linux-aarch64-1.23.0/Privacy.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a15f9fd9d4c7b6dfc35f237f461863f84f8f73cf6189e330818a674d3828871
|
| 3 |
+
size 2469
|
onnxruntime-linux-aarch64-1.23.0/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87f0387d38c0a5e3e448ab3ae3debc38024663ed8e4b2f55c625958764b01e4f
|
| 3 |
+
size 2971
|
onnxruntime-linux-aarch64-1.23.0/ThirdPartyNotices.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e90971a8e75a9a8ac0c6412e29c1202d079998389915aa485f46c816c3b4cc
|
| 3 |
+
size 326866
|
onnxruntime-linux-aarch64-1.23.0/VERSION_NUMBER
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fc21140add9202a29f2eec0793eaa9dcf4065a756d9d91775190096d44a62aa
|
| 3 |
+
size 7
|
onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
| 3 |
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
| 4 |
+
####### The input file was PROJECT_CONFIG_FILE ########
|
| 5 |
+
|
| 6 |
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
| 7 |
+
|
| 8 |
+
macro(set_and_check _var _file)
|
| 9 |
+
set(${_var} "${_file}")
|
| 10 |
+
if(NOT EXISTS "${_file}")
|
| 11 |
+
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
| 12 |
+
endif()
|
| 13 |
+
endmacro()
|
| 14 |
+
|
| 15 |
+
macro(check_required_components _NAME)
|
| 16 |
+
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
| 17 |
+
if(NOT ${_NAME}_${comp}_FOUND)
|
| 18 |
+
if(${_NAME}_FIND_REQUIRED_${comp})
|
| 19 |
+
set(${_NAME}_FOUND FALSE)
|
| 20 |
+
endif()
|
| 21 |
+
endif()
|
| 22 |
+
endforeach()
|
| 23 |
+
endmacro()
|
| 24 |
+
|
| 25 |
+
####################################################################################
|
| 26 |
+
include("${CMAKE_CURRENT_LIST_DIR}/onnxruntimeTargets.cmake")
|
onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfigVersion.cmake
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a basic version file for the Config-mode of find_package().
|
| 2 |
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
| 3 |
+
# to create a version-file which can be installed along a config.cmake file.
|
| 4 |
+
#
|
| 5 |
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
| 6 |
+
# the requested version string are exactly the same and it sets
|
| 7 |
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
| 8 |
+
# but only if the requested major version is the same as the current one.
|
| 9 |
+
# The variable CVF_VERSION must be set before calling configure_file().
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
set(PACKAGE_VERSION "1.23.0")
|
| 13 |
+
|
| 14 |
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
| 15 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 16 |
+
else()
|
| 17 |
+
|
| 18 |
+
if("1.23.0" MATCHES "^([0-9]+)\\.")
|
| 19 |
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
| 20 |
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
| 21 |
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
set(CVF_VERSION_MAJOR "1.23.0")
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
if(PACKAGE_FIND_VERSION_RANGE)
|
| 28 |
+
# both endpoints of the range must have the expected major version
|
| 29 |
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
| 30 |
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 31 |
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 32 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
| 33 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 34 |
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 35 |
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
| 36 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
| 37 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 38 |
+
else()
|
| 39 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 40 |
+
endif()
|
| 41 |
+
else()
|
| 42 |
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 43 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 44 |
+
else()
|
| 45 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
| 49 |
+
set(PACKAGE_VERSION_EXACT TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
| 56 |
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
| 57 |
+
return()
|
| 58 |
+
endif()
|
| 59 |
+
|
| 60 |
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
| 61 |
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
| 62 |
+
math(EXPR installedBits "8 * 8")
|
| 63 |
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
| 64 |
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
| 65 |
+
endif()
|
onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets-release.cmake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#----------------------------------------------------------------
|
| 2 |
+
# Generated CMake target import file for configuration "Release".
|
| 3 |
+
#----------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# Commands may need to know the format version.
|
| 6 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 7 |
+
|
| 8 |
+
# Import target "onnxruntime::onnxruntime" for configuration "Release"
|
| 9 |
+
set_property(TARGET onnxruntime::onnxruntime APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
| 10 |
+
set_target_properties(onnxruntime::onnxruntime PROPERTIES
|
| 11 |
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib64/libonnxruntime.so.1.23.0"
|
| 12 |
+
IMPORTED_SONAME_RELEASE "libonnxruntime.so.1"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
list(APPEND _cmake_import_check_targets onnxruntime::onnxruntime )
|
| 16 |
+
list(APPEND _cmake_import_check_files_for_onnxruntime::onnxruntime "${_IMPORT_PREFIX}/lib64/libonnxruntime.so.1.23.0" )
|
| 17 |
+
|
| 18 |
+
# Commands beyond this point should not need to know the version.
|
| 19 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
onnxruntime-linux-aarch64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by CMake
|
| 2 |
+
|
| 3 |
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
| 4 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 5 |
+
endif()
|
| 6 |
+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
| 7 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 8 |
+
endif()
|
| 9 |
+
cmake_policy(PUSH)
|
| 10 |
+
cmake_policy(VERSION 2.8.3...3.29)
|
| 11 |
+
#----------------------------------------------------------------
|
| 12 |
+
# Generated CMake target import file.
|
| 13 |
+
#----------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
# Commands may need to know the format version.
|
| 16 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 17 |
+
|
| 18 |
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
| 19 |
+
set(_cmake_targets_defined "")
|
| 20 |
+
set(_cmake_targets_not_defined "")
|
| 21 |
+
set(_cmake_expected_targets "")
|
| 22 |
+
foreach(_cmake_expected_target IN ITEMS onnxruntime::onnxruntime)
|
| 23 |
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
| 24 |
+
if(TARGET "${_cmake_expected_target}")
|
| 25 |
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
| 26 |
+
else()
|
| 27 |
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
| 28 |
+
endif()
|
| 29 |
+
endforeach()
|
| 30 |
+
unset(_cmake_expected_target)
|
| 31 |
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
| 32 |
+
unset(_cmake_targets_defined)
|
| 33 |
+
unset(_cmake_targets_not_defined)
|
| 34 |
+
unset(_cmake_expected_targets)
|
| 35 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 36 |
+
cmake_policy(POP)
|
| 37 |
+
return()
|
| 38 |
+
endif()
|
| 39 |
+
if(NOT _cmake_targets_defined STREQUAL "")
|
| 40 |
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
| 41 |
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
| 42 |
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
| 43 |
+
endif()
|
| 44 |
+
unset(_cmake_targets_defined)
|
| 45 |
+
unset(_cmake_targets_not_defined)
|
| 46 |
+
unset(_cmake_expected_targets)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
# Compute the installation prefix relative to this file.
|
| 50 |
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 51 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 52 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 53 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 54 |
+
if(_IMPORT_PREFIX STREQUAL "/")
|
| 55 |
+
set(_IMPORT_PREFIX "")
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
# Create imported target onnxruntime::onnxruntime
|
| 59 |
+
add_library(onnxruntime::onnxruntime SHARED IMPORTED)
|
| 60 |
+
|
| 61 |
+
set_target_properties(onnxruntime::onnxruntime PROPERTIES
|
| 62 |
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/onnxruntime"
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
# Load information for each installed configuration.
|
| 66 |
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/onnxruntimeTargets-*.cmake")
|
| 67 |
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
| 68 |
+
include("${_cmake_config_file}")
|
| 69 |
+
endforeach()
|
| 70 |
+
unset(_cmake_config_file)
|
| 71 |
+
unset(_cmake_config_files)
|
| 72 |
+
|
| 73 |
+
# Cleanup temporary variables.
|
| 74 |
+
set(_IMPORT_PREFIX)
|
| 75 |
+
|
| 76 |
+
# Loop over all imported files and verify that they actually exist
|
| 77 |
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
| 78 |
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
| 79 |
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
| 80 |
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
| 81 |
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
| 82 |
+
if(NOT EXISTS "${_cmake_file}")
|
| 83 |
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
| 84 |
+
\"${_cmake_file}\"
|
| 85 |
+
but this file does not exist. Possible reasons include:
|
| 86 |
+
* The file was deleted, renamed, or moved to another location.
|
| 87 |
+
* An install or uninstall procedure did not complete successfully.
|
| 88 |
+
* The installation package was faulty and contained
|
| 89 |
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
| 90 |
+
but not all the files it references.
|
| 91 |
+
")
|
| 92 |
+
endif()
|
| 93 |
+
endforeach()
|
| 94 |
+
endif()
|
| 95 |
+
unset(_cmake_file)
|
| 96 |
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
| 97 |
+
endforeach()
|
| 98 |
+
unset(_cmake_target)
|
| 99 |
+
unset(_cmake_import_check_targets)
|
| 100 |
+
|
| 101 |
+
# This file does not depend on other imported targets which have
|
| 102 |
+
# been exported from the same project but in a separate export set.
|
| 103 |
+
|
| 104 |
+
# Commands beyond this point should not need to know the version.
|
| 105 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
| 106 |
+
cmake_policy(POP)
|
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
libonnxruntime.so.1
|
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
libonnxruntime.so.1.23.0
|
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime.so.1.23.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb068adc50115db2cca077b385a15b35cc07a14ef3bb71aa5d7c66f1982f5264
|
| 3 |
+
size 18562312
|
onnxruntime-linux-aarch64-1.23.0/lib/libonnxruntime_providers_shared.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b6be288fbfb7dff8770d08a23defdde18e8f7e0f5a2b344a0e5e238c999ea88
|
| 3 |
+
size 198792
|
onnxruntime-linux-aarch64-1.23.0/lib/pkgconfig/libonnxruntime.pc
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prefix=/usr/local
|
| 2 |
+
bindir=${prefix}/bin
|
| 3 |
+
mandir=${prefix}/share/man
|
| 4 |
+
docdir=${prefix}/share/doc/onnxruntime
|
| 5 |
+
libdir=${prefix}/lib64
|
| 6 |
+
includedir=${prefix}/include/onnxruntime
|
| 7 |
+
|
| 8 |
+
Name: onnxruntime
|
| 9 |
+
Description: ONNX runtime
|
| 10 |
+
URL: https://github.com/microsoft/onnxruntime
|
| 11 |
+
Version: 1.23.0
|
| 12 |
+
Libs: -L${libdir} -lonnxruntime
|
| 13 |
+
Cflags: -I${includedir}
|
onnxruntime-linux-x64-1.23.0/GIT_COMMIT_ID
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fefc2cd7ed9a7031a57214aa6a7b3f93d1e940fe55c1ee1b737631774fc40797
|
| 3 |
+
size 41
|
onnxruntime-linux-x64-1.23.0/LICENSE
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f07c72751aed99790b8a4869cf2311df85a860b22ded05fa22803587a48922c
|
| 3 |
+
size 1073
|
onnxruntime-linux-x64-1.23.0/Privacy.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a15f9fd9d4c7b6dfc35f237f461863f84f8f73cf6189e330818a674d3828871
|
| 3 |
+
size 2469
|
onnxruntime-linux-x64-1.23.0/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87f0387d38c0a5e3e448ab3ae3debc38024663ed8e4b2f55c625958764b01e4f
|
| 3 |
+
size 2971
|
onnxruntime-linux-x64-1.23.0/ThirdPartyNotices.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e90971a8e75a9a8ac0c6412e29c1202d079998389915aa485f46c816c3b4cc
|
| 3 |
+
size 326866
|
onnxruntime-linux-x64-1.23.0/VERSION_NUMBER
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fc21140add9202a29f2eec0793eaa9dcf4065a756d9d91775190096d44a62aa
|
| 3 |
+
size 7
|
onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
| 3 |
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
| 4 |
+
####### The input file was PROJECT_CONFIG_FILE ########
|
| 5 |
+
|
| 6 |
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
| 7 |
+
|
| 8 |
+
macro(set_and_check _var _file)
|
| 9 |
+
set(${_var} "${_file}")
|
| 10 |
+
if(NOT EXISTS "${_file}")
|
| 11 |
+
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
| 12 |
+
endif()
|
| 13 |
+
endmacro()
|
| 14 |
+
|
| 15 |
+
macro(check_required_components _NAME)
|
| 16 |
+
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
| 17 |
+
if(NOT ${_NAME}_${comp}_FOUND)
|
| 18 |
+
if(${_NAME}_FIND_REQUIRED_${comp})
|
| 19 |
+
set(${_NAME}_FOUND FALSE)
|
| 20 |
+
endif()
|
| 21 |
+
endif()
|
| 22 |
+
endforeach()
|
| 23 |
+
endmacro()
|
| 24 |
+
|
| 25 |
+
####################################################################################
|
| 26 |
+
include("${CMAKE_CURRENT_LIST_DIR}/onnxruntimeTargets.cmake")
|
onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeConfigVersion.cmake
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a basic version file for the Config-mode of find_package().
|
| 2 |
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
| 3 |
+
# to create a version-file which can be installed along a config.cmake file.
|
| 4 |
+
#
|
| 5 |
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
| 6 |
+
# the requested version string are exactly the same and it sets
|
| 7 |
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
| 8 |
+
# but only if the requested major version is the same as the current one.
|
| 9 |
+
# The variable CVF_VERSION must be set before calling configure_file().
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
set(PACKAGE_VERSION "1.23.0")
|
| 13 |
+
|
| 14 |
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
| 15 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 16 |
+
else()
|
| 17 |
+
|
| 18 |
+
if("1.23.0" MATCHES "^([0-9]+)\\.")
|
| 19 |
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
| 20 |
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
| 21 |
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
set(CVF_VERSION_MAJOR "1.23.0")
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
if(PACKAGE_FIND_VERSION_RANGE)
|
| 28 |
+
# both endpoints of the range must have the expected major version
|
| 29 |
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
| 30 |
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 31 |
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 32 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
| 33 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 34 |
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 35 |
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
| 36 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
| 37 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 38 |
+
else()
|
| 39 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 40 |
+
endif()
|
| 41 |
+
else()
|
| 42 |
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 43 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 44 |
+
else()
|
| 45 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
| 49 |
+
set(PACKAGE_VERSION_EXACT TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
| 56 |
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
| 57 |
+
return()
|
| 58 |
+
endif()
|
| 59 |
+
|
| 60 |
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
| 61 |
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
| 62 |
+
math(EXPR installedBits "8 * 8")
|
| 63 |
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
| 64 |
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
| 65 |
+
endif()
|
onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets-release.cmake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#----------------------------------------------------------------
|
| 2 |
+
# Generated CMake target import file for configuration "Release".
|
| 3 |
+
#----------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# Commands may need to know the format version.
|
| 6 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 7 |
+
|
| 8 |
+
# Import target "onnxruntime::onnxruntime" for configuration "Release"
|
| 9 |
+
set_property(TARGET onnxruntime::onnxruntime APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
| 10 |
+
set_target_properties(onnxruntime::onnxruntime PROPERTIES
|
| 11 |
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib64/libonnxruntime.so.1.23.0"
|
| 12 |
+
IMPORTED_SONAME_RELEASE "libonnxruntime.so.1"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
list(APPEND _cmake_import_check_targets onnxruntime::onnxruntime )
|
| 16 |
+
list(APPEND _cmake_import_check_files_for_onnxruntime::onnxruntime "${_IMPORT_PREFIX}/lib64/libonnxruntime.so.1.23.0" )
|
| 17 |
+
|
| 18 |
+
# Commands beyond this point should not need to know the version.
|
| 19 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
onnxruntime-linux-x64-1.23.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by CMake
|
| 2 |
+
|
| 3 |
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
| 4 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 5 |
+
endif()
|
| 6 |
+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
| 7 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 8 |
+
endif()
|
| 9 |
+
cmake_policy(PUSH)
|
| 10 |
+
cmake_policy(VERSION 2.8.3...3.29)
|
| 11 |
+
#----------------------------------------------------------------
|
| 12 |
+
# Generated CMake target import file.
|
| 13 |
+
#----------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
# Commands may need to know the format version.
|
| 16 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 17 |
+
|
| 18 |
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
| 19 |
+
set(_cmake_targets_defined "")
|
| 20 |
+
set(_cmake_targets_not_defined "")
|
| 21 |
+
set(_cmake_expected_targets "")
|
| 22 |
+
foreach(_cmake_expected_target IN ITEMS onnxruntime::onnxruntime)
|
| 23 |
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
| 24 |
+
if(TARGET "${_cmake_expected_target}")
|
| 25 |
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
| 26 |
+
else()
|
| 27 |
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
| 28 |
+
endif()
|
| 29 |
+
endforeach()
|
| 30 |
+
unset(_cmake_expected_target)
|
| 31 |
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
| 32 |
+
unset(_cmake_targets_defined)
|
| 33 |
+
unset(_cmake_targets_not_defined)
|
| 34 |
+
unset(_cmake_expected_targets)
|
| 35 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 36 |
+
cmake_policy(POP)
|
| 37 |
+
return()
|
| 38 |
+
endif()
|
| 39 |
+
if(NOT _cmake_targets_defined STREQUAL "")
|
| 40 |
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
| 41 |
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
| 42 |
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
| 43 |
+
endif()
|
| 44 |
+
unset(_cmake_targets_defined)
|
| 45 |
+
unset(_cmake_targets_not_defined)
|
| 46 |
+
unset(_cmake_expected_targets)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
# Compute the installation prefix relative to this file.
|
| 50 |
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 51 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 52 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 53 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 54 |
+
if(_IMPORT_PREFIX STREQUAL "/")
|
| 55 |
+
set(_IMPORT_PREFIX "")
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
# Create imported target onnxruntime::onnxruntime
|
| 59 |
+
add_library(onnxruntime::onnxruntime SHARED IMPORTED)
|
| 60 |
+
|
| 61 |
+
set_target_properties(onnxruntime::onnxruntime PROPERTIES
|
| 62 |
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/onnxruntime"
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
# Load information for each installed configuration.
|
| 66 |
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/onnxruntimeTargets-*.cmake")
|
| 67 |
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
| 68 |
+
include("${_cmake_config_file}")
|
| 69 |
+
endforeach()
|
| 70 |
+
unset(_cmake_config_file)
|
| 71 |
+
unset(_cmake_config_files)
|
| 72 |
+
|
| 73 |
+
# Cleanup temporary variables.
|
| 74 |
+
set(_IMPORT_PREFIX)
|
| 75 |
+
|
| 76 |
+
# Loop over all imported files and verify that they actually exist
|
| 77 |
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
| 78 |
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
| 79 |
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
| 80 |
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
| 81 |
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
| 82 |
+
if(NOT EXISTS "${_cmake_file}")
|
| 83 |
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
| 84 |
+
\"${_cmake_file}\"
|
| 85 |
+
but this file does not exist. Possible reasons include:
|
| 86 |
+
* The file was deleted, renamed, or moved to another location.
|
| 87 |
+
* An install or uninstall procedure did not complete successfully.
|
| 88 |
+
* The installation package was faulty and contained
|
| 89 |
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
| 90 |
+
but not all the files it references.
|
| 91 |
+
")
|
| 92 |
+
endif()
|
| 93 |
+
endforeach()
|
| 94 |
+
endif()
|
| 95 |
+
unset(_cmake_file)
|
| 96 |
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
| 97 |
+
endforeach()
|
| 98 |
+
unset(_cmake_target)
|
| 99 |
+
unset(_cmake_import_check_targets)
|
| 100 |
+
|
| 101 |
+
# This file does not depend on other imported targets which have
|
| 102 |
+
# been exported from the same project but in a separate export set.
|
| 103 |
+
|
| 104 |
+
# Commands beyond this point should not need to know the version.
|
| 105 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
| 106 |
+
cmake_policy(POP)
|
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
libonnxruntime.so.1
|
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
libonnxruntime.so.1.23.0
|
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime.so.1.23.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98b0253652d36c706cd9b873f3e8dc74e107c26cf9694672fb4d88da1c00f250
|
| 3 |
+
size 22207288
|
onnxruntime-linux-x64-1.23.0/lib/libonnxruntime_providers_shared.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:086ec1d5388f64153d9c63470d126693db9a182c8ce236d3a1119068471b8a0d
|
| 3 |
+
size 14632
|
onnxruntime-linux-x64-1.23.0/lib/pkgconfig/libonnxruntime.pc
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prefix=/usr/local
|
| 2 |
+
bindir=${prefix}/bin
|
| 3 |
+
mandir=${prefix}/share/man
|
| 4 |
+
docdir=${prefix}/share/doc/onnxruntime
|
| 5 |
+
libdir=${prefix}/lib64
|
| 6 |
+
includedir=${prefix}/include/onnxruntime
|
| 7 |
+
|
| 8 |
+
Name: onnxruntime
|
| 9 |
+
Description: ONNX runtime
|
| 10 |
+
URL: https://github.com/microsoft/onnxruntime
|
| 11 |
+
Version: 1.23.0
|
| 12 |
+
Libs: -L${libdir} -lonnxruntime
|
| 13 |
+
Cflags: -I${includedir}
|
run_api_axcl_aarch64.sh
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
LLM_DIR=CosyVoice-BlankEN-Ax650-prefill_512/
|
| 2 |
TOKEN2WAV_DIR=token2wav-axmodels/
|
| 3 |
|
|
|
|
| 1 |
+
export LD_LIBRARY_PATH=onnxruntime-linux-aarch64-1.23.0/lib:$LD_LIBRARY_PATH
|
| 2 |
+
|
| 3 |
LLM_DIR=CosyVoice-BlankEN-Ax650-prefill_512/
|
| 4 |
TOKEN2WAV_DIR=token2wav-axmodels/
|
| 5 |
|
run_api_axcl_x86.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60795382fef26b3e9ad6da00bdf192a40aecd57814420cb774a11f194e9a5976
|
| 3 |
+
size 989
|
run_axcl_aarch64.sh
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
LLM_DIR=CosyVoice-BlankEN-Ax650-prefill_512/
|
| 2 |
TOKEN2WAV_DIR=token2wav-axmodels/
|
| 3 |
|
|
|
|
| 1 |
+
export LD_LIBRARY_PATH=onnxruntime-linux-aarch64-1.23.0/lib:$LD_LIBRARY_PATH
|
| 2 |
+
|
| 3 |
LLM_DIR=CosyVoice-BlankEN-Ax650-prefill_512/
|
| 4 |
TOKEN2WAV_DIR=token2wav-axmodels/
|
| 5 |
|
run_axcl_x86.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:073e04ebc7a809df344bbf999165466e9a08b9033b2865643331fd2c446b3bf3
|
| 3 |
+
size 959
|
scripts/gradio_demo.py
CHANGED
|
@@ -136,7 +136,7 @@ with gr.Blocks() as demo:
|
|
| 136 |
with gr.Row():
|
| 137 |
text_input = gr.Textbox(value="琦琦,麻烦你适配一下这个新的模型吧。", label="输入文本")
|
| 138 |
with gr.Column():
|
| 139 |
-
timesteps = gr.Slider(minimum=4, maximum=30, value=
|
| 140 |
run_btn = gr.Button("生成语音")
|
| 141 |
|
| 142 |
status = gr.Label(label="状态")
|
|
|
|
| 136 |
with gr.Row():
|
| 137 |
text_input = gr.Textbox(value="琦琦,麻烦你适配一下这个新的模型吧。", label="输入文本")
|
| 138 |
with gr.Column():
|
| 139 |
+
timesteps = gr.Slider(minimum=4, maximum=30, value=10, step=1, label="Timesteps")
|
| 140 |
run_btn = gr.Button("生成语音")
|
| 141 |
|
| 142 |
status = gr.Label(label="状态")
|
token2wav-axmodels/hift_p1_50_first.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45c7da819c925222298640628dc0b8e5466d95b64c8c4934348cfd1785c4fbd6
|
| 3 |
+
size 13095955
|
token2wav-axmodels/hift_p1_58.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae590537cabcec0bb176fa9895432e84ea51a61c2df54d5f98d8a6cd9a2a3f0e
|
| 3 |
+
size 13095955
|