pytorch/torch
2024-08-05 17:21:56 +00:00
..
_awaits
_C [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_C_flatbuffer
_custom_op
_decomp
_dispatch
_dynamo [traced-graph][sparse] propagate sparsity in fx graph (#131920) 2024-08-05 15:49:53 +00:00
_export serde sympy functions (#132493) 2024-08-05 08:08:50 +00:00
_functorch [traced-graph][sparse] propagate sparsity in fx graph (#131920) 2024-08-05 15:49:53 +00:00
_higher_order_ops Revert "[export] Convert autocast to HOO (#131914)" 2024-08-04 02:10:35 +00:00
_inductor [inductor] unificate SUBPROCESS_DECODE_ARGS variable in cpp_builder.py (#132615) 2024-08-05 16:00:35 +00:00
_lazy
_library [Doc] fix some typos (found by codespell and typos) (#132544) 2024-08-05 17:21:56 +00:00
_logging
_numpy [test/torch_np] Fix usages of deprecated NumPy 2.0 APIs in numpy_tests (#131909) 2024-08-05 16:21:08 +00:00
_prims
_prims_common
_refs Don't attempt to compute hints for unbacked expressions (#132060) 2024-08-02 16:39:14 +00:00
_strobelight
_subclasses [traced-graph][sparse] propagate sparsity in fx graph (#131920) 2024-08-05 15:49:53 +00:00
_vendor
amp [MPS] Add support for autocast in MPS (#99272) 2024-08-05 17:02:30 +00:00
ao
autograd [BE]: Simplify some list comps to generators C419 (#132578) 2024-08-04 17:46:26 +00:00
backends [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
compiler
contrib
cpu [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
csrc Drop GIL around cudart APIs (#132520) 2024-08-05 17:04:01 +00:00
cuda [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
distributed [DTensor] Added naive replicate strategy for more diagonal ops (#132201) 2024-08-05 15:18:56 +00:00
distributions
export [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
fft
func
futures
fx [traced-graph][sparse] propagate sparsity in fx graph (#131920) 2024-08-05 15:49:53 +00:00
jit [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
legacy
lib
linalg
masked [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
monitor [pytorch][counters] Pybind for WaitCounter (#132357) 2024-08-02 16:08:10 +00:00
mps [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
mtia [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
multiprocessing [BE][Easy][17/19] enforce style for empty lines in import segments in torch/[a-c]*/ and torch/[e-n]*/ (#129769) 2024-08-04 10:24:09 +00:00
nested [BE]: Simplify some list comps to generators C419 (#132578) 2024-08-04 17:46:26 +00:00
nn Always use high precision for SDPA math backend (#128922) 2024-08-04 23:58:14 +00:00
onnx [ONNX] Rename _internal/exporter to _exporter_legacy (#132429) 2024-08-03 04:23:05 +00:00
optim Deprecate torch._utils.is_compiling() and torch._dynamo.external_utils.is_compiling() (#127690) 2024-08-03 09:43:38 +00:00
package
profiler
quantization
signal
sparse
special
testing [TP] verify numeric parity on Transfromers for multiple iterations (#132543) 2024-08-04 06:43:27 +00:00
utils [NJT][flop counter] attention: if offsets are fake, use max seqlen (#132356) 2024-08-02 20:42:29 +00:00
xpu
__config__.py
__future__.py
__init__.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_appdirs.py
_classes.py
_compile.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_custom_ops.py
_deploy.py
_guards.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_jit_internal.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_linalg_utils.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_lobpcg.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_lowrank.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_meta_registrations.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_namedtensor_internals.py
_ops.py Revert "[easy] fix f-string messages in torch/_ops.py (#132531)" 2024-08-04 15:41:56 +00:00
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_streambase.py
_tensor.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_tensor_docs.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_tensor_str.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_torch_docs.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_utils.py Deprecate torch._utils.is_compiling() and torch._dynamo.external_utils.is_compiling() (#127690) 2024-08-03 09:43:38 +00:00
_utils_internal.py
_VF.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
_vmap_internals.py
_weights_only_unpickler.py
abi-check.cpp
CMakeLists.txt
custom_class.h
custom_class_detail.h
extension.h
functional.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
hub.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
library.h
library.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
overrides.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
py.typed
quasirandom.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +00:00
random.py
README.txt
return_types.py
script.h
serialization.py [BE] Format uncategorized Python files with ruff format (#132576) 2024-08-04 17:13:31 +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.