pytorch/torch
Jerry Zhang d92bf921db [quant][graphmode][fx] Remove inplace option for fuse_fx (#46953)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46953

Test Plan: Imported from OSS

Reviewed By: supriyar

Differential Revision: D24579402

fbshipit-source-id: 5e0b8abf682287ab3c7dd54c2fc2cf309295e147
2020-10-27 22:34:11 -07:00
..
_C add type annotations to comm.py (#46736) 2020-10-27 14:27:06 -07:00
autograd Allow Tensor-likes in torch.autograd.gradcheck (#45732) 2020-10-09 11:51:27 -07:00
backends Enable typechecking for torch.testing._internal.common_quantized.* (#44805) 2020-09-17 14:24:32 -07:00
contrib Fix exception chaining in torch/ (#43836) 2020-08-31 20:26:23 -07:00
csrc [Gradient Compression] Provide 2 default C++ comm hooks (#46701) 2020-10-27 21:43:15 -07:00
cuda Add nvtx.range() context manager (#42925) 2020-10-22 19:46:16 -07:00
distributed Add NCCL_ASYNC_ERROR_HANDLING to docs (#46856) 2020-10-26 14:41:32 -07:00
distributions Annotate torch.nn.cpp (#46490) 2020-10-23 17:40:32 -07:00
fft torch.fft: Two dimensional FFT functions (#45164) 2020-10-17 16:23:06 -07:00
for_onnx
futures fix #45552 - adding add_done_callback(fn) to torch.futures.Future (#45675) 2020-10-13 07:47:36 -07:00
fx [FX] Fix handling of inf and nan literals (#46894) 2020-10-27 17:55:35 -07:00
jit Replace map(lambda constructs (#46462) 2020-10-22 09:50:22 -07:00
legacy
lib ProcessGroupNCCL::alltoall_base needs to call recordStream (#46603) 2020-10-22 15:53:19 -07:00
linalg Enable dtype arg for torch.linalg.norm with order 'fro' and 'nuc' (#46637) 2020-10-26 02:59:00 -07:00
multiprocessing Add exception classification to torch.multiprocessing.spawn (#45174) 2020-10-09 12:59:41 -07:00
nn add type annotations to comm.py (#46736) 2020-10-27 14:27:06 -07:00
onnx [ONNX] Export var, var_mean and std_mean ops (#45678) 2020-10-21 11:23:54 -07:00
optim Added foreach_zero_ API (#46215) 2020-10-27 18:03:34 -07:00
package [packaging] simpler dependency plotting (#45686) 2020-10-06 23:40:00 -07:00
quantization [quant][graphmode][fx] Remove inplace option for fuse_fx (#46953) 2020-10-27 22:34:11 -07:00
sparse Revised sparse tensor documentation. (#45400) 2020-10-22 02:07:54 -07:00
testing [OpBench] fix jit tracing with quantized op/tensor by enabling _compare_tensors_internal to compare quantized tensors (#46772) 2020-10-27 18:53:13 -07:00
utils Annotate torch.nn.cpp (#46490) 2020-10-23 17:40:32 -07:00
__config__.py
__future__.py
__init__.py Avoid leaking has_torch_function and handle_torch_function in torch namespace (#46680) 2020-10-22 07:48:36 -07:00
_appdirs.py
_autograd_functions.py make torch.lu differentiable. (#46284) 2020-10-23 10:13:46 -07:00
_classes.py [BE] Use f-string in various Python functions (#44161) 2020-09-04 07:38:25 -07:00
_jit_internal.py [JIT] adding torch.jit.isinstance support (#46062) 2020-10-20 16:47:49 -07:00
_linalg_utils.py Support custom exception message (#41907) 2020-08-01 13:03:45 -07:00
_lobpcg.py Backward support for generalized eigenvalue solver with LOBPCG in forward [only k-rank SYMEIG case] (#43002) 2020-09-28 07:22:35 -07:00
_lowrank.py Add __torch_function__ for methods (#37091) 2020-08-05 20:44:13 -07:00
_namedtensor_internals.py
_ops.py
_six.py Delete raise_from from torch._six (#43981) 2020-09-01 15:46:18 -07:00
_storage_docs.py
_tensor_docs.py Revised sparse tensor documentation. (#45400) 2020-10-22 02:07:54 -07:00
_tensor_str.py [quant] Create PerRowQuantizer for floating point scale and zero_point (#42612) 2020-08-13 11:20:53 -07:00
_torch_docs.py Revised sparse tensor documentation. (#45400) 2020-10-22 02:07:54 -07:00
_utils_internal.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
_utils.py [caffe2][torch] correctly re-raise Manifold StorageException 2020-08-28 11:41:10 -07:00
_VF.py Address JIT/Mypy issue with torch._VF (#43454) 2020-08-25 09:23:54 -07:00
_vmap_internals.py Allow vmap to accept nested python data structures as inputs (#46289) 2020-10-20 07:52:17 -07:00
abi-check.cpp
CMakeLists.txt make a way to disable callgrind (#46116) 2020-10-13 16:18:04 -07:00
custom_class_detail.h
custom_class.h Support doc_string for TorchBind custom classes (#46576) 2020-10-24 12:51:35 -07:00
extension.h
functional.py make torch.lu differentiable. (#46284) 2020-10-23 10:13:46 -07:00
hub.py Add a torch.hub.load_local() function that can load models from any local directory with a hubconf.py (#44204) 2020-09-21 14:17:21 -07:00
library.h Rationalize inlining of kernels into the unboxing wrapper (#42845) 2020-10-15 04:02:51 -07:00
overrides.py Make add_relu an internal function (#46676) 2020-10-22 18:08:15 -07:00
py.typed
quasirandom.py Type check quasirandom (#45434) 2020-09-28 16:49:38 -07:00
random.py Fix manual seed to unpack unsigned long (#42206) 2020-08-11 18:05:34 -07:00
README.txt
script.h
serialization.py Use storage.cpu() for moving storage to CPU in serialization. (#46028) 2020-10-13 12:51:10 -07:00
storage.py [BE] Use f-string in various Python functions (#44161) 2020-09-04 07:38:25 -07:00
tensor.py make torch.lu differentiable. (#46284) 2020-10-23 10:13:46 -07:00
types.py Enable torch.tensor typechecks (#45077) 2020-09-24 08:22:06 -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.