RuntimeError: Unrecognized CachingAllocator option: expandable_segments
vim ~/.bashrc export PYTORCH_CUDA …
RuntimeError: CUDA error: no kernel image is available for execution on the device
nvcc –version ===> 10.1 …
vim ~/.bashrc export PYTORCH_CUDA …
nvcc –version ===> 10.1 …