Skip to content

[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

Merged
merged 5 commits into from
Mar 25, 2021

Conversation

seemethere
Copy link
Member

Coincides with pytorch/pytorch#53133

Signed-off-by: Eli Uriegas [email protected]

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]>
@seemethere seemethere requested a review from a team March 24, 2021 21:33
@seemethere seemethere changed the title Remove special versioning suffix rules for CUDA 10.2 [v0.9.1] Remove special versioning suffix rules for CUDA 10.2 Mar 24, 2021
@@ -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
Copy link
Contributor

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?

@@ -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
Copy link
Contributor

@malfet malfet Mar 24, 2021

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

Suggested change
# The default CUDA has no suffix

Signed-off-by: Eli Uriegas <[email protected]>
Signed-off-by: Eli Uriegas <[email protected]>
@seemethere seemethere force-pushed the remove_special_versioning branch from 2154dbd to eb9607e Compare March 24, 2021 23:33
Signed-off-by: Eli Uriegas <[email protected]>
@seemethere seemethere merged commit 8fb5838 into pytorch:release/0.9 Mar 25, 2021
@seemethere seemethere deleted the remove_special_versioning branch March 25, 2021 03:52
# The default CUDA has no suffix
if [[ "$CU_VERSION" != "cu102" ]]; then
export PYTORCH_VERSION_SUFFIX="+$CU_VERSION"
fi
export PYTORCH_VERSION_SUFFIX="+$CU_VERSION"
Copy link
Member

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?

Copy link
Member Author

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

seemethere added a commit that referenced this pull request Jun 15, 2021
* 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]>
seemethere added a commit to seemethere/vision that referenced this pull request Jun 15, 2021
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants