RuntimeError: cuda runtime error (30) :

i am using cuda 8.0 and pytorch 0.1.12.
My test for cuda is fine : torch.cuda.is_available()--------True
But when i run a from
it comes with:
RuntimeError: cuda runtime error (30) : unknown error at /opt/conda/conda-bld/pytorch_1501972792122/work/pytorch-0.1.12/torch/lib/THC/generic/

can someone help me?
Thanks in advance.


You’re using pytorch v0.1, please upgrade to 0.3 as many interface has changed since then.

Thanks,my friend, i finally fixed my problem by reinstall a cuda in version 9.
And i use pytorch 0.3.
Thanks again. I stack in this problem for about one week. Thanks for saving my day.