Repository: pytorch
Issue: RuntimeError: Error in dlopen: libnvJitLink.so.12: cannot open shared object file: No such file or directory
Labels: module: crash,module: distributions,triaged

### 🐛 Describe the bug

After running the code below:

```python
import torch
from torch.distributions import MultivariateNormal

mean = torch.ones(256, 9)
covariance = torch.eye(9)

mean = mean.to("cuda:0")
covariance = covariance.to("cuda:0")

distribution = MultivariateNormal(mean, scale_tril=covariance)
actions = distribution.sample()
actions_log_prob = distribution.log_prob(actions)
```

I get the error 

```console
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bolun/miniconda3/envs/mvp/lib/python3.7/site-packages/torch/distributions/multivariate_normal.py", line 216, in log_prob
    M = _batch_mahalanobis(self._unbroadcasted_scale_tril, diff)
  File "/home/bolun/miniconda3/envs/mvp/lib/python3.7/site-packages/torch/distributions/multivariate_normal.py", line 59, in _batch_mahalanobis
    M_swap = torch.linalg.solve_triangular(flat_L, flat_x_swap, upper=False).pow(2).sum(-2)  # shape = b x c
RuntimeError: Error in dlopen: libnvJitLink.so.12: cannot open shared object file: No such file or directory
```

I searched in the `lib` directory of my `conda` environment and the `lib` directory of my `torch` package I did not find `libnvJitLink.so.12`.

### Versions

```console
PyTorch version: 1.13.0
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.16.3
Libc version: glibc-2.10

Python version: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-53-generic-x86_64-with-debian-bullseye-sid
Is CUDA available: True
CUDA runtime version: 11.6.124
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA RTX A4000
GPU 1: NVIDIA RTX A4000
GPU 2: NVIDIA RTX A4000
GPU 3: NVIDIA RTX A4000

Nvidia driver version: 515.65.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.21.6
[pip3] torch==1.13.0
[pip3] torchaudio==0.13.0
[pip3] torchvision==0.14.0
[conda] blas                      2.116                       mkl    conda-forge
[conda] blas-devel                3.9.0            16_linux64_mkl    conda-forge
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] libblas                   3.9.0            16_linux64_mkl    conda-forge
[conda] libcblas                  3.9.0            16_linux64_mkl    conda-forge
[conda] liblapack                 3.9.0            16_linux64_mkl    conda-forge
[conda] liblapacke                3.9.0            16_linux64_mkl    conda-forge
[conda] mkl                       2022.1.0           h84fe81f_915    conda-forge
[conda] mkl-devel                 2022.1.0           ha770c72_916    conda-forge
[conda] mkl-include               2022.1.0           h84fe81f_915    conda-forge
[conda] numpy                     1.21.6           py37h976b520_0    conda-forge
[conda] pytorch                   1.13.0          py3.7_cuda11.6_cudnn8.3.2_0    pytorch
[conda] pytorch-cuda              11.6                 h867d48c_0    pytorch
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchaudio                0.13.0               py37_cu116    pytorch
[conda] torchvision               0.14.0               py37_cu116    pytorch
```

cc @fritzo @neerajprad @alicanb @nikitaved