pytorch/torch
2024-11-19 03:21:16 +00:00
..
_awaits
_C [SymmetricMemory] support specifying group_name at rendezvous time (#139529) 2024-11-17 09:31:17 +00:00
_C_flatbuffer
_custom_op
_decomp log_softmax: fix meta function output argument dtype check. (#140289) 2024-11-18 23:05:29 +00:00
_dispatch
_dynamo [hop] refactor only_consist_of with find_mismatched_vars (#140105) 2024-11-19 03:21:16 +00:00
_export [reland] [aoti] Selectively package AOTI generated files (#140675) 2024-11-15 23:48:34 +00:00
_functorch Log Full Knapsack Problem Information (#140757) 2024-11-18 20:36:32 +00:00
_higher_order_ops Made FlexAttention error on subgraph lowering failure (#140331) 2024-11-17 02:43:58 +00:00
_inductor [inductor] Refactor MutableBox to make IRNode typing easier (#140895) 2024-11-19 00:24:35 +00:00
_lazy
_library Optimize mutable torch.library.custom_op overhead (#139513) 2024-11-05 18:30:53 +00:00
_logging [logging] Overhaul dynamo_timed and CompilationMetrics logging. (#139849) 2024-11-14 19:11:20 +00:00
_numpy
_prims Add dim to logging to help debug (#140445) 2024-11-16 01:33:29 +00:00
_prims_common check fake/real mismatches during real tensor prop (#137747) 2024-11-04 23:39:48 +00:00
_refs fix layer_norm decomp precision for cpu (#140557) 2024-11-19 02:31:31 +00:00
_strobelight Increase default COMPILE_STROBELIGHT_MAX_STACK_LENGTH to 500 (#138006) 2024-10-17 07:31:32 +00:00
_subclasses type annotations for meta_utils (#140203) 2024-11-13 20:07:47 +00:00
_vendor
accelerator Introduce a device-agnostic runtime API design (#132204) 2024-10-27 10:37:09 +00:00
amp [MPS] Update error message for supported autocast type (#139192) 2024-10-30 16:48:29 +00:00
ao [Quantizer][XNNPACK] Fix ReLU fusion when conv/linear has > 1 user (#140846) 2024-11-19 02:29:45 +00:00
autograd [Profiler] Create Auto-Trace Frontend for Trace ID (#139310) 2024-10-31 19:02:57 +00:00
backends Revert "[sparse] add search for optimal alg_id to torch.compile (#137427)" 2024-10-24 17:27:06 +00:00
compiler Profile guided optimization for automatic_dynamic (#139001) 2024-11-03 06:29:57 +00:00
contrib Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
cpu [Inductor][CPP] Add oneDNN BRGEMM config for Half cpp gemm template (#136255) 2024-11-05 05:33:29 +00:00
csrc [distributed] add PG APIs and general doc cleanups (#140853) 2024-11-19 02:06:32 +00:00
cuda Revert "create a new torch.cuda.device_memory_used api (#140870)" 2024-11-18 21:26:25 +00:00
distributed [c10d] Support optional backend if device_id provided (#140963) 2024-11-19 03:17:29 +00:00
distributions Clarify meaning of rate parameter in Gamma distribution (#134847) 2024-11-09 00:22:13 +00:00
export Ignore eager profiling code in training IR (#140826) 2024-11-16 20:31:17 +00:00
fft
func
futures
fx Add trunc to z3 validator (#140886) 2024-11-17 18:38:30 +00:00
jit Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
legacy
lib
linalg docs: clarify alias usage for x parameter in vector_norm function (#136921) 2024-09-30 02:50:06 +00:00
masked [BE]: Update Typeguard to TypeIs for better type inference (#133814) 2024-10-26 15:07:13 +00:00
monitor
mps
mtia [MTIA] Support torch.cuda.get_device_capability equivalent API on MTIA (#135889) 2024-09-17 17:42:56 +00:00
multiprocessing Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
nested Allow NJT by default for weights_only torch.load (take 2) (#140739) 2024-11-19 02:44:53 +00:00
nn Flex + NJT: cross attention support (#140723) 2024-11-18 19:49:45 +00:00
onnx [ONNX] Support from dynamic_shapes to dynamic_axes when torch.onnx.export(fallback=True) is triggered (#139532) 2024-11-18 22:35:21 +00:00
optim Support tensor betas in Adam and AdamW (#134171) 2024-11-15 21:55:55 +00:00
package Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
profiler [fx graph cache] Support freezing with FX graph caching (#136505) 2024-11-01 18:29:29 +00:00
quantization Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
signal
sparse Revert "[sparse] add search for optimal alg_id to torch.compile (#137427)" 2024-10-24 17:27:06 +00:00
special
testing Allow NJT by default for weights_only torch.load (take 2) (#140739) 2024-11-19 02:44:53 +00:00
utils Revert "FlopCounterMode: Decompose ops for inference mode (#138508)" 2024-11-18 22:59:36 +00:00
xpu Add torch.xpu.get_arch_list and torch.xpu.get_gencode_flags for XPU (#137773) 2024-10-18 02:28:08 +00:00
__config__.py
__future__.py
__init__.py Revert "[dynamo] add SymNode bitwise and/or (#138777)" 2024-11-14 21:52:40 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py
_deploy.py
_environment.py Improve is_fbcode functionality (#136871) 2024-09-27 21:19:01 +00:00
_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 triangular_solve: fix meta function output argument dtype check. (#140286) 2024-11-14 15:25:14 +00:00
_namedtensor_internals.py
_ops.py remove redundant a (#139046) 2024-10-28 17:47:24 +00:00
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py
_streambase.py Use torch.Stream&torch.Event for Dynamo capature (#134850) 2024-10-02 14:15:33 +00:00
_tensor_docs.py Revert "Add deterministic path for CUDA cumsum (#136224)" 2024-09-27 12:54:47 +00:00
_tensor_str.py
_tensor.py type annotations for meta_utils (#140203) 2024-11-13 20:07:47 +00:00
_thread_safe_fork.py [inductor] parallel compile: add import of thread_safe_fork for internal (#137155) 2024-10-03 17:37:21 +00:00
_torch_docs.py Fix type description of torch.chunk (#140089) 2024-11-08 15:21:13 +00:00
_utils_internal.py [pytorch] Add logger for pt2 compile chromium events to hive (#139941) 2024-11-14 18:27:38 +00:00
_utils.py Revert "Deprecate torch._utils.is_compiling() and torch._dynamo.external_utils.is_compiling() (#127690)" 2024-11-05 23:10:38 +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_detail.h Remove some pre-cpp17 stuff (#138410) 2024-10-23 00:38:03 +00:00
custom_class.h Remove some pre-cpp17 stuff (#138410) 2024-10-23 00:38:03 +00:00
extension.h
functional.py Clarify opt-einsum usage, fix #127109 (#137596) 2024-10-09 20:31:24 +00:00
hub.py Remove unused Python variables in torch/[b-z]* (#136963) 2024-10-19 16:45:22 +00:00
library.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
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 [Torch] Support meta device in random.fork_rng (#137715) 2024-10-16 18:00:39 +00:00
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 Fix .to(cpu) for Storage (#138011) 2024-10-23 01:31:48 +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.