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

Complex numbers #458

Open
Ni-Chen opened this issue Aug 20, 2022 · 0 comments
Open

Complex numbers #458

Ni-Chen opened this issue Aug 20, 2022 · 0 comments

Comments

@Ni-Chen
Copy link

Ni-Chen commented Aug 20, 2022

Hi Jettify,

AdaBound and Adahessian doesn't work for complex numbers, which show the below messages

for AdaBound
File "optimizer.py", line 701, in step step_size.div_(denom).clamp_(lower_bound, upper_bound).mul_( RuntimeError: "clamp_scalar_cpu" not implemented for 'ComplexFloat'

For Adahessian
File "optimizer.py", line 433, in <listcomp> * torch.randint_like( RuntimeError: check_random_bounds handles only integral, floating-point and boolean types

Do you have any ideas to solve these issues? Thanks.

Bests,
Ni

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