Yes, most likely CUDA10 is not supported in PyTorch 0.3 as the latter was released in ~Oct 2017 and was using CUDA7.5 back then.
I would not recommend to use such ancient PyTorch releases and instead to update to the latest release.