pytorch/caffe2/perfkernels
Jiakai Liu 67c530851c get rid of protobuf dependencies (#25650)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25650

This PR removes protobuf dependencies from mobile build altogether:
- caffe2/proto: protobuf files, including caffe2.proto and torch.proto;
- caffe2 components that depend on caffe2.proto, including most part of
caffe2/core, caffe2/utils;
- libprotobuf / libprotobuf-lite dependencies;
- protobuf compiler;
- some utils class, e.g.: netdef_converter.cpp;
- introduce a macro to disable third_party/onnx which depends on protobuf;

Test Plan:
- builds;
- link with demo app to make sure it can load and run a model in pickle format;

Differential Revision: D17183548

Pulled By: ljk53

fbshipit-source-id: fe60b48674f29c4a9b58fd1cf8ece44191491531
2019-09-06 08:48:20 -07:00
..
__init__.py
adagrad.cc
adagrad.h
adagrad_avx.cc
CMakeLists.txt get rid of protobuf dependencies (#25650) 2019-09-06 08:48:20 -07:00
common.h
common_avx.cc
common_avx2.cc
common_avx512.cc
cvtsh_ss_bugfix.h
embedding_lookup.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
embedding_lookup.h minor comment fix (#22140) 2019-08-08 21:08:47 -07:00
embedding_lookup_avx2.cc change the epilogue of SLS to match the simd section (#21439) 2019-06-05 18:41:55 -07:00
embedding_lookup_fused_8bit_rowwise_avx2.cc change the epilogue of SLS to match the simd section (#21439) 2019-06-05 18:41:55 -07:00
embedding_lookup_idx.cc remove caffe2.pb.h dependency for embedding_lookup_idx.cc (#25670) 2019-09-06 00:54:36 -07:00
embedding_lookup_idx.h Make EmbeddingLookup APIs take offsets rather than lengths to match the PyTorch's EmbeddingBag (#24944) 2019-08-23 14:43:56 -07:00
embedding_lookup_idx_avx2.cc Make EmbeddingLookup APIs take offsets rather than lengths to match the PyTorch's EmbeddingBag (#24944) 2019-08-23 14:43:56 -07:00
fused_8bit_rowwise_embedding_lookup.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
fused_8bit_rowwise_embedding_lookup.h
hp_emblookup_codegen.py Make EmbeddingLookup APIs take offsets rather than lengths to match the PyTorch's EmbeddingBag (#24944) 2019-08-23 14:43:56 -07:00
math.h
math_cpu_avx2.cc
math_cpu_base.cc
typed_axpy.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
typed_axpy.h
typed_axpy_avx.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00
typed_axpy_avx2.cc remove dependency to caffe2::math and eigen (#21169) 2019-05-31 11:55:16 -07:00