Skip to content

Export CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_*#11233

Closed
mingzhe09088 wants to merge 1 commit intopytorch:masterfrom
mingzhe09088:devgpu-fix
Closed

Export CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_*#11233
mingzhe09088 wants to merge 1 commit intopytorch:masterfrom
mingzhe09088:devgpu-fix

Conversation

@mingzhe09088
Copy link
Contributor

This PR resolved the following compilation errors on devgpu:
/home/mingzhe0908/pytorch/build/lib/libcaffe2_gpud.so: undefined reference to caffe2::CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_Tan()' /home/mingzhe0908/pytorch/build/lib/libcaffe2_gpud.so: undefined reference to caffe2::CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_MaxPool3D()'
....

The same error has been happening with caffe2 build with debug mode before build_caffe2 was removed.

@ssnl
Copy link
Collaborator

ssnl commented Sep 4, 2018

ignore the errors about test_logical_short_circuit. they are fixed on master.

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.

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

Copy link
Contributor

@orionr orionr left a comment

Choose a reason for hiding this comment

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

Awesome!

PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
This PR resolved the following compilation errors on devgpu:
/home/mingzhe0908/pytorch/build/lib/libcaffe2_gpud.so: undefined reference to `caffe2::CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_Tan()'
/home/mingzhe0908/pytorch/build/lib/libcaffe2_gpud.so: undefined reference to `caffe2::CAFFE2_PLEASE_ADD_OPERATOR_SCHEMA_FOR_MaxPool3D()'
....

The same error has been happening with caffe2 build with debug mode before build_caffe2 was removed.
Pull Request resolved: pytorch#11233

Reviewed By: orionr

Differential Revision: D9645527

Pulled By: mingzhe09088

fbshipit-source-id: 68a45aa7fd815cac41b7fd64cfd9838b3226345a
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants