Yuanhao Ji
|
d6b3ad4de2
|
[Dynamo] Replace torch._dynamo.optimize() with torch.compile() [2/N] (#140238)
related commits:
- #139706
- #140238
- #140247
- #140253
Pull Request resolved: https://github.com/pytorch/pytorch/pull/140238
Approved by: https://github.com/soulitzer
|
2024-11-13 05:13:39 +00:00 |
|
Aaron Gokaslan
|
5d074746e9
|
[BE]: Add better optional typing (#138426)
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/138426
Approved by: https://github.com/XuehaiPan, https://github.com/malfet
|
2024-10-27 14:19:00 +00:00 |
|
Michael Lazos
|
d2e9a8bf6d
|
[Reland] Fix inlining module-scoped store global (#132439)
Reland https://github.com/pytorch/pytorch/pull/132224
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132439
Approved by: https://github.com/anijain2305
|
2024-08-02 09:13:52 +00:00 |
|
PyTorch MergeBot
|
40c8f73099
|
Revert "Fix inlining module-scoped store global (#132224)"
This reverts commit c3a31d90e7.
Reverted https://github.com/pytorch/pytorch/pull/132224 on behalf of https://github.com/ZainRizvi due to Looks like the new import mock_store_global_crossfile_inline fails internally. Please see D60567756 for details ([comment](https://github.com/pytorch/pytorch/pull/132224#issuecomment-2263768729))
|
2024-08-01 19:06:36 +00:00 |
|
Michael Lazos
|
c3a31d90e7
|
Fix inlining module-scoped store global (#132224)
Fixes https://github.com/pytorch/pytorch/issues/132165
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132224
Approved by: https://github.com/anijain2305
|
2024-07-31 17:37:43 +00:00 |
|
Xuehai Pan
|
918ece4f4d
|
[BE][Easy][11/19] enforce style for empty lines in import segments in test/dy*/ (#129762)
See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501. Most changes are auto-generated by linter.
You can review these PRs via:
```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129762
Approved by: https://github.com/anijain2305
|
2024-07-27 17:43:53 +00:00 |
|
PyTorch MergeBot
|
92e3f45f0e
|
Revert "[dynamo] Refactor test cross importing (#113242)"
This reverts commit 4309d38f5d.
Reverted https://github.com/pytorch/pytorch/pull/113242 on behalf of https://github.com/huydhn due to Sorry for reverting your stack, but it is failing to list test internally with buck2 ([comment](https://github.com/pytorch/pytorch/pull/113242#issuecomment-1811674395))
|
2023-11-15 01:53:07 +00:00 |
|
Jason Ansel
|
4309d38f5d
|
[dynamo] Refactor test cross importing (#113242)
Having tests import tests is a bit annoying because fbcode/oss have different paths. This moves that stuff into a helper function.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/113242
Approved by: https://github.com/yanboliang
|
2023-11-11 03:17:35 +00:00 |
|
PyTorch MergeBot
|
59592389fc
|
Revert "[dynamo] Refactor test cross importing (#113242)"
This reverts commit 8858edad65.
Reverted https://github.com/pytorch/pytorch/pull/113242 on behalf of https://github.com/PaliC due to this diff appears to be causing inductor failures internally ([comment](https://github.com/pytorch/pytorch/pull/113242#issuecomment-1805132719))
|
2023-11-10 05:43:08 +00:00 |
|
Jason Ansel
|
8858edad65
|
[dynamo] Refactor test cross importing (#113242)
Having tests import tests is a bit annoying because fbcode/oss have different paths. This moves that stuff into a helper function.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/113242
Approved by: https://github.com/yanboliang
|
2023-11-09 01:36:27 +00:00 |
|
Yanbo Liang
|
369a256381
|
[Dynamo] Remove cross import in dynamo unit tests (#100851)
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100851
Approved by: https://github.com/jansel
|
2023-05-11 17:07:25 +00:00 |
|
PyTorch MergeBot
|
d98d95fb9f
|
Revert "[Dynamo] Remove cross import in dynamo unit tests (#100851)"
This reverts commit c4bbeb5b8a.
Reverted https://github.com/pytorch/pytorch/pull/100851 on behalf of https://github.com/jeanschmidt due to breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/100851#issuecomment-1540646623))
|
2023-05-09 18:30:01 +00:00 |
|
Yanbo Liang
|
c4bbeb5b8a
|
[Dynamo] Remove cross import in dynamo unit tests (#100851)
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100851
Approved by: https://github.com/jansel
|
2023-05-08 20:16:57 +00:00 |
|
Aaron Gokaslan
|
8fce9a09cd
|
[BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308)
Apply parts of pyupgrade to torch (starting with the safest changes).
This PR only does two things: removes the need to inherit from object and removes unused future imports.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94308
Approved by: https://github.com/ezyang, https://github.com/albanD
|
2023-02-07 21:10:56 +00:00 |
|
Jason Ansel
|
8f71e8de7e
|
Sync changes from pytorch/torchdynamo, enable tests (#86950)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86950
Approved by: https://github.com/Chillee
|
2022-10-14 23:08:58 +00:00 |
|
Jason Ansel
|
c7c09722ad
|
Move TorchDynamo into PyTorch core (#86461)
Context:
https://github.com/pytorch/torchdynamo/issues/1588
This PR moves [TorchDynamo](https://github.com/pytorch/torchdynamo) and TorchInductor into PyTorch core.
- `torchdynamo` becomes `torch._dynamo`
- `torchinductor` becomes `torch._inductor`
This PR was generated by running `copy_to_core.sh` in https://github.com/pytorch/torchdynamo/pull/1538
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86461
Approved by: https://github.com/voznesenskym
|
2022-10-13 23:18:06 +00:00 |
|