Add documentation for TorchFix rules
kit1980 opened this issue · 7 comments
Add documentation for the rules to the https://github.com/pytorch-labs/torchfix/blob/main/README.md, see the existing file for examples.
If you what to work on a task, please comment on this issue and link your PR when you have it.
TOR101 Use of deprecated function
- Add doc for
torch.chain_matmul
- Add doc for
torch.cholesky
- Add doc for
torch.qr
- Add doc for
torch.range
The rest
- Add doc for TOR102
torch.load
withoutweights_only
parameter is unsafe - Add doc for TOR104 Use of non-public function
- Add doc for TOR201 Find and fix deprecated
pretrained
parameters in TorchVision models - Add doc for TOR202 The transform
v2.ToTensor()
is deprecated - Add doc for TOR203 Consider replacing 'import torchvision.models as models'
- Add doc for TOR401 Detected DataLoader running with synchronized implementation
I would like to take up TOR101
deprecation docs - torch.chain_matmul
, torch.cholesky
, torch.qr
, torch.range
.
Hey @kit1980, I would like to work on the issue under the Docathon-2024
- Add doc for TOR102 torch.load without weights_only parameter is unsafe
- Add doc for TOR104 Use of non-public function
- Add doc for TOR201 Find and fix deprecated pretrained parameters in TorchVision models
- Add doc for TOR202 The transform v2.ToTensor() is deprecated
- Add doc for TOR203 Consider replacing 'import torchvision.models as models'
- Add doc for TOR401 Detected DataLoader running with synchronized implementation
Hey @kit1980, I would like to work on the issue under the Docathon-2024
@swayam0322 -- use / assigntome to make sure that the issue is assigned to you
assigntome
doesn't work in this repo, just commenting on the issue is fine.
But please mention the specific items from the list to you want to do.
Hey @kit1980
I can work on the following tasks of the issue:
TOR101 Use of deprecated function
- Add doc for torch.chain_matmul
- Add doc for torch.cholesky
- Add doc for torch.qr
- Add doc for torch.range
The rest
- Add doc for TOR203 Consider replacing 'import torchvision.models as models'
Let me know if it's okay for me to work on these, and I can send in a PR. Cheers!