-
Notifications
You must be signed in to change notification settings - Fork 1.5k
update onnxruntime package name and hash for riscv64-spacemit #3481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -256,8 +256,6 @@ jobs: | |
| export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/sysroot | ||
| export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/toolchain/sysroot/lib | ||
| export QEMU_ARGS="-cpu max,vlen=256,elen=64,vext_spec=v1.0" | ||
| echo "Some mistakes in ep graph partition, disable op Gather for spacemit-ep now, will be fixed soon." | ||
| export SPACEMIT_EP_DISABLE_OP_TYPE_FILTER="Gather" | ||
|
|
||
| wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23.tar.bz2 | ||
| tar xvf sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23.tar.bz2 | ||
|
|
@@ -280,8 +278,6 @@ jobs: | |
| export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/sysroot | ||
| export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/toolchain/sysroot/lib | ||
| export QEMU_ARGS="-cpu max,vlen=256,elen=64,vext_spec=v1.0" | ||
|
Comment on lines
278
to
280
|
||
| echo "Some mistakes in ep graph partition, disable op Gather;Cast;ConvTranspose for spacemit-ep now, will be fixed soon." | ||
| export SPACEMIT_EP_DISABLE_OP_TYPE_FILTER="Gather;Cast;ConvTranspose" | ||
|
|
||
| wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-lessac-medium.tar.bz2 | ||
| tar xf vits-piper-en_US-lessac-medium.tar.bz2 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -91,6 +91,8 @@ on the following platforms and operating systems: | |||||||||
| - [旭日X3派][旭日X3派] | ||||||||||
| - [爱芯派][爱芯派] | ||||||||||
| - [RK3588][RK3588] | ||||||||||
| - [SpacemiT-K1][SpacemiT-K1] | ||||||||||
| - [SpacemiT-K3][SpacemiT-K3] | ||||||||||
|
Comment on lines
+94
to
+95
|
||||||||||
| - [SpacemiT-K1][SpacemiT-K1] | |
| - [SpacemiT-K3][SpacemiT-K3] | |
| - [Spacemit-K1][SpacemiT-K1] | |
| - [Spacemit-K3][SpacemiT-K3] |
Copilot
AI
Apr 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README uses SpacemiT casing here, while the rest of the repo (e.g., filenames like riscv64-spacemit) uses spacemit. It’d be clearer to standardize casing across documentation and build/CI terminology (either adopt the brand casing everywhere in docs or use the repo’s existing Spacemit/Spacemit convention consistently).
| [SpacemiT-K1]: https://cdn-resource.spacemit.com/file/chip/K1/K1_brief_zh.pdf | |
| [SpacemiT-K3]: https://cdn-resource.spacemit.com/file/chip/K3/K3_brief_zh.pdf | |
| [Spacemit-K1]: https://cdn-resource.spacemit.com/file/chip/K1/K1_brief_zh.pdf | |
| [Spacemit-K3]: https://cdn-resource.spacemit.com/file/chip/K3/K3_brief_zh.pdf |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,9 +13,9 @@ if(NOT BUILD_SHARED_LIBS) | |||||||
| message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}, SHERPA_ONNX_ENABLE_SPACEMIT: ${SHERPA_ONNX_ENABLE_SPACEMIT}") | ||||||||
| endif() | ||||||||
|
|
||||||||
| set(onnxruntime_pkg_name "spacemit-ort.riscv64.2.0.1.tar.gz") | ||||||||
| set(onnxruntime_pkg_name "spacemit-ort.riscv64.2.0.2+rc1.tar.gz") | ||||||||
| set(onnxruntime_URL "https://archive.spacemit.com/spacemit-ai/onnxruntime/${onnxruntime_pkg_name}") | ||||||||
|
||||||||
| set(onnxruntime_URL "https://archive.spacemit.com/spacemit-ai/onnxruntime/${onnxruntime_pkg_name}") | |
| string(REPLACE "+" "%2B" onnxruntime_pkg_name_url "${onnxruntime_pkg_name}") | |
| set(onnxruntime_URL "https://archive.spacemit.com/spacemit-ai/onnxruntime/${onnxruntime_pkg_name_url}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes the previously documented workaround (
SPACEMIT_EP_DISABLE_OP_TYPE_FILTER) without leaving any trace of why it’s no longer needed. To reduce future churn when regressions happen, consider adding a brief comment tying the removal to the onnxruntime/EP version bump (e.g., “fixed in spacemit-ort 2.0.2+rc1”), or keep an opt-in toggle (only set the env var when a workflow input/variable indicates it) so the workaround can be re-enabled quickly if needed.