pytorch/torch
Peter Bell 03d24dba6c Fix static linking cuDNN without static CUDA (#28378)
Summary:
Fixes https://github.com/pytorch/pytorch/pull/27887#issuecomment-544649765

The logs show that `USE_STATIC_CUDNN` is used but not `CAFFE2_STATIC_LINK_CUDA`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28378

Differential Revision: D18061841

Pulled By: ezyang

fbshipit-source-id: 3b9b49953094e02f808ff12107ba4226688d9986
2019-10-22 10:08:09 -07:00
..
autograd FunctionEventAvg implements __iadd__ interface (#27498) 2019-10-07 17:14:27 -07:00
backends Remove fbgemm_is_cpu_supported in favor of torch.backends.quantized.supported_qengines (#26840) 2019-09-27 13:45:15 -07:00
contrib Remove torch.contrib._graph_vis (#24874) 2019-08-21 10:48:07 -07:00
csrc Add C++ nn::functional pad 2019-10-21 22:20:38 -07:00
cuda Bag of documentation fixes; fix more sphinx warnings (#27850) 2019-10-15 07:31:14 -07:00
distributed fix python rpc handler exit crash (#27251) 2019-10-16 16:57:38 -07:00
distributions Fix most documentation warnings (#27782) 2019-10-13 10:34:01 -07:00
for_onnx
jit Add doc copy-edits from review (#26322) 2019-10-17 11:12:35 -07:00
legacy
lib improve error handling in getNCCLVersion in NCCLUtils (#27883) 2019-10-15 17:33:09 -07:00
multiprocessing Rename torch.namedtensor -> torch._namedtensor_internals (#26349) 2019-09-18 05:47:09 -07:00
nn Fix RNN nonlinearity (#28058) 2019-10-17 16:46:09 -07:00
onnx Move Method::lowered_graph to a separate pass out of the Method class. (#28242) 2019-10-18 12:48:40 -07:00
optim Bag of documentation fixes; fix more sphinx warnings (#27850) 2019-10-15 07:31:14 -07:00
quantization Do not insert observers for empty sequential modules (#28384) 2019-10-21 20:32:13 -07:00
sparse add some sparse tensor ops support in TorchScript (#24967) 2019-08-23 15:48:14 -07:00
testing
utils Support logging tensorboard embedding visualizations to generic filesystem (#27716) 2019-10-22 08:12:25 -07:00
__config__.py
__future__.py
__init__.py Rename _intrinsic to intrinsic 2019-10-02 18:53:06 -07:00
__init__.pyi.in Add data field to Tensor pyi. (#26093) 2019-09-13 07:32:03 -07:00
_classes.py
_jit_internal.py Add doc copy-edits from review (#26322) 2019-10-17 11:12:35 -07:00
_namedtensor_internals.py Allow align_to to take in partially named tensors (#27308) 2019-10-09 16:28:45 -07:00
_ops.py
_six.py module dedupe (#26666) 2019-10-12 09:51:57 -07:00
_storage_docs.py
_tensor_docs.py Add Polygamma to the docs (#27696) 2019-10-15 07:00:57 -07:00
_tensor_str.py Per-channel quantized tensor to have only a single axis (#26675) 2019-09-23 22:29:01 -07:00
_torch_docs.py cdist performance improvement for euclidean distance (#25799) 2019-10-17 14:56:54 -07:00
_utils_internal.py Add a wrapper for inspect in JIT to produce better error message (#25415) 2019-09-14 21:27:51 -07:00
_utils.py Implement pickle support for sparse tensors and torch.layout instances (#27062) 2019-10-04 08:09:32 -07:00
abi-check.cpp
CMakeLists.txt Fix static linking cuDNN without static CUDA (#28378) 2019-10-22 10:08:09 -07:00
custom_class.h
extension.h
functional.py cdist performance improvement for euclidean distance (#25799) 2019-10-17 14:56:54 -07:00
hub.py Fix hub when branch name contains slash. (#27960) 2019-10-18 10:18:12 -07:00
py.typed
quasirandom.py Make SobolEngine use random seed if not specified (#24884) 2019-08-20 09:22:41 -07:00
random.py
README.txt
script.h turn off autograd mode in android JNI wrapper (#26477) 2019-09-19 21:25:39 -07:00
serialization.py Implement pickle support for sparse tensors and torch.layout instances (#27062) 2019-10-04 08:09:32 -07:00
storage.py
tensor.py Allow align_to to take in partially named tensors (#27308) 2019-10-09 16:28:45 -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.