Re-land D35572928: [kineto] implement kineto client interface (#76239)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76239
Original commit changeset: 181483c11f2e
Original Phabricator Diff: D35572928 (https://github.com/pytorch/pytorch/commit/018dee502ac8097627fd8ee589be947e3d5b2af1)
Reland D35572928 (https://github.com/pytorch/pytorch/commit/018dee502ac8097627fd8ee589be947e3d5b2af1)
`#include <caffe2/torch/csrc/api/include/torch/torch.h>` somehow doesn't build in OSS, while it works in fbcode.
I accidentally thought the red signals were resolved from other offending diffs and bypassed it and this slipped through. Waiting for OSS CI
Test Plan: OSS CI
Reviewed By: malfet
Differential Revision: D35848116
fbshipit-source-id: 708524f7e1861c3ff4313c1996da0630d17de3e5
(cherry picked from commit 9dd85ef91ed537b5bd64c32f1ca01994753bafe7)