Xuehai Pan
|
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 |
|
Aaron Orenstein
|
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 |
|
yijun-lee
|
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 |
|
Xuehai Pan
|
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 |
|
Xuehai Pan
|
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 |
|
Yuanhao Ji
|
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 |
|
torotoki
|
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 |
|
Xuehai Pan
|
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 |
|
Xuehai Pan
|
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 |
|
PyTorch MergeBot
|
1ad08c7a5b
|
Revert "[dynamo][itertools] refactor itertools.chain and itertools.chain.from_iterable to use polyfills (#133864)"
This reverts commit 1b70366957.
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 |
|
PyTorch MergeBot
|
10c31e96df
|
Revert "[dynamo][itertools] refactor itertools.islice to use polyfill (#133876)"
This reverts commit 7d12e6dceb.
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 |
|
Xuehai Pan
|
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 |
|
Xuehai Pan
|
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 |
|
Xuehai Pan
|
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 |
|
Xuehai Pan
|
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 |
|
PyTorch MergeBot
|
f65df5edae
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 1dbd3476de.
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 |
|
Xuehai Pan
|
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 |
|
PyTorch MergeBot
|
3d7f3f6a55
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 0e49b2f18e.
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 |
|
Xuehai Pan
|
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 |
|
PyTorch MergeBot
|
2540ee372a
|
Revert "[dynamo][itertools] support itertools.tee (#133771)"
This reverts commit 28ce3c0227.
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 |
|
Xuehai Pan
|
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 |
|