Based on this error message:

RuntimeError: CUDA error: all CUDA-capable devices are busy or unavailable

it seems your PyTorch application isn’t able to use the GPU.
Were you able to use the device before? If so, did you change something in the system (updates etc.)?
If you’ve updated the driver (or any other CUDA component), did you restart the machine?
Are other programs potentially blocking the device?