![YOLOv5 2022-3-25 torch 1.8.1+cu111 CUDA:0 (NVIDIA GeForce RTX 3060 Laptop GPU, 6144MiB) -> Invalid CUDA '--device 0' - windows - PyTorch Forums YOLOv5 2022-3-25 torch 1.8.1+cu111 CUDA:0 (NVIDIA GeForce RTX 3060 Laptop GPU, 6144MiB) -> Invalid CUDA '--device 0' - windows - PyTorch Forums](https://discuss.pytorch.org/uploads/default/original/3X/6/e/6e99ebda2e1db4249dc17e8bf9012c1e27af7ca3.png)
YOLOv5 2022-3-25 torch 1.8.1+cu111 CUDA:0 (NVIDIA GeForce RTX 3060 Laptop GPU, 6144MiB) -> Invalid CUDA '--device 0' - windows - PyTorch Forums
![RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False - PyTorch Forums RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False - PyTorch Forums](https://discuss.pytorch.org/uploads/default/original/3X/3/2/3249fa108b3bdfb05427abedc1696d6df7773084.png)
RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False - PyTorch Forums
![Torch CUDA unknown error, but CUDA and nvidia-smi properly installed on Azure K8s Service - PyTorch Forums Torch CUDA unknown error, but CUDA and nvidia-smi properly installed on Azure K8s Service - PyTorch Forums](https://discuss.pytorch.org/uploads/default/optimized/3X/5/2/527fdf554feb9f7c8c18bbc75fef9d07db78f0d2_2_1024x268.png)
Torch CUDA unknown error, but CUDA and nvidia-smi properly installed on Azure K8s Service - PyTorch Forums
Using 'with torch.cuda.device' but tensor is created in cpu · Issue #18399 · pytorch/pytorch · GitHub
torch.cuda.device not working but torch.cuda.set_device works · Issue #1608 · pytorch/pytorch · GitHub
![I need HELP. Python tells me that torch cuda uses the GPU, but my GPU is 0% used! - PyTorch Live - PyTorch Forums I need HELP. Python tells me that torch cuda uses the GPU, but my GPU is 0% used! - PyTorch Live - PyTorch Forums](https://discuss.pytorch.org/uploads/default/original/3X/9/9/99011fa6ebdeb56552ff27682235f2ab1fdc61dd.png)
I need HELP. Python tells me that torch cuda uses the GPU, but my GPU is 0% used! - PyTorch Live - PyTorch Forums
![RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False. Can't use GPU with tacotron2 - PyTorch Forums RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False. Can't use GPU with tacotron2 - PyTorch Forums](https://discuss.pytorch.org/uploads/default/original/3X/7/4/741447bef077b55a98b196a96acc89123d3e4110.png)
RuntimeError: Attempting to deserialize object on a CUDA device but torch. cuda.is_available() is False. Can't use GPU with tacotron2 - PyTorch Forums
![python - RuntimeError: Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _th_index_select - Stack Overflow python - RuntimeError: Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _th_index_select - Stack Overflow](https://i.stack.imgur.com/lzndd.png)
python - RuntimeError: Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _th_index_select - Stack Overflow
![AssertionError: CUDA unavailable, invalid device 0 requested on jetson Nano - Jetson Nano - NVIDIA Developer Forums AssertionError: CUDA unavailable, invalid device 0 requested on jetson Nano - Jetson Nano - NVIDIA Developer Forums](https://global.discourse-cdn.com/nvidia/original/3X/d/9/d9b0c9b3f1512305e870fc65136804b3b6aae708.png)