|
f9fa138a39
|
[BE] Delete all pre py-3.10 checks (#163653)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/163653
Approved by: https://github.com/jansel
ghstack dependencies: #163648, #163649
|
2025-09-23 23:22:53 +00:00 |
|
|
162bf78df6
|
[dynamo] Support itertools.filterfalse (#160596)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160596
Approved by: https://github.com/guilhermeleobas
|
2025-08-18 18:07:57 +00:00 |
|
|
fa68216ca1
|
[itertools] Implement itertools.cycle with a polyfill (#159102)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/159102
Approved by: https://github.com/guilhermeleobas, https://github.com/zou3519
ghstack dependencies: #158774
|
2025-07-31 23:28:57 +00:00 |
|
|
64cc649275
|
[itertools] Fix accumulate (#158774)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158774
Approved by: https://github.com/guilhermeleobas, https://github.com/zou3519
|
2025-07-31 20:32:02 +00:00 |
|
|
b97274e8ac
|
[iter] Raise TypeError if iter arg cannot be iterable (#158410)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158410
Approved by: https://github.com/XuehaiPan, https://github.com/zou3519
ghstack dependencies: #156371, #156416, #156460
|
2025-07-29 21:24:21 +00:00 |
|
|
3ce352e389
|
[BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144549
Approved by: https://github.com/jansel
|
2025-02-28 03:03:53 +00:00 |
|
|
a79100ab11
|
PEP585 update - torch/_dynamo (#145105)
See #145101 for details.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145105
Approved by: https://github.com/bobrenjc93
|
2025-01-18 20:47:11 +00:00 |
|
|
d4609af1ca
|
Propagate callable parameter types using ParamSpec (#142306) (#144047)
Fixes #142306
This PR includes typing improvements and refactoring for the following files:
- __init__.py
- decorators.py
- _ops.py
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144047
Approved by: https://github.com/XuehaiPan, https://github.com/Skylion007
Co-authored-by: Aaron Gokaslan <aaronGokaslan@gmail.com>
Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
|
2025-01-06 16:16:18 +00:00 |
|
|
d9507548d8
|
[dynamo][BE] move zip_longest polyfill to submodule polyfills.itertools (#144067)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144067
Approved by: https://github.com/yanboliang
ghstack dependencies: #144066
|
2025-01-03 08:08:31 +00:00 |
|
|
fb1beb31d2
|
[dynamo][BE] move dropwhile polyfill to submodule polyfills.itertools (#144066)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144066
Approved by: https://github.com/jansel
|
2025-01-03 08:08:31 +00:00 |
|
|
b9618c9b88
|
[Dynamo] Add itertools.compress() support (#139061)
Use polyfill to add `itertools.compress()` support in Dynamo.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/139061
Approved by: https://github.com/jansel
|
2024-10-29 10:25:55 +00:00 |
|
|
6d7cbc20d2
|
Add dynamo itertools.pairwise support (#135416)
Fixes #133766
Pull Request resolved: https://github.com/pytorch/pytorch/pull/135416
Approved by: https://github.com/XuehaiPan, https://github.com/jansel
Co-authored-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
|
2024-09-10 11:37:59 +00:00 |
|
|
eed0d76682
|
[dynamo][itertools] refactor itertools.islice to use polyfill (#133876)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133876
Approved by: https://github.com/jansel
ghstack dependencies: #133864, #133894
|
2024-08-31 10:08:07 +00:00 |
|
|
ebbdeeede1
|
[dynamo][itertools] refactor itertools.chain and itertools.chain.from_iterable to use polyfills (#133864)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133864
Approved by: https://github.com/jansel
|
2024-08-31 00:11:54 +00:00 |
|
|
1ad08c7a5b
|
Revert "[dynamo][itertools] refactor itertools.chain and itertools.chain.from_iterable to use polyfills (#133864)"
This reverts commit 1b703669576223024eb84a76c53b7ec5ed8bb270.
Reverted https://github.com/pytorch/pytorch/pull/133864 on behalf of https://github.com/ZainRizvi due to This is still failing internally with the same error about 'Graph break due to unsupported builtin _functools.reduce' ([comment](https://github.com/pytorch/pytorch/pull/133778#issuecomment-2321787968))
|
2024-08-30 16:06:10 +00:00 |
|
|
10c31e96df
|
Revert "[dynamo][itertools] refactor itertools.islice to use polyfill (#133876)"
This reverts commit 7d12e6dceb94a221288f21c0e79ce8ca667d657a.
Reverted https://github.com/pytorch/pytorch/pull/133876 on behalf of https://github.com/ZainRizvi due to This is still failing internally with the same error about 'Graph break due to unsupported builtin _functools.reduce' ([comment](https://github.com/pytorch/pytorch/pull/133778#issuecomment-2321787968))
|
2024-08-30 16:06:09 +00:00 |
|
|
7d12e6dceb
|
[dynamo][itertools] refactor itertools.islice to use polyfill (#133876)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133876
Approved by: https://github.com/jansel
ghstack dependencies: #133769, #133778, #133779, #133864, #133894
|
2024-08-29 20:56:16 +00:00 |
|
|
1b70366957
|
[dynamo][itertools] refactor itertools.chain and itertools.chain.from_iterable to use polyfills (#133864)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133864
Approved by: https://github.com/jansel
ghstack dependencies: #133769, #133778, #133779
|
2024-08-29 20:56:16 +00:00 |
|
|
70853b792a
|
[dynamo][itertools] support itertools.tee (#133771)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133771
Approved by: https://github.com/jansel
ghstack dependencies: #133801
|
2024-08-29 13:36:52 +00:00 |
|
|
9e806c1a60
|
[dynamo] simplify implementation for os.fspath (#133801)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133801
Approved by: https://github.com/anijain2305
|
2024-08-29 13:36:52 +00:00 |
|
|
f65df5edae
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 1dbd3476de07d7f07489e243cb7a43073e8c25c1.
Reverted https://github.com/pytorch/pytorch/pull/133771 on behalf of https://github.com/ZainRizvi due to Sorry, have to revert this in order to be able to revert https://github.com/pytorch/pytorch/pull/133769 ([comment](https://github.com/pytorch/pytorch/pull/133771#issuecomment-2316611158))
|
2024-08-29 02:49:30 +00:00 |
|
|
1dbd3476de
|
[dynamo][itertools] support itertools.tee (#133771)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133771
Approved by: https://github.com/jansel
|
2024-08-27 00:08:04 +00:00 |
|
|
3d7f3f6a55
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 0e49b2f18e78386c8ed9ce540a8017411c7ab0cd.
Reverted https://github.com/pytorch/pytorch/pull/133771 on behalf of https://github.com/ZainRizvi due to Sorry, but this breaks internal tests because of using functools ([comment](https://github.com/pytorch/pytorch/pull/133778#issuecomment-2310445169))
|
2024-08-26 15:16:17 +00:00 |
|
|
0e49b2f18e
|
[dynamo][itertools] support itertools.tee (#133771)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133771
Approved by: https://github.com/jansel
ghstack dependencies: #133769, #133778, #133779
|
2024-08-23 10:13:12 +00:00 |
|
|
2540ee372a
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 28ce3c0227830c78c0b5d4ec592f5c3879bc61a3.
Reverted https://github.com/pytorch/pytorch/pull/133771 on behalf of https://github.com/ZainRizvi due to breaking main windows cpu tests - this stack still causes that windows test to fail ([comment](https://github.com/pytorch/pytorch/pull/133712#issuecomment-2299776241))
|
2024-08-20 21:14:44 +00:00 |
|
|
28ce3c0227
|
[dynamo][itertools] support itertools.tee (#133771)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133771
Approved by: https://github.com/jansel
ghstack dependencies: #133712, #133769, #133778, #133779
|
2024-08-20 19:48:57 +00:00 |
|