Trying to run lesson2-immage_models and am getting stuck trying to run the cell with:
with error at:
RuntimeError Traceback (most recent call last)
----> 1 plt.imshow(data.val_ds.denorm(to_np(x))*1.4);
~/Desktop/Kodiranje/fastai_home/courses/dl1/fastai/core.py in to_np(v)
68 if isinstance(v, (list,tuple)): return [to_np(o) for o in v]
69 if isinstance(v, Variable): v=v.data
—> 70 if isinstance(v, torch.cuda.HalfTensor): v=v.float()
71 return v.cpu().numpy()
RuntimeError: Cannot initialize CUDA without ATen_cuda library. PyTorch splits its backend into two shared libraries: a CPU library and a CUDA library; this error has occurred because you are trying to use some CUDA functionality, but the CUDA library has not been loaded by the dynamic linker for some reason. The CUDA library MUST be loaded, EVEN IF you don’t directly use any symbols from the CUDA library! One common culprit is a lack of -Wl,–no-as-needed in your link arguments; many dynamic linkers will delete dynamic library dependencies if you don’t depend on any of their symbols. You can check if this has occurred by using ldd on your binary to see if there is a dependency on *_cuda.so library.
I used to be able to run the code smoothly, I think something broke with the updates via Git Pull
How can I fix this problem? Presuming I can modify some lines in core.py
Additional info: am on MacOS where I try to run short version before running my Paperspace instances.
Edit: Running this on Paperspace there are no problems.