when I am trying to install pytorch on mac. I have encountered something like this
/Users/shiyu/Desktop/pytorch-master/torch/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported
Is there any idea why it happens. Actually I have once installed pytorch on mac with titan x. But when I reinstall it, I have encountered this error. Any idea would be helpful.
it looks like https://github.com/pytorch/pytorch/pull/1119/files introduced this issue. I will look into it.
Same error , global functions with clang host compiler is not yet supported!
my GPU is pascal titan x, system os is Mac 10.12.4, cuda version is 8.0.61, clang 8.0.0!
I was able to reproduce this problem.
someone from nvidia is looking into this and we will have a fix soon.
Fix is now merged in top of tree. Please let me know if you have any further issues related to this.