-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thinc GPU capability on Windows - fails to compile #51
Comments
Sorry this is hard. I don't use Windows, so am not of much help. You might try the wheels here? https://www.lfd.uci.edu/~gohlke/pythonlibs/ Some advertise CUDA linkage. It might solve your problem. |
Has there been a resolution to this? Right now using linux through VM so I do not have access to GPU. Windows solution would be extremely welcome... |
I'm also having trouble getting GPU working on Windows. I'm not sure what issue you are having, but in my case, it's the fact that I should note that I'm trying to do this using CUDA v9, so some of the issue may be due to that. Also, I just started digging into this today, so I may be way off. I think the issue is in the locate_cuda function in setup.py. I think there are two separate issue with the function. First, the following snippet fails to see nvcc, even though it's there.
I think this is because I'm guessing this is a platform dependent issue. Also, the code is looking for a |
It looks like Thinc has some hard time making GPU computation available if used on Windows.
Similar issues were raised in spaCy and thinc:
explosion/spaCy#1745
#50
It seems related in how the build is set-up in setup.py:
https://github.com/explosion/thinc/blob/master/setup.py#L56
Based on quick search, others are struggling with this as well:
rbgirshick/py-faster-rcnn#11
Some more info (they came to a working solution there):
cudamat/cudamat#46 (comment)
Will research a bit more later.
The text was updated successfully, but these errors were encountered: