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

ComplexFloat #9

Open
fsmss opened this issue Aug 31, 2024 · 1 comment
Open

ComplexFloat #9

fsmss opened this issue Aug 31, 2024 · 1 comment

Comments

@fsmss
Copy link

fsmss commented Aug 31, 2024

你好,我用了你的模型 但是在 scaler.step(model_optim)报错RuntimeError: "_amp_foreach_non_finite_check_and_unscale_cuda" not implemented for 'ComplexFloat'

@MogicianXD
Copy link
Member

试试最新版的torch?如果依然不支持复数的半精度计算,你可以尝试替换为同文件下实现的ComplexLinear

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