remove dead proto_convert library (#97322)

remove dead proto_convert library

Summary:
This has no code, only a collection of headers. Just make sure the
only thing that includes it still builds.

Test Plan: Rely on CI.

Reviewers: sahanp

Subscribers:

Tasks:

Tags:

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/pytorch/pytorch/pull/97322).
* #97337
* #97336
* #97335
* #97334
* #97325
* #97324
* #97323
* __->__ #97322
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97322
Approved by: https://github.com/malfet
This commit is contained in:
mikey dagitses
2023-03-22 14:40:31 +00:00
committed by PyTorch MergeBot
parent 5537792307
commit d850c33bfe
5 changed files with 2 additions and 19 deletions

View File

@ -1038,7 +1038,6 @@ filegroup(
"caffe2/utils/math/utils.cc", "caffe2/utils/math/utils.cc",
"caffe2/utils/math_cpu.cc", "caffe2/utils/math_cpu.cc",
"caffe2/utils/murmur_hash3.cc", "caffe2/utils/murmur_hash3.cc",
"caffe2/utils/proto_convert.cc",
"caffe2/utils/proto_utils.cc", "caffe2/utils/proto_utils.cc",
"caffe2/utils/proto_wrap.cc", "caffe2/utils/proto_wrap.cc",
"caffe2/utils/signal_handler.cc", "caffe2/utils/signal_handler.cc",

View File

@ -11,6 +11,7 @@
#include "caffe2/core/blob_serialization.h" #include "caffe2/core/blob_serialization.h"
#include "caffe2/core/blob_stats.h" #include "caffe2/core/blob_stats.h"
#include "caffe2/core/common.h"
#include "caffe2/core/db.h" #include "caffe2/core/db.h"
#include "caffe2/core/numa.h" #include "caffe2/core/numa.h"
#include "caffe2/core/operator.h" #include "caffe2/core/operator.h"
@ -31,12 +32,12 @@
#include "caffe2/opt/optimize_ideep.h" #include "caffe2/opt/optimize_ideep.h"
#include "caffe2/opt/passes.h" #include "caffe2/opt/passes.h"
#include "caffe2/opt/shape_info.h" #include "caffe2/opt/shape_info.h"
#include "caffe2/proto/caffe2.pb.h"
#include "caffe2/predictor/emulator/data_filler.h" #include "caffe2/predictor/emulator/data_filler.h"
#include "caffe2/predictor/predictor.h" #include "caffe2/predictor/predictor.h"
#include "caffe2/python/pybind_state_registry.h" #include "caffe2/python/pybind_state_registry.h"
#include "caffe2/python/pybind_workspace.h" #include "caffe2/python/pybind_workspace.h"
#include "caffe2/utils/cpuid.h" #include "caffe2/utils/cpuid.h"
#include "caffe2/utils/proto_convert.h"
#include "caffe2/utils/string_utils.h" #include "caffe2/utils/string_utils.h"
#include "torch/csrc/autograd/variable.h" #include "torch/csrc/autograd/variable.h"
#include "torch/csrc/jit/python/module_python.h" #include "torch/csrc/jit/python/module_python.h"

View File

@ -30,7 +30,6 @@ list(APPEND Caffe2_CPU_SRCS
utils/math/utils.cc utils/math/utils.cc
utils/math_cpu.cc utils/math_cpu.cc
utils/murmur_hash3.cc utils/murmur_hash3.cc
utils/proto_convert.cc
utils/proto_utils.cc utils/proto_utils.cc
utils/proto_wrap.cc utils/proto_wrap.cc
utils/threadpool/ThreadPool.cc utils/threadpool/ThreadPool.cc

View File

@ -1,5 +0,0 @@
#include "caffe2/utils/proto_convert.h"
#include "caffe2/core/logging.h"
namespace caffe2 {
} // namespace caffe2

View File

@ -1,11 +0,0 @@
#ifndef CAFFE2_UTILS_PROTO_CONVERT_H_
#define CAFFE2_UTILS_PROTO_CONVERT_H_
#include "caffe2/core/common.h"
#include "caffe2/proto/caffe2_pb.h"
#include "caffe2/proto/torch_pb.h"
namespace caffe2 {
} // namespace caffe2
#endif // CAFFE2_UTILS_PROTO_CONVERT_H_