pytorch/torch
2024-12-12 02:45:52 +00:00
..
_awaits
_C Inductor annotations (#130429) 2024-12-10 08:53:39 +00:00
_C_flatbuffer
_custom_op
_decomp Fix undesired specialization on slice after split. (#142372) 2024-12-11 18:52:17 +00:00
_dispatch Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_dynamo filelock: Make waitcounter variant to use (#139816) 2024-12-12 01:18:34 +00:00
_export Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_functorch Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_higher_order_ops [foreach_map] Initial foreach map HOP impl for inference (#142098) 2024-12-11 21:32:11 +00:00
_inductor [Inductor][CPP] Fix Mask Dtype mismatch (#142103) 2024-12-12 01:21:32 +00:00
_lazy
_library Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_logging Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_numpy Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_prims Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_prims_common Remove an unused variable from _prims_common/wrappers.py (#138480) 2024-12-10 00:12:53 +00:00
_refs Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_strobelight Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_subclasses Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_vendor
accelerator Revert "[BE][accelerator] formalize API name {current,set}_device_{idx => index} (#140542)" 2024-12-11 21:44:23 +00:00
amp
ao Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
autograd Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
backends [BE] replace incorrect .. note:: invocations (#142868) 2024-12-11 19:58:18 +00:00
compiler Introduce remote cache key prefix to break cache (#142148) 2024-12-10 00:35:50 +00:00
contrib
cpu
csrc [PGNCCL] Move NCCLComm impl to cpp (#142826) 2024-12-12 02:45:52 +00:00
cuda [BE] replace incorrect .. note:: invocations (#142868) 2024-12-11 19:58:18 +00:00
distributed [BE] replace incorrect .. note:: invocations (#142868) 2024-12-11 19:58:18 +00:00
distributions Remove some unused type ignores (round 1) (#142325) 2024-12-09 18:23:46 +00:00
export fix output node name (#142506) 2024-12-11 17:28:28 +00:00
fft
func
futures
fx Add automatic_dynamic_shapes_mark_as == "oblivious" (#141444) 2024-12-11 14:39:13 +00:00
jit Remove some unused type ignores (round 1) (#142325) 2024-12-09 18:23:46 +00:00
legacy
lib
linalg fix linalg.SVD docs typo: wrong V* shape in reduced SVD (#142037) 2024-12-04 09:18:33 +00:00
masked Correctly specify size of sparse_csr tensors in maskedtensor binary ops (#134335) 2024-12-03 02:55:57 +00:00
monitor
mps [MPS] Add CompileShader method (#141478) 2024-12-11 02:00:51 +00:00
mtia [BE] replace incorrect .. note:: invocations (#142868) 2024-12-11 19:58:18 +00:00
multiprocessing
nested [aotd] non-contiguous NestedTensor mutation in compile (#139630) 2024-12-06 12:18:46 +00:00
nn DistributedDataParallel: add init_sync option to control collectives during initialization (#142824) 2024-12-11 20:28:38 +00:00
onnx [ONNX] Avoid overwriting overlapped decomposed functions (#142831) 2024-12-11 18:47:40 +00:00
optim Remove some unused type ignores (round 1) (#142325) 2024-12-09 18:23:46 +00:00
package [torch.package, 3.13] fixes to torch.package for 3.13 (#141409) 2024-12-05 00:23:47 +00:00
profiler
quantization
signal
sparse
special
testing [foreach_map] Initial foreach map HOP impl for inference (#142098) 2024-12-11 21:32:11 +00:00
utils filelock: Make waitcounter variant to use (#139816) 2024-12-12 01:18:34 +00:00
xpu Support torch.xpu.mem_get_info API (#141230) 2024-12-05 08:17:25 +00:00
__config__.py
__future__.py
__init__.py Transform unbacked int expressions into a fresh unbacked int. (#141917) 2024-12-05 16:53:44 +00:00
_appdirs.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_classes.py
_compile.py
_custom_ops.py
_deploy.py
_environment.py
_guards.py Add tensor overlapping guards. (#139555) 2024-12-05 14:43:58 +00:00
_jit_internal.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_linalg_utils.py
_lobpcg.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_lowrank.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_meta_registrations.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_namedtensor_internals.py
_ops.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py
_streambase.py
_tensor_docs.py
_tensor_str.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_tensor.py [dim_order] raised runtime error when tensor has ambiguous dim order (#141632) 2024-12-08 23:16:57 +00:00
_thread_safe_fork.py
_torch_docs.py Update documentation for torch.mean() to note behavior with empty tensors (#142039) 2024-12-05 17:21:53 +00:00
_utils_internal.py
_utils.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py Revert "Remove unused Python variables in torch/[_-a]* (#133492)" 2024-12-11 17:29:12 +00:00
abi-check.cpp
CMakeLists.txt Revert "export AOTI_TORCH_EXPORT on Windows. (#140030)" 2024-12-09 17:04:20 +00:00
custom_class_detail.h
custom_class.h
extension.h
functional.py
hub.py
library.h
library.py Improve torch.library.opcheck and register_autograd docs (#141883) 2024-12-03 16:28:56 +00:00
overrides.py [dim_order] raised runtime error when tensor has ambiguous dim order (#141632) 2024-12-08 23:16:57 +00:00
py.typed
quasirandom.py
random.py
README.txt
return_types.py
script.h
serialization.py Allow user to manually pass module.name associated with global in {add}_safe_global (#142153) 2024-12-06 18:56:39 +00:00
storage.py
torch_version.py
types.py
version.py.tpl

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.