Commit Graph

3 Commits

Author SHA1 Message Date
Linbin Yu
b62d39eda0 Consolidate all python targets in the tools folder (#80408)
Summary:
All buck targets that points to caffe2/tools folder are now moved to tools/BUCK.
This also eliminates all python library/binary import in pt_defs.bzl, which caused T124308913.

Test Plan: CI

Differential Revision: D37468313

Pull Request resolved: https://github.com/pytorch/pytorch/pull/80408
Approved by: https://github.com/seemethere, https://github.com/malfet
2022-06-29 23:27:47 +00:00
Linbin Yu
e98e7fe428 [4] move pt_operator_library to shared BUCK file (#80170)
Summary:
Move pt_operator_library to pt_ops.bzl and make it shared with OSS BUCK build

This will replace D36912042. I will update all load statements in future diffs.

Test Plan: sandcaslte, OSS CI

Differential Revision: D37390060

Pull Request resolved: https://github.com/pytorch/pytorch/pull/80170
Approved by: https://github.com/JacobSzwejbka
2022-06-24 21:51:20 +00:00
Linbin Yu
55aa0b1a84 sync pt_ops.bzl (#80194)
sync from fbsource

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/80194
Approved by: https://github.com/mehtanirav, https://github.com/bigfootjon, https://github.com/malfet
2022-06-24 02:57:30 +00:00