pytorch/torch
2024-11-22 20:54:55 +00:00
..
_awaits
_C [ca] expose option to collect sizes as dynamic (#141153) 2024-11-22 19:26:27 +00:00
_C_flatbuffer
_custom_op
_decomp Added aten.bernoulli.p and aten.bernoulli.default decompositions (#139141) 2024-11-20 19:52:57 +00:00
_dispatch
_dynamo [dynamo] Added cuda and triton versions to dynamo_compile (#141290) 2024-11-22 20:04:42 +00:00
_export Fix constant lifting pass when there is no user input (#141157) 2024-11-22 19:08:25 +00:00
_functorch [ca] expose option to collect sizes as dynamic (#141153) 2024-11-22 19:26:27 +00:00
_higher_order_ops [inductor] Check Triton Autotuner.__init__ for pre_hook/post_hook (#141040) 2024-11-21 21:30:01 +00:00
_inductor [inductor] Move fusion heuristics to V.choices (#141108) 2024-11-22 19:53:07 +00:00
_lazy
_library [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
_logging [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
_numpy
_prims [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
_prims_common [inductor] Add typing to ir.py 1 (#140912) 2024-11-21 20:01:57 +00:00
_refs softshrink nan fixes (#138421) 2024-11-21 23:06:08 +00:00
_strobelight
_subclasses [draft export] generate fake outputs when real tensor prop finds mismatches (#139766) 2024-11-21 08:01:09 +00:00
_vendor
accelerator
amp [MPS] Add support for bf16 autocast (#139390) 2024-11-20 19:52:28 +00:00
ao Revert "Add option to split Linear gates for Quantizable LSTM into separate ops (#140868)" 2024-11-22 15:54:05 +00:00
autograd Updated docstrings referring to torch.expand to point to torch.Tensor.expand (#140045) 2024-11-21 20:13:41 +00:00
backends
compiler [dynamo] skip_guard_eval_unsafe stance for power users (#140251) 2024-11-21 06:28:58 +00:00
contrib
cpu [Inductor][CPP] Add oneDNN BRGEMM config for Half cpp gemm template (#136255) 2024-11-05 05:33:29 +00:00
csrc [ca] expose option to collect sizes as dynamic (#141153) 2024-11-22 19:26:27 +00:00
cuda [ROCm] AMDSMI memory usage unification (#139900) 2024-11-21 21:11:39 +00:00
distributed API to retrieve default distributed backend from device (#140536) 2024-11-22 11:01:53 +00:00
distributions Clarify meaning of rate parameter in Gamma distribution (#134847) 2024-11-09 00:22:13 +00:00
export Fix type-safety of torch.nn.Module instances (#141240) 2024-11-22 00:05:05 +00:00
fft
func
futures
fx [export] Add device and dtype fields to assert_tensor_metadata (#141071) 2024-11-22 20:54:55 +00:00
jit [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
legacy
lib Add and use thread-safe strerror (#140472) 2024-11-19 04:24:17 +00:00
linalg
masked
monitor
mps
mtia [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
multiprocessing
nested Fix NJT linear_backward() memory usage (#141163) 2024-11-21 15:22:45 +00:00
nn Optimize hook description of register_module_forward_hook (#140379) 2024-11-22 13:40:45 +00:00
onnx Fix type-safety of torch.nn.Module instances (#141240) 2024-11-22 00:05:05 +00:00
optim Support tensor betas in Adam and AdamW (#134171) 2024-11-15 21:55:55 +00:00
package [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
profiler Add skip_first_wait to profiler.schedule (#141070) 2024-11-22 06:40:58 +00:00
quantization
signal
sparse Revert "[sparse] add extra options to _cslt_spare_mm (#137427)" 2024-11-22 15:40:21 +00:00
special
testing Revert "[CI] Reduce distributed test timeout to 60s (#141168)" 2024-11-22 15:46:37 +00:00
utils Revert "Move Sympy printers to torch/utils/_sympy/printers.py (#140597)" 2024-11-22 15:43:39 +00:00
xpu [BE]: Apply PERF401 autofixes from ruff (#140980) 2024-11-20 17:52:07 +00:00
__config__.py
__future__.py
__init__.py Revert "[CI, 3.13] enable 3.13 CI (#139533)" 2024-11-22 17:18:49 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py
_deploy.py
_environment.py
_guards.py dynamo: guard on FSDP module parameters (#138819) 2024-11-13 20:46:46 +00:00
_jit_internal.py
_linalg_utils.py
_lobpcg.py
_lowrank.py
_meta_registrations.py Revert "[sparse] add extra options to _cslt_spare_mm (#137427)" 2024-11-22 15:40:21 +00:00
_namedtensor_internals.py
_ops.py
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py
_streambase.py
_tensor.py type annotations for meta_utils (#140203) 2024-11-13 20:07:47 +00:00
_tensor_docs.py
_tensor_str.py
_thread_safe_fork.py
_torch_docs.py Updated docstrings referring to torch.expand to point to torch.Tensor.expand (#140045) 2024-11-21 20:13:41 +00:00
_utils.py [Device] Add mps as device type in torch._utils._get_available_device_type() (#141098) 2024-11-20 20:45:59 +00:00
_utils_internal.py Change export IR to non-functional pre-dispatch IR (#139511) 2024-11-20 21:47:55 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py Add small test case for #140230 (#140850) 2024-11-19 02:44:54 +00:00
abi-check.cpp
CMakeLists.txt Add torch.version.xpu (#139466) 2024-11-09 13:31:21 +00:00
custom_class.h
custom_class_detail.h
extension.h
functional.py
hub.py
library.h
library.py no-op torch.library.custom_op APIs on torch.deploy (#139509) 2024-11-04 18:01:08 +00:00
overrides.py Add Weighted Loss Functions to PyTorch : WMSE, WMAE, and Weighted Huber Loss (#132049) 2024-10-31 21:59:43 +00:00
py.typed
quasirandom.py
random.py
README.txt
return_types.py
script.h
serialization.py Allow NJT by default for weights_only torch.load (take 2) (#140739) 2024-11-19 02:44:53 +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.