rocmarchive / realcaffe2

The repo is obsolete. Use at your own risk.
https://github.com/pytorch/pytorch
Apache License 2.0
12 stars 2 forks source link

miopen ops looking for reference in libcaffe2.so #99

Closed petrex closed 6 years ago

petrex commented 6 years ago

Not sure if this is env issue; need to investigate why this is happening (should go to libcaffe2_hip.so instead)

WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
WARNING:root:Debug message: No module named caffe2_pybind11_state_gpu
CRITICAL:root:Cannot load caffe2.python. Error: /usr/local/lib/libcaffe2.so: undefined symbol: hipFree
ashishfarmer commented 6 years ago

This looks like a problem with the makefiles where it looks for a library in a wrong location. Try running your python script from the location /build/bin and see if it works. This is a workaround for now

petrex commented 6 years ago

we need a one-time review/fix on makefile. might be duplicate #63