pytorch/torch
JerryShih 997df9a6ec Remove protobuf dependency in pytorch cmake file. (#14182)
Summary:
Currently, pytorch doesn't dependent on protobuf. So, we don't need to include the protobuf dir in pytorch cmake file.
And if we build caffe2 without custom-protobuf[1], we will have the protobuf mismatched problem.

[1]
92dbd0219f/CMakeLists.txt (L65)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14182

Differential Revision: D13356273

Pulled By: ezyang

fbshipit-source-id: 8120c3452d158dc51d70156433d7b9076c6aed47
2018-12-05 22:49:50 -08:00
..
_thnn Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
autograd Allow cooperative structured objects to be passed modules in tracing (#13961) 2018-11-16 14:02:13 -08:00
backends Add support for torch.backends.cudnn.enabled (#13057) 2018-10-31 09:31:09 -07:00
contrib Remove stages from IR, they are not longer used 2018-10-05 13:58:15 -07:00
csrc Unify device argument parsing between torch and c10 2018-12-05 18:37:32 -08:00
cuda Give broadcast_coalesced tensors different version counters (#13594) 2018-11-07 21:49:35 -08:00
distributed Making dist.get_default_group private for PT1 release (#14767) 2018-12-04 19:22:24 -08:00
distributions Fix expanded mvn and lowrankmvn (#14557) 2018-11-30 10:49:13 -08:00
for_onnx
jit Enable testing on Loss modules (#14778) 2018-12-04 18:35:10 -08:00
legacy Remove torch/legacy (#11823) 2018-09-20 14:00:54 -07:00
lib c10d doesn't work with torch namespace (#14042) 2018-12-04 13:47:20 -08:00
multiprocessing Fix cuda multiprocessing cached memory (#14736) 2018-12-05 10:55:43 -08:00
nn Don't DCE PythonOp 2018-12-04 21:37:36 -08:00
onnx Add torch.nn.RReLU support in symbolic (#14781) 2018-12-05 13:10:07 -08:00
optim Add name for required optimizer parameter. (#13202) 2018-10-29 15:02:21 -07:00
sparse sparse.mm(), reland #14526 (#14661) 2018-12-03 10:39:27 -08:00
testing
utils Revert D13289919: [pytorch][PR] [DataLoader] Refactor dataloader.py 2018-12-04 20:25:16 -08:00
__init__.py Skip all builtin functions when importing names from _C._VariableFunctions to torch (#13884) 2018-11-15 13:23:57 -08:00
_jit_internal.py Add List to annotations (#14482) 2018-11-29 17:23:29 -08:00
_ops.py Use realpath for loaded libraries (#13936) 2018-11-15 11:23:20 -08:00
_six.py Revert D13289919: [pytorch][PR] [DataLoader] Refactor dataloader.py 2018-12-04 20:25:16 -08:00
_storage_docs.py
_tensor_docs.py Changes based on @gchanan's review of #13420 (#14441) 2018-11-30 11:03:20 -08:00
_tensor_str.py Fix half tensor printing plus speedup large tensor printing (#14418) 2018-11-28 06:13:06 -08:00
_torch_docs.py Make mean function work across multiple dimensions. (#14252) 2018-11-28 06:53:09 -08:00
_utils_internal.py Use fixed MASTER_PORT in test_distributed (#13109) 2018-10-25 08:51:34 -07:00
_utils.py Don't serialize hooks (#11705) 2018-10-16 20:11:03 -07:00
abi-check.cpp Fixes for Torch Script C++ API (#11682) 2018-09-17 09:54:50 -07:00
CMakeLists.txt Remove protobuf dependency in pytorch cmake file. (#14182) 2018-12-05 22:49:50 -08:00
extension.h Restructure torch/torch.h and extension.h (#13482) 2018-11-05 16:46:52 -08:00
functional.py fix stft arg types 2018-12-05 11:45:37 -08:00
hub.py fix import failure in hub test (#14742) 2018-12-04 08:37:05 -08:00
random.py
README.txt Make all of TH and THC C++. (#6913) 2018-04-28 07:45:02 -04:00
script.h Use torch:: instead of at:: in all C++ APIs (#13523) 2018-11-06 14:32:25 -08:00
serialization.py Restore device when import jit script module (#14454) 2018-12-03 14:10:30 -08:00
storage.py Storage.clone maintains original device (#14751) 2018-12-05 08:33:56 -08:00
tensor.py Rename potrf to cholesky (#12699) 2018-11-01 15:10:55 -07:00

Note [TH abstraction violation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TH/THC provide some hpp headers, which are proper C++ headers rather than
C headers.  These headers serve double duty as *internal implementation
detail* headers, whose contents should largely not be used by external
clients.

Ideally, we would not install these headers at all; instead, you should
use public functions (in headers like `THTensor.h`, NOT `THTensor.hpp`)
to manipulate these structs.  However, there are a few places
in torch/csrc where we violate this abstraction.  They are marked with
a pointer to this note.  Each of those sites will have to be refactored
when we refactor the guts of THTensor and related structures.