SPU has been tested with the following settings:
- Ubuntu 22.04
- python3.8
- 8c16g
We have conducted some successful preliminary testings on macOS Monterey 14.1 with Apple Silicon.
Please check official Docker image.
You could install SPU via the official PyPI package.
pip install spu
- Install dependencies listed here.
- For CentOS 7 or Ubuntu 22.04, use corresponding dockerfile below as a reference:
- At the root of repo, run
python setup.py bdist_wheel
pip install dist/*.whl --force-reinstall
- Once GCC/bazel/python/Xcode version or other environment settings have changed, please run the following command to ensure a clean build
bazel clean --expunge
export ENABLE_GPU_BUILD=1 && python setup.py bdist_wheel