Device Gpu If Torch Cuda Is Available Else Cput