install_wheels.sh 351 Bytes
Newer Older
moto's avatar
moto committed
1
2
#!/usr/bin/env bash

3
set -ex
moto's avatar
moto committed
4
5

# shellcheck disable=SC1091
6
7
8
9
source ./packaging/pkg_helpers.bash
export NO_CUDA_PACKAGE=1
setup_env 0.8.0
setup_wheel_python
10
11
# Starting 0.10, `pip install pytorch` defaults to ROCm.
export PYTORCH_VERSION_SUFFIX="+cpu"
12
13
14
setup_pip_pytorch_version
# pytorch is already installed
pip install --no-deps ~/workspace/torchaudio*