Skip to content

Commit 27c8da5

Browse files
update onnxruntime package name and hash for riscv64-spacemit (#3481)
1 parent 625f63a commit 27c8da5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/riscv64-spacemit-linux.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ jobs:
256256
export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/sysroot
257257
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/toolchain/sysroot/lib
258258
export QEMU_ARGS="-cpu max,vlen=256,elen=64,vext_spec=v1.0"
259-
echo "Some mistakes in ep graph partition, disable op Gather for spacemit-ep now, will be fixed soon."
260-
export SPACEMIT_EP_DISABLE_OP_TYPE_FILTER="Gather"
261259
262260
wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23.tar.bz2
263261
tar xvf sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23.tar.bz2
@@ -280,8 +278,6 @@ jobs:
280278
export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/sysroot
281279
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/toolchain/sysroot/lib
282280
export QEMU_ARGS="-cpu max,vlen=256,elen=64,vext_spec=v1.0"
283-
echo "Some mistakes in ep graph partition, disable op Gather;Cast;ConvTranspose for spacemit-ep now, will be fixed soon."
284-
export SPACEMIT_EP_DISABLE_OP_TYPE_FILTER="Gather;Cast;ConvTranspose"
285281
286282
wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-lessac-medium.tar.bz2
287283
tar xf vits-piper-en_US-lessac-medium.tar.bz2

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ on the following platforms and operating systems:
9191
- [旭日X3派][旭日X3派]
9292
- [爱芯派][爱芯派]
9393
- [RK3588][RK3588]
94+
- [SpacemiT-K1][SpacemiT-K1]
95+
- [SpacemiT-K3][SpacemiT-K3]
9496
- etc
9597

9698
with the following APIs
@@ -640,3 +642,5 @@ cross-platform Node.js microphone streaming library with prebuilt native binarie
640642
[qnn-doc]: https://k2-fsa.github.io/sherpa/onnx/qnn/index.html
641643
[ascend-doc]: https://k2-fsa.github.io/sherpa/onnx/ascend/index.html
642644
[axera-npu]: https://axera-tech.com/Skill/166.html
645+
[SpacemiT-K1]: https://cdn-resource.spacemit.com/file/chip/K1/K1_brief_zh.pdf
646+
[SpacemiT-K3]: https://cdn-resource.spacemit.com/file/chip/K3/K3_brief_zh.pdf

cmake/onnxruntime-linux-riscv64-spacemit.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ if(NOT BUILD_SHARED_LIBS)
1313
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}, SHERPA_ONNX_ENABLE_SPACEMIT: ${SHERPA_ONNX_ENABLE_SPACEMIT}")
1414
endif()
1515

16-
set(onnxruntime_pkg_name "spacemit-ort.riscv64.2.0.1.tar.gz")
16+
set(onnxruntime_pkg_name "spacemit-ort.riscv64.2.0.2+rc1.tar.gz")
1717
set(onnxruntime_URL "https://archive.spacemit.com/spacemit-ai/onnxruntime/${onnxruntime_pkg_name}")
18-
set(onnxruntime_HASH "SHA256=8a15035aca34d5fd95f24444d4c7843265c1a81f49d84ec6fe9c6d0fdf5b55cf")
18+
set(onnxruntime_HASH "SHA256=36276ce948da5cb9e388f1efcbc24849f1a10dd6710d0b02943bd2fe54bad87f")
1919

2020
# If you don't have access to the Internet,
2121
# please download onnxruntime to one of the following locations.

0 commit comments

Comments
 (0)