pytorch/torch
2025-03-07 16:05:56 +00:00
..
_awaits
_C Make record/storage alignment in torch.save configurable (#147788) 2025-03-06 12:04:46 +00:00
_C_flatbuffer
_custom_op
_decomp Revert "[Inductor] Avoid tensor slice overflow for large step (#147433)" 2025-03-06 17:33:08 +00:00
_dispatch [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
_dynamo [dynamo] Properly account for non-list instances in list comparison (#148470) 2025-03-07 01:29:30 +00:00
_export fix lost input mutations with export_tracepoint (#148709) 2025-03-07 09:36:18 +00:00
_functorch Improve Pareto frontier plot for AutoAC (#148678) 2025-03-07 13:22:29 +00:00
_higher_order_ops [scan] Refactoring of input checking and dynamo invocation (#142125) 2025-03-06 01:06:54 +00:00
_inductor Code Clean: Remove unnecessary code (#148735) 2025-03-07 08:15:37 +00:00
_lazy
_library Fix the tiny doc descriptions (#147319) 2025-02-25 17:10:16 +00:00
_logging [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
_numpy
_prims Support torch.compile rng selective activation checkpointing with cudagraph (#146878) 2025-02-28 00:47:03 +00:00
_prims_common PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
_refs Fix decomp for linspace (#147997) 2025-03-05 22:10:08 +00:00
_strobelight Enable strobelight profiling specific compile frame ids using COMPILE_STROBELIGHT_FRAME_FILTER (#147549) 2025-02-22 03:44:53 +00:00
_subclasses [dynamic shapes][export] ignore when real-tensor fallback fails (#147779) 2025-03-03 19:09:56 +00:00
_vendor
accelerator Move get accelerator to use build time flags when possible (#146098) 2025-03-07 15:19:34 +00:00
amp
ao [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
autograd [pytree] add APIs to determine a class is a namedtuple or PyStructSequence (#113257) 2025-03-06 18:59:02 +00:00
backends PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
compiler Significantly speed up save_cache_artifacts (#148227) 2025-03-03 17:28:41 +00:00
contrib
cpu [CPU Stream] Add noop for CPU stream record_event() and wait_event() (#145935) 2025-02-20 18:50:55 +00:00
csrc Revert "Fix torch.nn.functional.hardswish gradients corner case (#148049)" 2025-03-07 16:05:56 +00:00
cuda [ROCm][TunableOp] Add support for rowwise scaling on scaled GEMM. (#148238) 2025-03-07 04:12:48 +00:00
distributed Enable FSDP2 on HPU device (#148667) 2025-03-07 14:33:43 +00:00
distributions [BE][PYFMT] migrate PYFMT for torch.{distributed,distributions} to ruff format (#144547) 2025-02-28 07:35:56 +00:00
export [export] don't use unbacked_renamings in export (#147574) 2025-03-04 21:43:49 +00:00
fft
func
futures PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
fx [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
jit scriptfunction: Make sure we have valid __name__ and __qualname__ (#147906) 2025-02-28 23:25:47 +00:00
legacy
lib [codemod] Fix missing field initializer in caffe2/torch/lib/libshm/manager.cpp +1 (#148393) 2025-03-04 04:20:04 +00:00
linalg
masked
monitor
mps
mtia PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
multiprocessing
nested [cuDNN][SDPA][Nested Tensor] Experimental cuDNN Nested Tensor SDPA Support (forward only) (#141178) 2025-03-04 23:09:09 +00:00
nn [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
onnx [ONNX] Improve verify_onnx_program to use VerificationInterpreter (#148706) 2025-03-07 00:40:54 +00:00
optim Remove deprecate method and attirbute in LRScheduler (#147301) 2025-03-05 05:30:19 +00:00
package Remove code for Python < 3.9 (#147097) 2025-02-14 03:22:49 +00:00
profiler [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
quantization
signal
sparse PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
special
testing [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
utils Move get accelerator to use build time flags when possible (#146098) 2025-03-07 15:19:34 +00:00
xpu xpu: torch.xpu.get_arch_list() to return [] if xpu not compiled (#147431) 2025-02-24 01:35:54 +00:00
__config__.py
__future__.py
__init__.py Add cuda 11.8 guard for cufile preload (#148184) 2025-03-01 01:01:04 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py
_deploy.py
_environment.py
_guards.py Introduce delayed compile via eager_then_compile stance (#147983) 2025-03-04 07:46:31 +00:00
_jit_internal.py [BE][CI] bump ruff to 0.9.2: multiline assert statements (#144546) 2025-02-27 20:46:16 +00:00
_linalg_utils.py
_lobpcg.py [BE][CI] bump ruff to 0.9.2: multiline assert statements (#144546) 2025-02-27 20:46:16 +00:00
_lowrank.py
_meta_registrations.py Add some more meta kernels (#147862) 2025-03-05 18:33:00 +00:00
_namedtensor_internals.py
_ops.py [BE][CI] bump ruff to 0.9.2: multiline assert statements (#144546) 2025-02-27 20:46:16 +00:00
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py
_streambase.py
_tensor_docs.py Add link to non_blocking/pinmem tutorial in Tensor.to docstrings (#145651) 2025-02-18 20:38:01 +00:00
_tensor_str.py [BE][CI] bump ruff to 0.9.0: string quote styles (#144569) 2025-02-24 19:56:09 +00:00
_tensor.py Revert "Fix non-bitwise type annotations for Tensor operators (see #145838) (#146845)" 2025-02-18 19:01:27 +00:00
_thread_safe_fork.py
_torch_docs.py [Docs] update bucketize documentaion (#148400) 2025-03-06 22:07:52 +00:00
_utils_internal.py [ROCm] OCP FP8 Support for new GPUs (#146632) 2025-02-24 22:47:52 +00:00
_utils.py Allow torch.load under FakeTensorMode to load FakeTensors with correct devices (for plain Tensors) (#147786) 2025-03-06 12:04:32 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py Add sparse tensors constructed via legacy constructor to _sparse_tensors_to_validate (#147759) 2025-02-25 23:51:12 +00:00
abi-check.cpp
CMakeLists.txt
custom_class_detail.h
custom_class.h Remove unneeded Clang-tidy suppression (#148246) 2025-03-01 16:51:54 +00:00
extension.h
functional.py [BE][Ez]: Use itertools.chain.from_iterable when possible (#148190) 2025-03-06 20:37:06 +00:00
hub.py [BE][CI][Easy] bump ruff to 0.9.0: long statements in docstrings (#146509) 2025-02-24 19:56:08 +00:00
library.h
library.py
overrides.py Use Python 3.9 typing (#148157) 2025-03-04 03:09:55 +00:00
py.typed
quasirandom.py
random.py
README.txt
return_types.py
script.h
serialization.py Move get accelerator to use build time flags when possible (#146098) 2025-03-07 15:19:34 +00:00
storage.py Add information about checkpoint offset to untyped storages when torch.load under FakeTensorMode (#147787) 2025-03-06 12:04:39 +00:00
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.