-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Encountered CUDA error: invalid device function Error from operator: #245
Comments
Any updates on the issue ? |
2 similar comments
Any updates on the issue ? |
Any updates on the issue ? |
Please build caffe2 from source. |
Any updates on the issue ? |
1 similar comment
Any updates on the issue ? |
System information Detectron$ python2 -c 'from caffe2.python import core' 2>/dev/null && echo "Success" || echo "Failure" export PATH=/usr/local/cuda-8.0/bin:$PATH when I run
I get the following error:
after running
I get the following error:
|
I have also gotten around this error by building Caffe2 from source |
@mfe7 , I was able to compile caffe2 from source after a lot of desperate try. Basically, the solution was not that complicated. I was using virtualenv and I was also compiling everything locally. When I installed every package including caffe2 with sudo permission in ubuntu. I worked like a charm and I was able to train with my own custom dataset with amazing results. Currently I am trying to compile it in another machine in which I have no sudo permission. If I can manage that, I will try to post an update here. I am preparing a bash file which you can run easily if you have sudo permission. |
I compiled caffe2 from source without sudo, and error disappeared. |
I was encountering a variant of this issue when using the unsupported python 3 fork. However, I found that I didn't have to install caffe2 from source, just install an older version: |
same error |
Expected results
This test to pass.
Actual results
Detailed steps to reproduce
System information
PYTHONPATH
environment variable: ?python --version
output: Python 2.7.14 :: Anaconda, Inc.The text was updated successfully, but these errors were encountered: