Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[easy] encapsulate fb changes from OSS (pytorch#113677)
Summary: encapsulate fb changes into `torch._inductor.fx_passes.fb`, so that adding new passes (`fb.xxx`) won't need to touch OSS code like so: ``` # in torch/_inductor/fx_passes/pre_grad.py if config.is_fbcode(): from .fb import xxx # every new fb/xxx.py would have needed this change in OSS code base ``` Test Plan: CI Differential Revision: D51315193 Pull Request resolved: pytorch#113677 Approved by: https://github.com/khabinov, https://github.com/chenyang78
- Loading branch information