-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[v0.9.1] Remove special versioning suffix rules for CUDA 10.2 #3603
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
[v0.9.1] Remove special versioning suffix rules for CUDA 10.2 #3603
Conversation
Adds a version suffix for CUDA 10.2 for ease of installing when installing from download.pytorch.org Signed-off-by: Eli Uriegas <[email protected]>
packaging/pkg_helpers.bash
Outdated
@@ -36,9 +36,7 @@ setup_cuda() { | |||
# Wheel builds need suffixes (but not if they're on OS X, which never has suffix) | |||
if [[ "$BUILD_TYPE" == "wheel" ]] && [[ "$(uname)" != Darwin ]]; then | |||
# The default CUDA has no suffix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove this comment as well since all CUDA versions have a suffix now?
packaging/pkg_helpers.bash
Outdated
@@ -36,9 +36,7 @@ setup_cuda() { | |||
# Wheel builds need suffixes (but not if they're on OS X, which never has suffix) | |||
if [[ "$BUILD_TYPE" == "wheel" ]] && [[ "$(uname)" != Darwin ]]; then | |||
# The default CUDA has no suffix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @xuzhao9, we should remove the comment
# The default CUDA has no suffix |
Signed-off-by: Eli Uriegas <[email protected]>
Signed-off-by: Eli Uriegas <[email protected]>
Signed-off-by: Eli Uriegas <[email protected]>
2154dbd
to
eb9607e
Compare
Signed-off-by: Eli Uriegas <[email protected]>
# The default CUDA has no suffix | ||
if [[ "$CU_VERSION" != "cu102" ]]; then | ||
export PYTORCH_VERSION_SUFFIX="+$CU_VERSION" | ||
fi | ||
export PYTORCH_VERSION_SUFFIX="+$CU_VERSION" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we cherry-pick this change to the master branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll make follow up PRs for both things here
* packaging: Remove special versioning priveleges Adds a version suffix for CUDA 10.2 for ease of installing when installing from download.pytorch.org Signed-off-by: Eli Uriegas <[email protected]> * also include windows cmath fix Signed-off-by: Eli Uriegas <[email protected]> * remove comment Signed-off-by: Eli Uriegas <[email protected]> * fix indent Signed-off-by: Eli Uriegas <[email protected]> * actually add the script Signed-off-by: Eli Uriegas <[email protected]>
…h#3603) * packaging: Remove special versioning priveleges Adds a version suffix for CUDA 10.2 for ease of installing when installing from download.pytorch.org Signed-off-by: Eli Uriegas <[email protected]> * also include windows cmath fix Signed-off-by: Eli Uriegas <[email protected]> * remove comment Signed-off-by: Eli Uriegas <[email protected]> * fix indent Signed-off-by: Eli Uriegas <[email protected]> * actually add the script Signed-off-by: Eli Uriegas <[email protected]>
Coincides with pytorch/pytorch#53133
Signed-off-by: Eli Uriegas [email protected]