Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-10-28 10:37:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-10-28 10:37:50 +0800
Commit
9eb493f6bfbe776dcbfbc64cceaae358ee530714
9eb493f6
1 parent
91e090ff
Publish pre-built wheels for Python 3.13 (#1485)
隐藏空白字符变更
内嵌
并排对比
正在显示
13 个修改的文件
包含
28 行增加
和
15 行删除
.github/workflows/build-wheels-aarch64.yaml
.github/workflows/build-wheels-linux-cuda.yaml
.github/workflows/build-wheels-linux.yaml
.github/workflows/build-wheels-macos-arm64.yaml
.github/workflows/build-wheels-macos-universal2.yaml
.github/workflows/build-wheels-macos-x64.yaml
.github/workflows/build-wheels-win32.yaml
.github/workflows/build-wheels-win64-cuda.yaml
.github/workflows/build-wheels-win64.yaml
.github/workflows/run-python-test-macos.yaml
.github/workflows/run-python-test.yaml
.github/workflows/test-build-wheel.yaml
.github/workflows/test-pip-install.yaml
.github/workflows/build-wheels-aarch64.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
manylinux
:
[
manylinux2014
]
#, manylinux_2_28]
steps
:
...
...
@@ -35,7 +35,7 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@v2.
16.5
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_BEFORE_ALL
:
|
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
...
...
.github/workflows/build-wheels-linux-cuda.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-20.04
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
,
"
3.13"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/build-wheels-linux.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
manylinux
:
[
manylinux2014
]
#, manylinux_2_28]
...
...
@@ -31,7 +31,7 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@v2.
16.5
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_BEFORE_ALL
:
|
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
...
...
.github/workflows/build-wheels-macos-arm64.yaml
查看文件 @
9eb493f
...
...
@@ -21,13 +21,13 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
macos-13
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@v2.
15.0
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_BUILD
:
"
${{
matrix.python-version}}-*
"
CIBW_ENVIRONMENT
:
SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='arm64'"
...
...
.github/workflows/build-wheels-macos-universal2.yaml
查看文件 @
9eb493f
...
...
@@ -21,13 +21,13 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
macos-latest
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@v2.
15.0
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_BUILD
:
"
${{
matrix.python-version}}-*
"
CIBW_ENVIRONMENT
:
SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='arm64;x86_64'"
...
...
.github/workflows/build-wheels-macos-x64.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
macos-13
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
@@ -42,7 +42,7 @@ jobs:
-
name
:
Build wheels
if
:
matrix.python-version != 'cp37'
uses
:
pypa/cibuildwheel@v2.
15.0
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_BUILD
:
"
${{
matrix.python-version}}-*
"
CIBW_ENVIRONMENT
:
SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='x86_64'"
...
...
.github/workflows/build-wheels-win32.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
windows-latest
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
]
python-version
:
[
"
cp37"
,
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
@@ -29,7 +29,7 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@v2.
16.5
uses
:
pypa/cibuildwheel@v2.
21.3
env
:
CIBW_ENVIRONMENT
:
SHERPA_ONNX_CMAKE_ARGS="-A Win32"
CIBW_BUILD
:
"
${{
matrix.python-version}}-*
"
...
...
.github/workflows/build-wheels-win64-cuda.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
windows-2019
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
,
"
3.13"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/build-wheels-win64.yaml
查看文件 @
9eb493f
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
windows-2019
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
,
"
3.13"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/run-python-test-macos.yaml
查看文件 @
9eb493f
...
...
@@ -54,6 +54,9 @@ jobs:
-
os
:
macos-latest
python-version
:
"
3.12"
-
os
:
macos-latest
python-version
:
"
3.13"
steps
:
-
uses
:
actions/checkout@v4
with
:
...
...
.github/workflows/run-python-test.yaml
查看文件 @
9eb493f
...
...
@@ -53,6 +53,8 @@ jobs:
python-version
:
"
3.11"
-
os
:
ubuntu-22.04
python-version
:
"
3.12"
-
os
:
ubuntu-22.04
python-version
:
"
3.13"
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/test-build-wheel.yaml
查看文件 @
9eb493f
...
...
@@ -140,6 +140,7 @@ jobs:
export PATH=/c/hostedtoolcache/windows/Python/3.10.11/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.11.9/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.12.7/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.13.0/x64/bin:$PATH
which sherpa-onnx
sherpa-onnx --help
...
...
.github/workflows/test-pip-install.yaml
查看文件 @
9eb493f
...
...
@@ -42,6 +42,8 @@ jobs:
python-version
:
"
3.11"
-
os
:
ubuntu-22.04
python-version
:
"
3.12"
-
os
:
ubuntu-22.04
python-version
:
"
3.13"
-
os
:
macos-12
python-version
:
"
3.8"
...
...
@@ -55,6 +57,8 @@ jobs:
-
os
:
macos-14
python-version
:
"
3.12"
-
os
:
macos-14
python-version
:
"
3.13"
-
os
:
windows-2019
python-version
:
"
3.7"
...
...
@@ -69,6 +73,8 @@ jobs:
python-version
:
"
3.11"
-
os
:
windows-2022
python-version
:
"
3.12"
-
os
:
windows-2022
python-version
:
"
3.13"
steps
:
-
uses
:
actions/checkout@v4
...
...
@@ -105,6 +111,7 @@ jobs:
export PATH=/c/hostedtoolcache/windows/Python/3.10.11/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.11.9/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.12.7/x64/bin:$PATH
export PATH=/c/hostedtoolcache/windows/Python/3.13.0/x64/bin:$PATH
sherpa-onnx --help
sherpa-onnx-keyword-spotter --help
...
...
请
注册
或
登录
后发表评论