Torchfix Versions Save

TorchFix - a linter for PyTorch-using code with autofix support

v0.5.0

1 month ago
  • Added rule TOR203 to replace 'import torchvision.models as models' with 'from torchvision import models'
  • Added rules TOR104 and TOR105 for calling and importing non-public PyTorch functions that have known public aliases
  • Added rules TOR004 and TOR103 for importing removed and deprecated functions (in addition to the existing rules for calling those functions)
  • Fixed loading for deprecated symbols config in zipped deployments
  • Done several smaller bug fixes and refactorings

v0.4.0

3 months ago
  • Improvements for the standalone torchfix command:
    • Added --version flag
    • --select flag now accepts specific rules, not just ALL
    • Fixed excessive debug output on MacOS
  • Added PyTorch-internal rule TOR901
  • TorchFix explicitly requires at least Python 3.9 now
  • Small clean-ups and bugfixes

v0.3.0

4 months ago
  • Added rule TOR003 about explicitly passing use_reentrant to torch.utils.checkpoint
  • Added torch.nn.utils.weight_norm to the list of deprecated functions flagged by TOR101
  • Updated README with TOR0 rules description

v0.2.1

5 months ago

This is the first release for pytorch-labs/torchfix repo, with the only differences from TorchFix 0.2.0 on PyPI are files related to repo maintenance and project metadata.