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

"nextafter_cuda" not implemented for 'Half' #255

Open
maxin-cn opened this issue Oct 1, 2024 · 0 comments
Open

"nextafter_cuda" not implemented for 'Half' #255

maxin-cn opened this issue Oct 1, 2024 · 0 comments

Comments

@maxin-cn
Copy link

maxin-cn commented Oct 1, 2024

When I use half-precision reasoning, I encounter this problem, how can I solve it? Thanks~

./torchdiffeq/_impl/misc.py", line 193, in forward
    t = _nextafter(t, t - 1)
        ^^^^^^^^^^^^^^^^^^^^
  ./torchdiffeq/_impl/misc.py", line 361, in _nextafter
    out = torch.nextafter(x1, x2)
          ^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: "nextafter_cuda" not implemented for 'Half'
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

1 participant