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

Recv failure: Connection reset by peer #2

Closed
AlexHex7 opened this issue Oct 31, 2019 · 2 comments
Closed

Recv failure: Connection reset by peer #2

AlexHex7 opened this issue Oct 31, 2019 · 2 comments

Comments

@AlexHex7
Copy link

AlexHex7 commented Oct 31, 2019

@nagadomi
My setting is CUDA10.0 Cudnn 7.6.0
I follow your step torch/cutorch#834 (comment)
It says:
fatal: unable to access 'http://github.com/nagadomi/cutorch.git/': Recv failure: Connection reset by peer
fatal: clone of 'http://github.com/nagadomi/cutorch.git' into submodule path 'extra/cutorch' faile
( I use git clone to get cutorch to extra/.)

After that, I run my code. error comes up: module 'cudnn' not found:No LuaRocks module found for cudnn.

Then I install cudnn by "luarocks install --only-from=https://luarocks.org/dev cudnn". It saids that "Missing dependencies for cudnn: cutorch"

So download your repo "https://github.com/nagadomi/cutorch", "cd cutorch/; luarocks install rocks/cutorch-scm-1.rockspec". The error is:

CMake Error at /usr/local/share/cmake-3.16/Modules/FindCUDA.cmake:707 (message):
Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
CMakeLists.txt:7 (FIND_PACKAGE)

@AlexHex7 AlexHex7 reopened this Oct 31, 2019
@nagadomi
Copy link
Owner

I've fixed cutorch URL 2dac858 (http->https). Try again from git clone distro.
But it worked in my network environment. There may be a problem with your network.

@AlexHex7
Copy link
Author

AlexHex7 commented Nov 1, 2019

@nagadomi Thanks, It works. As for the CMake Error, my cuda_path is wrong. So I change it.

And thanks again for provided this repo. It really helps me a lot.

@AlexHex7 AlexHex7 closed this as completed Nov 1, 2019
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