Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable advice warnings from PyTorch
There are a number of warnings in PyTorch that represent advice for improving model, data loader, and training decisions. However these warnings are confusing to end users and often aren't clearly relevant even for advanced users. As a result, PyTorch supports disabling these class of warnings, PossibleUserWarnings. See: https://lightning.ai/docs/pytorch/2.4.0/advanced/warnings.html Lightning-AI/pytorch-lightning#10644 This change follows the recommended approach to hide these warnings from users.
- Loading branch information