Unverified Commit 4cdd8cad authored by Eli Uriegas's avatar Eli Uriegas Committed by GitHub
Browse files

packaging: Use cpu directory by default (#909)



Default to using the `cpu` directory since the base one is not reliable
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
parent 5418d937
...@@ -32,7 +32,7 @@ setup_cuda() { ...@@ -32,7 +32,7 @@ setup_cuda() {
# First, compute version suffixes. By default, assume no version suffixes # First, compute version suffixes. By default, assume no version suffixes
export VERSION_SUFFIX="" export VERSION_SUFFIX=""
export PYTORCH_VERSION_SUFFIX="" export PYTORCH_VERSION_SUFFIX=""
export WHEEL_DIR="" export WHEEL_DIR="cpu/"
# Wheel builds need suffixes (but not if they're on OS X, which never has suffix) # Wheel builds need suffixes (but not if they're on OS X, which never has suffix)
if [[ "$BUILD_TYPE" == "wheel" ]] && [[ "$(uname)" != Darwin ]]; then if [[ "$BUILD_TYPE" == "wheel" ]] && [[ "$(uname)" != Darwin ]]; then
# The default CUDA has no suffix # The default CUDA has no suffix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment