I’m not sure what you want to do here, but there are several ways to do things:

use from_blob with a pointer to cuda memory,
create the cuda tensor and use the tensor.data_ptr() as a destination,
create a cuda tensor and use tensor.copy_(src)