mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-06 00:54:56 +08:00
Summary: Overal context: open-source BlackBoxPredictor as the entry point for inference in Caffe2 (thread safe abstraction for Caffe2 inference). This should be used in ThroughputBenchmark for the purpose of framework comparison This specific diff: There should be no harm in moving transformation code to OSS. On the advantages side we will be able to compare production Caffe2 setup with PyTorch in the most fair way via ThroughputBenchmark. This approach avoid any complicated transformation regirstries. Building those proper would be significant engineering effort as well as production risk. In the past we had SEVs related to transforms being turned off due to various refactors. Given that we don't plan to build any other significant investments into transformation logic except existing ones (like TVM and Glow), and those also relate to open-source technologies, I came up to the conclusion of moving to OSS the whole thing. Pull Request resolved: https://github.com/pytorch/pytorch/pull/23350 ghstack-source-id: 87121538 Pull Request resolved: https://github.com/pytorch/pytorch/pull/24928 Test Plan: waitforsandcastle Differential Revision: D16445133 Pulled By: salexspb fbshipit-source-id: a93106489611dfe427b0f144717bc720d04e47f3