pytorch/torch
Mike Ruberry ab5edf21b0 Revert D23789657: [wip] fast typeMeta/ScalarType conversion approach 2
Test Plan: revert-hammer

Differential Revision:
D23789657 (1ed1a2f5b0)

Original commit changeset: 5afdd52d24bd

fbshipit-source-id: 6d827be8895bcb39c8e85342eee0f7a3f5056c76
2020-09-29 09:40:53 -07:00
..
_C Enable torch.cuda.amp typechecking (#45480) 2020-09-29 09:31:55 -07:00
autograd add self cuda time to avoid double/quadruple counting (#45209) 2020-09-28 21:51:13 -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 Revert D23789657: [wip] fast typeMeta/ScalarType conversion approach 2 2020-09-29 09:40:53 -07:00
cuda Enable torch.cuda.amp typechecking (#45480) 2020-09-29 09:31:55 -07:00
distributed Update docs for RPC async_execution (#45458) 2020-09-28 20:48:12 -07:00
distributions Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
fft torch.fft: Multi-dimensional transforms (#44550) 2020-09-23 22:09:58 -07:00
for_onnx
futures
fx [FX] Lint pass for Graphs (#44973) 2020-09-28 23:00:32 -07:00
jit [jit] allow submodule methods inference rule be different (#43872) 2020-09-23 14:10:31 -07:00
legacy
lib [Distributed] DeleteKey API for c10d TCP Store (#45401) 2020-09-28 15:30:39 -07:00
linalg Add torch.linalg.norm (#42749) 2020-08-28 18:28:33 -07:00
multiprocessing Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
nn [quant] torch.max_pool1d (#45152) 2020-09-29 01:45:22 -07:00
onnx [ONNX] Fix view for dynamic input shape (#43558) 2020-09-28 14:46:51 -07:00
optim Add more tests for mt optimizers (#45475) 2020-09-28 23:59:58 -07:00
package [package] Add dependency viz (#45214) 2020-09-28 15:38:41 -07:00
quantization [quant] Add quant APIs to save/load observer state_dict (#44846) 2020-09-29 01:52:42 -07:00
sparse Fix type annotations for torch.sparse, enable in CI (#43108) 2020-08-17 14:40:11 -07:00
testing Missing tests about torch.xxx(out=...) (#44465) 2020-09-29 04:54:46 -07:00
utils 20000x faster audio conversion for SummaryWriter (#44201) 2020-09-28 15:44:29 -07:00
__config__.py
__future__.py
__init__.py [RELAND] Added optimizers based on multi tensor apply (#45408) 2020-09-28 13:14:04 -07:00
_appdirs.py
_classes.py [BE] Use f-string in various Python functions (#44161) 2020-09-04 07:38:25 -07:00
_jit_internal.py [JIT] Disallow plain Optional type annotation without arg (#44586) 2020-09-16 16:07:26 -07:00
_linalg_utils.py
_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
_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 torch.sgn for complex tensors (#39955) 2020-09-22 08:24:53 -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 Improves fft doc consistency and makes deprecation warnings more prominent (#45409) 2020-09-29 09:07:49 -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 Beef up vmap docs and expose to master documentation (#44825) 2020-09-18 13:26:25 -07:00
abi-check.cpp
CMakeLists.txt Fix Windows build failure after DDP PR merged (#45335) 2020-09-25 12:37:50 -07:00
custom_class_detail.h
custom_class.h Adding a version serialization type to ConvPackedParam (#43086) 2020-08-28 15:41:30 -07:00
extension.h
functional.py Improves fft doc consistency and makes deprecation warnings more prominent (#45409) 2020-09-29 09:07:49 -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 Add TORCH_SELECTIVE_NAME to AMP definitions (#44711) 2020-09-16 14:25:17 -07:00
overrides.py [quant] torch.max_pool1d (#45152) 2020-09-29 01:45:22 -07:00
py.typed
quasirandom.py Type check quasirandom (#45434) 2020-09-28 16:49:38 -07:00
random.py
README.txt
script.h
serialization.py torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
storage.py [BE] Use f-string in various Python functions (#44161) 2020-09-04 07:38:25 -07:00
tensor.py Makes rdiv consistent with div (#45407) 2020-09-29 08:34:01 -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.