Commit Graph

7 Commits

Author SHA1 Message Date
Edward Z. Yang
e6ec0efaf8 Apply UFMT to all non test/torch files (#106205)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106205
Approved by: https://github.com/albanD
2023-07-29 02:56:24 +00:00
Justin Chu
8a688277a2 [BE] Enable ruff's UP rules and autoformat dynamo / functorch and refs (#105432)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105432
Approved by: https://github.com/ezyang
2023-07-19 13:48:44 +00:00
Philip Meier
bc73affdad prepare removal of deprecated functionality in torch.testing (#87969)
_Redo of #86586 with all BC breaking changes granularly placed into separate commits._

---

Per title. Deprecation happened on Feb 25, 2022 in c6f1bbc0ac, which made it into the 1.12 release. Since it is now 245 days later and the next release will be 1.14, the removals later in the stack comply with the [BC policy](https://github.com/pytorch/pytorch/wiki/PyTorch's-Python-Frontend-Backward-and-Forward-Compatibility-Policy#minimizing-the-disruption-of-bc-breaking-changes).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87969
Approved by: https://github.com/mruberry
2022-11-02 14:04:48 +00:00
Richard Zou
855649c25d [functorch] Namespace cleanup (pytorch/functorch#229)
Two main things happened:
- I removed {wrap_key, PythonTensor, pythonkey_trace} from being public
APIs
- I moved all compilation related things to the functorch.compile
namespace. This includes nnc_jit which is now in
functorch.compile.nnc_jit

Concerns:
- nnc_jit was in the functorch namespace for a long time. Should we
leave it there? Are there stakeholders to notify?
2022-07-21 13:41:09 -07:00
Bert Maher
51501b4e2f [functorch] Re-land the compile cache (pytorch/functorch#169)
* Re-land the compile cache

There were a few minor problems, but the major thing was that
handle_torch_function_no_python_arg_parser wasn't exposed via TORCH_API.

* make autograd ops work
2022-07-21 13:41:07 -07:00
Bert Maher
58aaddb217 [functorch] Revert the compile cache (pytorch/functorch#168) 2022-07-21 13:41:06 -07:00
Bert Maher
00c286220d [functorch] Python pointwise compiler implementation (pytorch/functorch#163) 2022-07-21 13:41:06 -07:00