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

solve 'NaN or Inf found in input tensor' with disable --fp16 #334

Open
lang-dye opened this issue Jul 26, 2023 · 1 comment
Open

solve 'NaN or Inf found in input tensor' with disable --fp16 #334

lang-dye opened this issue Jul 26, 2023 · 1 comment

Comments

@lang-dye
Copy link

          try disable "--cuda_ray‘’, I solve this issue with it. I guess that it happened with enable "--cuda_ray‘’ and '--fp16' together,cause CUDA raymarching calculate tensor error, but pytorch is OK.

Originally posted by @lang-dye in #331 (comment)

@lang-dye
Copy link
Author

just disable '--fp16'

@lang-dye lang-dye changed the title try disable "--cuda_ray‘’, I solve this issue with it. I guess that it happened with enable "--cuda_ray‘’ and '--fp16' together,cause CUDA raymarching calculate tensor error, but pytorch is OK. solve 'NaN or Inf found in input tensor' with disable --fp16 Jul 26, 2023
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