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

error: ‘class at::Context’ has no member named ‘getCurrentCUDAStream… #98

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Conversation

jiapei100
Copy link
Contributor

No description provided.

Copy link

@YexingWan YexingWan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your commits work for me, thank you

@clarle
Copy link

clarle commented Dec 11, 2018

For folks trying to get vid2vid running on PyTorch 1.0.0, you need to make the changes in this pull request.

Thanks @jiapei100!

yorsh87 added a commit to yorsh87/flownet2-pytorch that referenced this pull request Jan 10, 2019
@MoonBlvd
Copy link

MoonBlvd commented Feb 9, 2019

Thank you for your pull request! I'm using pytorch 1.0.0 and CUDA 10. After merging this pull request, I was able to install the three customized layers (correlation, resample2d and channelnorm). However I had to use sudo /path/to/virtualenv/python setup.py install since I was facing permission denied issue in virtualenv. After those, when I try python main.py in my virtual env, it gives errors: resample2d_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at18SparseCUDATensorIdEv. It seems that the compiled binary is till not usable. Could you please help?

@fabiopk
Copy link

fabiopk commented Feb 23, 2019

I am having the exact same problem as @MoonBlvd , with the resample2d_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at18SparseCUDATensorIdEv.

Could anyone run this with CUDA 10?

@awaelchli
Copy link

Why do I get a different message?:
undefined symbol _ZN2at19UndefinedTensorImpl10_singletonE

@fitsumreda fitsumreda merged commit 72f2585 into NVIDIA:master Apr 30, 2019
@Bingmang
Copy link

No!!!
It does not work actually!
The Error was caused by PyTorch version, the code should never be running in PyTorch 1.0.0.
And these codes will cause the undefined symbol problem in master branch using PyTorch 0.4.1.
So please revert the commit...

@huangbiubiu
Copy link

Same problem as @MoonBlvd. Is there any workaround?

undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs

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 this pull request may close these issues.

9 participants