pytorch/torch
Lucas Hosseini 09f1f14569 Transition to new tensorpipe::Pipe API. (#55193)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55193

Test Plan: CI

Reviewed By: lw

Differential Revision: D27466387

fbshipit-source-id: 07b831d699f56874dd45f37e448b8c4244ead5e3
2021-04-02 02:28:07 -07:00
..
_C Lint trailing newlines (#54737) 2021-03-30 13:09:52 -07:00
autograd Refactor get numerical jacobian (#54092) 2021-03-31 16:28:16 -07:00
backends
contrib
csrc Transition to new tensorpipe::Pipe API. (#55193) 2021-04-02 02:28:07 -07:00
cuda Back out "[pytorch][PR] Merge CUDA Streams and Events" (#54996) 2021-03-31 10:21:35 -07:00
distributed [Gradient Compression] Report compression rate for batched PowerSGD hook (#55103) 2021-03-31 22:17:05 -07:00
distributions Remove legacy constructor calls from _torch_ folder. (#53889) 2021-03-19 15:20:19 -07:00
fft [doc] Fix documentations of torch functions (#52982) 2021-03-01 09:59:57 -08:00
for_onnx
futures Ensure torch.futures.wait_all exits early on error. (#53953) 2021-03-25 07:39:14 -07:00
fx [FX] Adds C-level monkeypatching of torch.randn so that we can capture it during tracing. (#54060) 2021-04-01 07:34:31 -07:00
jit Back out "[pytorch][PR] Merge CUDA Streams and Events" (#54996) 2021-03-31 10:21:35 -07:00
legacy
lib [DDP Logging] Log use of uneven inputs API (#54919) 2021-04-01 16:22:32 -07:00
linalg SVD docs improved (#54002) 2021-04-01 09:31:40 -07:00
multiprocessing Make SharedCache thread-safe (#53750) 2021-03-25 06:35:03 -07:00
nn [DDP Logging] Log use of uneven inputs API (#54919) 2021-04-01 16:22:32 -07:00
onnx [ONNX] Fix export of copy_ operator (#51938) (#54870) 2021-03-31 21:14:32 -07:00
optim Lint trailing newlines (#54737) 2021-03-30 13:09:52 -07:00
package [package] rename PackageExporter.external to PacakgeExporter.extern_modules (#54601) 2021-03-25 11:50:07 -07:00
profiler
quantization Revert D27408378: [quant][graphmode][fx][refactor] Factor out insert_observers_for_model to a separate function 2021-03-31 20:51:42 -07:00
sparse Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
special [special] Alias for special.expm1 and special.exp2 (#54670) 2021-03-30 10:03:13 -07:00
testing Port torch.copysign method_tests() to OpInfo (#54945) 2021-04-01 20:30:25 -07:00
utils docs: fix docstring signature of torch.{onnx,utils} (#54662) 2021-03-29 10:07:42 -07:00
__config__.py
__future__.py
__init__.py [codemod] fix tautological imports 2021-03-27 01:15:57 -07:00
_appdirs.py
_autograd_functions.py lu_backward: more numerically stable and with complex support. (#53994) 2021-03-25 13:33:58 -07:00
_classes.py
_deploy.py [package] Pull out _UnpicklerWrapper into PackageUnpickler (#53049) 2021-03-01 18:40:52 -08:00
_jit_internal.py [package] fix mangling issues with TorchScript (#54915) 2021-03-31 00:58:05 -07:00
_linalg_utils.py
_lobpcg.py
_lowrank.py
_namedtensor_internals.py
_ops.py
_python_dispatcher.py Rename DefaultBackend to CompositeExplicitAutograd (#54470) 2021-03-26 10:53:30 -07:00
_six.py
_storage_docs.py
_tensor.py Fix override for __iter__ (#54702) 2021-03-30 08:30:50 -07:00
_tensor_docs.py docs: remove extra backticks in narrow_copy (#54669) 2021-03-29 10:38:21 -07:00
_tensor_str.py
_torch_docs.py SVD docs improved (#54002) 2021-04-01 09:31:40 -07:00
_utils.py Back out "[pytorch][PR] Merge CUDA Streams and Events" (#54996) 2021-03-31 10:21:35 -07:00
_utils_internal.py
_VF.py
_vmap_internals.py
abi-check.cpp
CMakeLists.txt Link onnx_library when BUILD_TEST=0 for Windows (#51937) 2021-03-31 10:58:25 -07:00
custom_class.h [PyTorch][easy] Move more strings in torch::class_ (#54547) 2021-03-29 12:27:11 -07:00
custom_class_detail.h
deploy.h Lint trailing newlines (#54737) 2021-03-30 13:09:52 -07:00
extension.h
functional.py Deprecate torch.chain_matmul in favor of torch.linalg.multi_dot (#53453) 2021-04-01 04:50:51 -07:00
hub.py Only allow hub.load() from original repo. (#54451) 2021-03-22 20:27:54 -07:00
library.h Make meta a device (getting rid of empty_meta) (#53143) 2021-03-03 11:24:13 -08:00
overrides.py Deprecate torch.chain_matmul in favor of torch.linalg.multi_dot (#53453) 2021-04-01 04:50:51 -07:00
py.typed
quasirandom.py
random.py
README.txt
script.h Implement public API InferenceMode and its error handling (#55008) 2021-03-31 10:48:00 -07:00
serialization.py docs: reference links to serialization.html (#54659) 2021-03-29 10:15:07 -07:00
storage.py
types.py

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.