I can only test on Linux at the moment, but yes - here the issue is fixed. However, the error message differs between CPU and GPU.
CPU: RuntimeError: expected scalar type Float but found Double
GPU: RuntimeError: Input and parameter tensors are not the same dtype, found input tensor with Double and parameter tensor with Float
This is probably not a huge issue, although it might be better to streamline the error messages between CUDA/other devices?
Thanks for the hint; it’s nice to see that users cannot run into this issue anymore in 1.7!