Skip to content
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

ignore cudnn when compiling pytorch with cudnn in PATH: "~/cudnn" #1167

Closed
brisker opened this issue Apr 1, 2017 · 2 comments
Closed

ignore cudnn when compiling pytorch with cudnn in PATH: "~/cudnn" #1167

brisker opened this issue Apr 1, 2017 · 2 comments

Comments

@brisker
Copy link

brisker commented Apr 1, 2017

ignore cudnn when compiling pytorch with cudnn in path: ~/cudnn, how to compile with cudnn if my cudnn has to be in PATH: ~/cudnn for some reason? I have already ~/cudnn in my bashrc PATH

@apaszke
Copy link
Contributor

apaszke commented Apr 1, 2017

Assuming that the library is in ~/cudnn/lib64/libcudnn.so, headers are in ~/cudnn/include/cudnn.h, and the ~ expands to /home/brisker (you need to verify these yourself), you can build pytorch like this:

export CUDNN_LIB_DIR=/home/brisker/cudnn/lib64
export CUDNN_INCLUDE_DIR=/home/brisker/cudnn/include
python setup.py install

In the future please ask questions in the forums. We're using GitHub issues for bug reports and feature requests only.

@apaszke apaszke closed this as completed Apr 1, 2017
@brisker
Copy link
Author

brisker commented Apr 1, 2017

@apaszke Thanks for reply so quickly!

jjsjann123 pushed a commit to jjsjann123/pytorch that referenced this issue Nov 5, 2021
* Fixes Issue pytorch#1167

* Create test_ternary_ops_integer_compatibility

Co-authored-by: Ryan Spring <rdspring1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants