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

import encoding error #141

Closed
elward-cjy opened this issue Oct 30, 2018 · 7 comments · Fixed by #156
Closed

import encoding error #141

elward-cjy opened this issue Oct 30, 2018 · 7 comments · Fixed by #156

Comments

@elward-cjy
Copy link

hi航哥 你好,我想要跑TEN网络,然后按照步骤安装了pytorch master分支源码(1.0的也试过)还有 encoding,以及ninja-1.8.2,但是还是报错 Error building extension 'enclib_gpu',具体错误如下,可以麻烦你有空帮忙看看吗?非常感谢
cuda-9.0 ;
cudnn7.0.5 ;
image

@elward-cjy
Copy link
Author

不好意思啊,我自己找到问题了,是cuda的路径有点问题,打扰你了,谢谢大佬的开源~,

@zilongzhong
Copy link

@elward-cjy Correct. We need to change the CUDA environment path to kill this bug.
For example,
export CUDA_HOME='/usr/local/cuda/'
export CUDA_HOME='/usr/local/cuda-9.0/'

@OilGao
Copy link

OilGao commented Dec 24, 2018

@zilongzhong 请问 你现在能跑最新版本的 encoding吗 能提供一下 您的环境吗

@OilGao
Copy link

OilGao commented Dec 24, 2018

@elward-cjy 请问一下 你现在能跑最新版本的 encoding吗 能提供一下 您的环境吗

@zilongzhong
Copy link

zilongzhong commented Dec 25, 2018 via email

@Lydia-z
Copy link

Lydia-z commented Aug 13, 2019

@elward-cjy 想问一下你提到的pytorch的分支源码是什么意思呢,看其他问题下面也提到了要用Pytorch master

@elward-cjy
Copy link
Author

@elward-cjy 想问一下你提到的pytorch的分支源码是什么意思呢,看其他问题下面也提到了要用Pytorch master

就是因为encoding的代码作者有空的时候会根据pytorch版本的更新,同步做了更新,方便后面的人使用,所以你要么自己改源码,要么跟作者使用的pytorch版本一致,我之前是pytorch1.0还没出来的时候用的,版本不稳定,最新的是pytorch github master分支上的源码

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

Successfully merging a pull request may close this issue.

4 participants