Oguz Ulgen
|
72d2dba992
|
Add None return type to init (#132335)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132335
Approved by: https://github.com/albanD
|
2024-08-01 15:26:45 +00:00 |
|
Xuehai Pan
|
5b1cedacde
|
[BE] [2/3] Rewrite super() calls in functorch and torch (#94588)
Rewrite Python built-in class `super()` calls. Only non-semantic changes should be applied.
- #94587
- #94588
- #94592
Also, methods with only a `super()` call are removed:
```diff
class MyModule(nn.Module):
- def __init__(self):
- super().__init__()
-
def forward(self, ...):
...
```
Some cases that change the semantics should be kept unchanged. E.g.:
f152a79be9/caffe2/python/net_printer.py (L184-L190)
f152a79be9/test/test_jit_fuser_te.py (L2628-L2635)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94588
Approved by: https://github.com/ezyang, https://github.com/albanD
|
2023-02-10 21:16:33 +00:00 |
|
Kazuaki Ishizaki
|
a5f04e9a91
|
Fix typos in .md and .rst files (#88962)
This PR fixes typos `Github` in `.md` and `.rst` files.
`Github` -> `GitHub`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/88962
Approved by: https://github.com/kit1980
|
2022-11-17 03:37:02 +00:00 |
|
Wenzhe Xue
|
e40d95416f
|
[LT] fix lazy tensor tutorial and test for cpu only run (#79744)
`cuda_kwargs` is undefined when LTC_TS_CUDA is not used. This fixed the issue.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79744
Approved by: https://github.com/wconstab
|
2022-06-30 21:19:40 +00:00 |
|
Nikolay Korovaiko
|
a6341d2ce5
|
LT tutorial [WIP] (#76392)
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76392
Approved by: https://github.com/wconstab
|
2022-05-09 17:36:16 +00:00 |
|