Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPS does not support float64 #257

Open
bkrenusz opened this issue Dec 4, 2024 · 1 comment
Open

MPS does not support float64 #257

bkrenusz opened this issue Dec 4, 2024 · 1 comment

Comments

@bkrenusz
Copy link

bkrenusz commented Dec 4, 2024

In order to allow access of maps device the datatype should have an option to be set to torch.float32, not only torch.float64.

The best solution would be to have a parameter dtype when calling the torchdiffeq.odeint

@HungryAmoeba
Copy link

#223

You can pass in options={'dtype': torch.float32} to odeint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants