Torchfix

Latest version: v0.5.0

Safety actively analyzes 625831 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.0

- 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

0.4.0

- 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

0.3.0

- 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

0.2.1

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.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.