Convert torch tensors directly to cupy tensors?

You don’t need dlpack. Direct conversion as in my example works fine.