pytorch/torch
Taylor Robie 07f038aa9d Add option for cpp_extensions to compile standalone executable (#47862)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47862

Test Plan: Imported from OSS

Reviewed By: ngimel

Differential Revision: D25199265

Pulled By: robieta

fbshipit-source-id: eceb04dea60b82eb10434099639fa3afa61000ca
2020-12-01 20:03:08 -08:00
..
_C Expose CXX_FLAGS through __config__ (#47861) 2020-12-01 19:58:29 -08:00
autograd Use libkineto in profiler (#46470) 2020-11-25 04:32:16 -08:00
backends
contrib
csrc Expose CXX_FLAGS through __config__ (#47861) 2020-12-01 19:58:29 -08:00
cuda Make numpy optional dependency for torch.cuda.amp (#48154) 2020-11-18 08:31:44 -08:00
distributed Remove balance and devices parameter from Pipe. (#48432) 2020-12-01 11:21:59 -08:00
distributions
fft
for_onnx
futures
fx [FX] Delete values after their last use (#48631) 2020-12-01 17:20:49 -08:00
jit Back out "[pytorch][PR] [JIT] Add __prepare_scriptable__ duck typing to allow replacing nn.modules with scriptable preparations" 2020-11-30 11:49:36 -08:00
legacy
lib Use libkineto in profiler (#46470) 2020-11-25 04:32:16 -08:00
linalg Added linalg.eigh, linalg.eigvalsh (#45526) 2020-11-22 04:57:28 -08:00
multiprocessing add type annotations to multiprocessing module (#47756) 2020-11-16 13:05:49 -08:00
nn Change the type hints of "pooling.py". (#48412) 2020-12-01 07:27:37 -08:00
onnx [ONNX] Cast Gather index to Long if needed (#47653) 2020-11-30 21:36:17 -08:00
optim
package
quantization fx quantization: add option to leave graph inputs and/or outputs quantized (#48624) 2020-12-01 10:39:51 -08:00
sparse
testing [pytorch] [PR] Rename cuda kernel checks to C10 (#48615) 2020-12-01 18:19:07 -08:00
utils Add option for cpp_extensions to compile standalone executable (#47862) 2020-12-01 20:03:08 -08:00
__config__.py Expose CXX_FLAGS through __config__ (#47861) 2020-12-01 19:58:29 -08:00
__future__.py
__init__.py torch.Assert: make it torch.jit.script'able (#47399) (#47973) 2020-11-16 11:46:12 -08:00
_appdirs.py
_autograd_functions.py
_classes.py
_jit_internal.py [JIT] Resolve torch.device in recursive compilation of classes (#47734) 2020-11-19 20:40:09 -08:00
_linalg_utils.py
_lobpcg.py
_lowrank.py
_namedtensor_internals.py
_ops.py
_six.py
_storage_docs.py
_tensor_docs.py Implement NumPy-like function torch.float_power() (#44937) 2020-11-27 18:01:42 -08:00
_tensor_str.py annotate torch._tensor_str (#48463) 2020-11-29 10:09:19 -08:00
_torch_docs.py Implement NumPy-like function torch.float_power() (#44937) 2020-11-27 18:01:42 -08:00
_utils.py Fix AttributeError in _get_device_attr (#48406) 2020-12-01 14:55:18 -08:00
_utils_internal.py
_VF.py
_vmap_internals.py
abi-check.cpp
CMakeLists.txt
custom_class.h
custom_class_detail.h
extension.h
functional.py [docs] docstring for no type checked meshgrid (#48471) 2020-11-26 17:28:41 -08:00
hub.py Cleanup unused code for Python < 3.6 (#47822) 2020-11-13 21:37:01 -08:00
library.h migrate export_caffe2_op_to_c10.h macros to the new dispatcher registration API, update code_analyzer regex (#48308) 2020-11-30 13:05:33 -08:00
overrides.py Add documentation for torch.overrides submodule. (#48170) 2020-11-30 11:25:31 -08:00
py.typed
quasirandom.py
random.py
README.txt
script.h
serialization.py
storage.py
tensor.py move Tensor comparisons back to C (#48018) 2020-11-18 15:25:41 -08:00
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.