pytorch/torch
2024-03-26 05:43:59 +00:00
..
_awaits
_C Revert "Graph-Safe RNG State Exchange for Tensor Parallelism (#114068)" 2024-03-25 13:49:04 +00:00
_C_flatbuffer
_custom_op infer_schema can add alias annotations when passed a list of mutated args (#122343) 2024-03-21 21:39:07 +00:00
_decomp Batch Norm Consolidation (#116092) 2024-03-18 21:01:30 +00:00
_dispatch
_dynamo [dynamo] Forward OptimizedModule.__setattr__ to the wrapped module (#122098) 2024-03-26 00:52:12 +00:00
_export Keep example_inputs when saving and loading ExportedProgram (#122618) 2024-03-26 03:32:44 +00:00
_functorch Refactor functorch meta conversion (#122202) 2024-03-25 20:47:21 +00:00
_higher_order_ops [inductor] Add torch.while_loop support to JIT Inductor (#122069) 2024-03-22 02:45:27 +00:00
_inductor [Inductor] Add NEON ISA support on arm64 Macs (#122217) 2024-03-26 05:07:30 +00:00
_lazy
_library Fix FallbackKernel behavior on mutable ops (#118649) 2024-02-09 19:01:54 +00:00
_logging Switch TORCH_TRACE to accept a directory by default (#121331) 2024-03-06 22:46:18 +00:00
_numpy Fix dynamo failure w/ astype (#117952) 2024-02-03 08:10:15 +00:00
_prims add decomposition for frexp (#119217) 2024-02-23 21:52:42 +00:00
_prims_common Make expected stride test in torch._prims_common size oblivious (#122370) 2024-03-21 17:14:42 +00:00
_refs Fix #83241: torch.nn.TripletMarginLoss allowed margin less or equal to 0 (#121978) 2024-03-19 23:19:11 +00:00
_subclasses Do not run CUDA lazy init if it is triggered with fake mode on. (#122636) 2024-03-26 05:43:59 +00:00
_vendor
amp Remove device assert in Gradscaler (#119362) 2024-02-22 08:02:18 +00:00
ao remove torchao dependency (#122524) 2024-03-23 03:18:43 +00:00
autograd Teach dynamo about torch.func.jvp (#119926) 2024-03-22 20:25:47 +00:00
backends [TorchElastic] Refactoring to support non-default logging strategy (#120691) 2024-02-29 20:59:17 +00:00
compiler [torch.export] Support is_compiling() flag for non-strict mode (#119602) 2024-02-29 05:52:51 +00:00
contrib
cpu add GradScaler on CPU (#109993) 2024-01-29 23:42:35 +00:00
csrc Do not run CUDA lazy init if it is triggered with fake mode on. (#122636) 2024-03-26 05:43:59 +00:00
cuda Revert "Refactor gpu trace to be device-agnostic (#121794)" 2024-03-21 20:33:17 +00:00
distributed [dtensor] add op support for view_as_complex and view_as_real (#122569) 2024-03-26 03:32:04 +00:00
distributions Bugfix to MixtureSameFamily's _pad_mixture_dimension (#118947) 2024-02-06 16:24:22 +00:00
export [export][reland] Fix unflattened submodule ordering. (#122341) (#122507) 2024-03-25 15:22:01 +00:00
fft
func Let torch dynamo inline torch.func.grad (#118407) 2024-02-28 20:05:00 +00:00
futures
fx Implement prefer_deferred_runtime_asserts_over_guards (#122090) 2024-03-25 16:31:16 +00:00
jit [jit] Fix _batch_norm_with_update shape function (#122430) 2024-03-22 14:21:57 +00:00
legacy
lib Remove unneeded linking of torch_shm_manager in CMake (#119540) 2024-02-11 06:33:35 +00:00
linalg Move doc links to point to main (#121823) 2024-03-15 19:49:37 +00:00
masked Enable possibly-undefined error code (#118533) 2024-01-30 21:07:01 +00:00
monitor
mps
multiprocessing
nested Public API for NJT construction from jagged components (#121518) 2024-03-22 14:48:22 +00:00
nn Fix #83241: torch.nn.TripletMarginLoss allowed margin less or equal to 0 (#121978) 2024-03-19 23:19:11 +00:00
onnx Prevent dup initializers when ONNXProgram.save is called many times (#122435) 2024-03-22 21:03:15 +00:00
optim Only update momentum buffers for SGD if momentum is enabled (#122349) 2024-03-26 04:19:39 +00:00
package Back out "Support triton.language.dtype with torch.compile (#121690)" (#122108) 2024-03-18 20:50:28 +00:00
profiler [profiler] Fix recorded profiler step number (#121127) 2024-03-09 06:54:51 +00:00
quantization Enable possibly-undefined error code (#118533) 2024-01-30 21:07:01 +00:00
signal Clarifying windows cosine behaviour in the documentation (#119444) 2024-02-09 05:57:44 +00:00
sparse Update DimOrDims typing in torch.sparse (#122471) 2024-03-25 16:25:56 +00:00
special
testing Avoid COW materialize in nn.functional forward ops (3) (#122443) 2024-03-26 00:56:57 +00:00
utils Restore DILL_AVAILABLE for backwards compat with torchdata (#122616) 2024-03-26 02:18:51 +00:00
xpu Revert "Support gpu trace on XPU (#121795)" 2024-03-21 20:33:16 +00:00
__config__.py
__future__.py Update nn.Module._apply to not gate on should_use_set_data when swap_tensors is set (#120659) 2024-02-28 00:59:34 +00:00
__init__.py [dynamo][guards] Move backend match to eval_frame (#121954) 2024-03-17 06:52:10 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py
_deploy.py [Lint] replace [assigment] with [method-assign] for methods (#119706) 2024-02-13 02:06:04 +00:00
_guards.py [dynamo] Compile time optimizations in tx.step() (#121790) 2024-03-15 01:01:05 +00:00
_jit_internal.py Add scuba logging for TorchScript usage (#121936) 2024-03-19 17:38:27 +00:00
_linalg_utils.py
_lobpcg.py [Lint] replace [assigment] with [method-assign] for methods (#119706) 2024-02-13 02:06:04 +00:00
_lowrank.py
_meta_registrations.py Add metas for randint/rand factory functions out overload (#122375) 2024-03-25 04:01:38 +00:00
_namedtensor_internals.py
_ops.py Don't cache predispatch kernels (#121712) 2024-03-12 18:05:59 +00:00
_python_dispatcher.py
_sources.py
_storage_docs.py
_streambase.py
_tensor_docs.py update the tensor.scatter_ doc (#120169) 2024-02-23 02:51:55 +00:00
_tensor_str.py Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
_tensor.py Move doc links to point to main (#121823) 2024-03-15 19:49:37 +00:00
_torch_docs.py Revert "Graph-Safe RNG State Exchange for Tensor Parallelism (#114068)" 2024-03-25 13:49:04 +00:00
_utils_internal.py [export] build the infra to rollout predispatch export. (#122326) 2024-03-22 00:55:10 +00:00
_utils.py Revert "Refactor gpu trace to be device-agnostic (#121794)" 2024-03-21 20:33:17 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py additional support for float8_e4m3fnuz and _e5m2fnuz (#115214) 2024-01-22 18:33:41 +00:00
abi-check.cpp
CMakeLists.txt [3/4] Intel GPU Runtime Upstreaming for Device (#116850) 2024-02-01 12:31:26 +00:00
custom_class_detail.h
custom_class.h
extension.h
functional.py Fix ouput typos (#120870) 2024-02-29 08:29:14 +00:00
hub.py Add verbose parameter to torch.hub.list (#120717) 2024-03-01 07:39:48 +00:00
library.h Add way to actually delete a torch.library.Library object (#118318) 2024-01-26 22:30:51 +00:00
library.py Better error messages for impl_abstract_pystub (#120959) 2024-03-04 15:24:36 +00:00
overrides.py Add assign argument to torch.Tensor.module_load (#121158) 2024-03-06 01:32:06 +00:00
py.typed
quasirandom.py
random.py [2/2] Intel GPU Runtime Upstreaming for Generator (#118613) 2024-02-28 05:28:11 +00:00
README.txt
return_types.py register torch.return_types in torch.fx._pytree (#120027) 2024-02-23 21:52:42 +00:00
script.h
serialization.py Add support to save safetensors checkpoint directly into onnx (#121001) 2024-03-11 15:21:59 +00:00
storage.py Add hpu device support in storage/resize (#119761) 2024-02-17 01:04:27 +00:00
torch_version.py Replace follow_imports = silent with normal (#118414) 2024-01-27 02:44:11 +00:00
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.