Newer PyTorch Binaries for Older GPUs

After recently upgrading some code to a newer version of PyTorch, I found that it would no longer successfully execute on NVIDIA Tesla K40 GPUs. In particular, I was seeing the following error whenever a model's .forward() function was called: RuntimeError: CUDA error: no kernel image is available …