To(device) changed value of input

Also, double post from here, so disregard my post as you’ve already narrowed down the root cause without updating this double post.
Please avoid creating multiple posts in the future.