Skip to content
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

Provide pre-built wheels for 32-bit arm (e.g., 32-bit Raspberry Pi) #338

Merged
merged 10 commits into from
Sep 25, 2023

Conversation

csukuangfj
Copy link
Collaborator

Note: since sherpa-onnx depends on sentencepiece, we have provided pre-built 32-bit arm wheels for sentencepiece, which are available at the following addresses:

Python Version URL
3.7 https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/sentencepiece-0.2.0-cp37-cp37m-linux_armv7l.whl
3.8 https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/blob/main/sentencepiece-0.2.0-cp38-cp38-linux_armv7l.whl
3.9 https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/sentencepiece-0.2.0-cp39-cp39-linux_armv7l.whl
3.10 https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/sentencepiece-0.2.0-cp310-cp310-linux_armv7l.whl
3.11 https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/sentencepiece-0.2.0-cp311-cp311-linux_armv7l.whl

Installation example for 32-bit ARM with Python3.8

pip install https://huggingface.co/csukuangfj/sherpa-onnx-cmake-deps/blob/main/sentencepiece-0.2.0-cp38-cp38-linux_armv7l.whl

pip install --no-deps sherpa-onnx

# Test the installation
python3 -c "import sherpa_onnx; print(sherpa_onnx.__file__, sherpa_onnx.__version__); print(dir(sherpa_onnx)); print(help(sherpa_onnx))"

@csukuangfj csukuangfj merged commit f91c49a into k2-fsa:master Sep 25, 2023
@csukuangfj csukuangfj deleted the wheel-arm branch September 25, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant