This PR sets the default dtype for MPS based accelerators (aka Mac M1 etc), thus allowing use of this library for them.
Without this, the user either gets an unsupported dtype error or has to manually set it themselves. I figured the latter option could be done by torchdiffeq directly.
This PR sets the default dtype for MPS based accelerators (aka Mac M1 etc), thus allowing use of this library for them.
Without this, the user either gets an unsupported dtype error or has to manually set it themselves. I figured the latter option could be done by
torchdiffeq
directly.