You should see the same errors also on the CPU.
If that’s not the case, could you check the dtypes explicitly and if the mismatch doesn’t cause an error on the CPU, post a reproducible code snippet, so that we could have a look, please?