Skip to content

Fix Eigen issue on OS X with CUDA and nvcc compile#9270

Closed
orionr wants to merge 1 commit intopytorch:masterfrom
orionr:fix-mac-cuda-eigen
Closed

Fix Eigen issue on OS X with CUDA and nvcc compile#9270
orionr wants to merge 1 commit intopytorch:masterfrom
orionr:fix-mac-cuda-eigen

Conversation

@orionr
Copy link
Contributor

@orionr orionr commented Jul 9, 2018

Breaking this out of #8338

This takes care of the Eigen failure we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Fix is to isolate Eigen from headers included by cu files and processed by nvcc. This was worked on with @smessmer.

cc @mingzhe09088 @smessmer @BIT-silence @Yangqing

Copy link
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.

@orionr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@orionr
Copy link
Contributor Author

orionr commented Jul 9, 2018

Manual run of the Android test passed at https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-android-ubuntu16.04-build/9231/console so going to declare victory on the tests here.

Copy link
Contributor

@mingzhe09088 mingzhe09088 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@xiaomengy xiaomengy left a comment

Choose a reason for hiding this comment

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

Please make sure the failed test are not related to this change.

@xiaomengy
Copy link
Contributor

@pytorchbot retest this please

@orionr
Copy link
Contributor Author

orionr commented Jul 9, 2018

@BIT-silence - yup, test failures are not related, although a retest never hurts. I am seeing internal test failures, so working through those.

orionr added a commit to orionr/pytorch that referenced this pull request Jul 11, 2018
Summary:
Pull Request resolved: pytorch#9350

Re-apply pytorch#9270

Breaking this out of pytorch#8338

This takes care of the Eigen failure we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Fix is to isolate Eigen from headers included by cu files and processed by nvcc. This was worked on with smessmer.

Differential Revision: D8794431

fbshipit-source-id: 7877732bbbc1d3ffa918938aaccf7eddfae394df
facebook-github-bot pushed a commit that referenced this pull request Jul 11, 2018
Summary:
Pull Request resolved: #9350

Re-apply #9270

Breaking this out of #8338

This takes care of the Eigen failure we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Fix is to isolate Eigen from headers included by cu files and processed by nvcc. This was worked on with smessmer.

Reviewed By: mingzhe09088

Differential Revision: D8794431

fbshipit-source-id: de656334af46c697802073f8e8d9a6aeb9ca65a7
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Breaking this out of pytorch#8338

This takes care of the Eigen failure we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Fix is to isolate Eigen from headers included by cu files and processed by nvcc. This was worked on with smessmer.

cc mingzhe09088 smessmer BIT-silence Yangqing
Pull Request resolved: pytorch#9270

Reviewed By: mingzhe09088

Differential Revision: D8768025

Pulled By: orionr

fbshipit-source-id: 5b34017aeb67e35a1b5938d962181ccd4cd37591
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Pull Request resolved: pytorch#9350

Re-apply pytorch#9270

Breaking this out of pytorch#8338

This takes care of the Eigen failure we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Fix is to isolate Eigen from headers included by cu files and processed by nvcc. This was worked on with smessmer.

Reviewed By: mingzhe09088

Differential Revision: D8794431

fbshipit-source-id: de656334af46c697802073f8e8d9a6aeb9ca65a7
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants