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

CUDA error #9

Open
liyajun299576 opened this issue Aug 5, 2019 · 0 comments
Open

CUDA error #9

liyajun299576 opened this issue Aug 5, 2019 · 0 comments

Comments

@liyajun299576
Copy link

I am running your code, but there is a bug that I can't solve, I hope I can get your help, thank you.

RuntimeError: cublas runtime error : resource allocation failed at /opt/conda/conda-bld/pytorch_1556653099582/work/aten/src/THC/THCGeneral.cpp:228
terminate called after throwing an instance of 'c10::Error'
what(): CUDA error: an illegal memory access was encountered (insert_events at /opt/conda/conda-bld/pytorch_1556653099582/work/c10/cuda/CUDACachingAllocator.cpp:564)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7ff0be23ddc5 in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: + 0x14792 (0x7ff0b8da5792 in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libc10_cuda.so)
frame #2: c10::TensorImpl::release_resources() + 0x50 (0x7ff0be22d640 in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #3: + 0x3067fb (0x7ff0b94c47fb in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libtorch.so.1)
frame #4: + 0x13ff1b (0x7ff0ed259f1b in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #5: + 0x3bf384 (0x7ff0ed4d9384 in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #6: + 0x3bf3d1 (0x7ff0ed4d93d1 in /home/vislab/anaconda3/lib/python3.6/site-packages/torch/lib/libtorch_python.so)

frame #21: __libc_start_main + 0xf0 (0x7ff0f4409830 in /lib/x86_64-linux-gnu/libc.so.6)

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

1 participant