Hi,
The eye function takes a device= argument. You can specify "cuda" there. Or provide a device object.
eye
device=
"cuda"