PyTorch 1.9.0 fixed the issue in the pip wheel (it wasn’t observed in the conda binary) so you would have to update to one of them.
If you depend on PyTorch 1.8.0, you could build it from source, since the issue was caused by splitting the library (necessary for static linking of CUDA, cudnn, etc.).