NVIDIA / modulus-launch

Repo of optimized training recipes for accelerating PyTorch workflows of AI driven surrogates for physical systems
Apache License 2.0
56 stars 27 forks source link

:bug:[BUG]: Usage of deprecated `torch.norm` #77

Closed kit1980 closed 1 year ago

kit1980 commented 1 year ago

torch.norm is deprecated and may be removed in a future PyTorch release. Its documentation and behavior may be incorrect, and it is no longer actively maintained.

Please follow https://pytorch.org/docs/stable/generated/torch.norm.html to update.

examples/cfd/ahmed_body_mgn/utils.py:70

mnabian commented 1 year ago

Thanks @kit1980, I can take a look at this. We also welcome contributions! Please feel free to make a PR if you have a quick fix for this.