Skip to content

Revert "Partial revert of #38144 to fix ROCm CI. (#38363)"#38380

Closed
zasdfgbnm wants to merge 4 commits intopytorch:masterfrom
zasdfgbnm:revert-unary
Closed

Revert "Partial revert of #38144 to fix ROCm CI. (#38363)"#38380
zasdfgbnm wants to merge 4 commits intopytorch:masterfrom
zasdfgbnm:revert-unary

Conversation

@zasdfgbnm
Copy link
Copy Markdown
Collaborator

@zasdfgbnm zasdfgbnm commented May 13, 2020

The changes in this file broke ROCm and got reverted in #38363. This PR brings it back with ROCm fixed.

@zasdfgbnm zasdfgbnm changed the title Revert "Partial revert of #38144 to fix ROCm CI. (#38363)" [WIP] Revert "Partial revert of #38144 to fix ROCm CI. (#38363)" May 13, 2020
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented May 13, 2020

💊 CI failures summary and remediations

As of commit a3f6264 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 5 times.

@zasdfgbnm zasdfgbnm changed the title [WIP] Revert "Partial revert of #38144 to fix ROCm CI. (#38363)" Revert "Partial revert of #38144 to fix ROCm CI. (#38363)" May 13, 2020
@zasdfgbnm
Copy link
Copy Markdown
Collaborator Author

It is working now, ROCm is no longer failing with the error described in #38347 (comment). The problem was, ROCm was unable to handle std::abs, and ::abs should be used.

@zasdfgbnm zasdfgbnm requested review from ezyang and jeffdaily May 13, 2020 08:21
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown
Collaborator

@jeffdaily jeffdaily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the ROCm CI logs. Failures are not related to this change and are being addressed in other PRs etc. Thanks for finding a common solution for all platforms.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@ezyang merged this pull request in e7b4ef8.

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…" (pytorch#38380)

Summary:
The changes in this file broke ROCm and got reverted in pytorch#38363. This PR brings it back with ROCm fixed.
Pull Request resolved: pytorch#38380

Differential Revision: D21549632

Pulled By: ezyang

fbshipit-source-id: 68498aba70e651352d58fd0c865e71420dbf900a
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