pytorch/torch
cyy 67d52d7fcb [caffe2] Remove import_legacy.cpp (#126149)
I think they are for Caffe2 and should be deleted.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/126149
Approved by: https://github.com/r-barnes
2024-05-24 19:47:32 +00:00
..
_awaits
_C Introduce ProcessGroupCudaP2P (#122163) 2024-05-24 18:33:18 +00:00
_C_flatbuffer
_custom_op
_decomp [ROCm] Implement forward AD for miopen_batch_norm (#125069) 2024-05-14 19:09:50 +00:00
_dispatch
_dynamo [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
_export [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
_functorch Propagate tokens in aotautograd (#127028) 2024-05-24 03:23:17 +00:00
_higher_order_ops Fix flexattention not realizing inputs before lowering (also refactored runtime estimation) (#126615) 2024-05-22 17:28:46 +00:00
_inductor [AOTI] Disable stack allocation for OSS (#125732) 2024-05-24 19:10:33 +00:00
_lazy
_library Inductor respects strides for custom ops by default (#126986) 2024-05-24 11:11:18 +00:00
_logging [inductor] Add kernel_code logging artifact (#126631) 2024-05-21 23:12:42 +00:00
_numpy Remove removed ruff rule TRY200 (#126256) 2024-05-17 16:31:05 +00:00
_prims [custom_op] use new python custom ops API on prims ops (#124665) 2024-05-22 17:48:33 +00:00
_prims_common
_refs Add guard_size_oblivious to vector_norm (#126772) 2024-05-21 19:53:21 +00:00
_strobelight Add compile time profiler for non fbcode targets (#126904) 2024-05-24 01:39:40 +00:00
_subclasses Don't add to replacements when guard is suppressed (#126210) 2024-05-23 20:10:29 +00:00
_vendor
amp
ao Revert "[Quant][PT2E] enable qlinear post op fusion for dynamic quant & qat (#122667)" 2024-05-21 13:45:07 +00:00
autograd Remove MAX_STACK_ENTRY from _build_table (#126583) 2024-05-21 18:52:04 +00:00
backends Fix public binding to actually traverse modules (#126103) 2024-05-15 19:36:03 +00:00
compiler
contrib
cpu [Doc] Add deprecated autocast comments for doc (#126062) 2024-05-16 05:26:43 +00:00
csrc [caffe2] Remove import_legacy.cpp (#126149) 2024-05-24 19:47:32 +00:00
cuda [ROCm] amdsmi library integration (#119182) 2024-05-21 01:59:26 +00:00
distributed [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
distributions
export [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
fft
func
futures
fx [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
jit [BE][Easy] Remove usage of deprecated ast.Str, ast.Ellipsis and ast.NameConstant (#125912) 2024-05-10 17:35:35 +00:00
legacy
lib
linalg
masked
monitor
mps
mtia
multiprocessing [BE]: Update ruff to v0.4.4 (#125031) 2024-05-12 20:02:37 +00:00
nested [NT] Make NestedTensor register as having symbolic sizes/strides (#124687) 2024-05-13 16:50:25 +00:00
nn [DOCS] Fixed KLDiv example (#126857) 2024-05-24 15:39:50 +00:00
onnx [ONNX] Adds Support for Some Bitwise Ops in Onnx Exporter (#126229) 2024-05-22 07:47:43 +00:00
optim [traced-graph][sparse] propagate sparsity metadata into traced graph (#117907) 2024-05-23 22:46:46 +00:00
package
profiler [Profiler] Clean up deprecated use_cuda by default (#126180) 2024-05-14 21:23:31 +00:00
quantization
signal
sparse
special
testing [FSDP2] Added test for N-way TP and 1-way FSDP with CPU offloading (#127024) 2024-05-24 17:09:12 +00:00
utils Add compile time profiler for non fbcode targets (#126904) 2024-05-24 01:39:40 +00:00
xpu Add some type annotations to python stream and event classes (#126171) 2024-05-15 04:58:07 +00:00
__config__.py
__future__.py
__init__.py fixed typo in documentation (#125974) 2024-05-13 04:37:51 +00:00
_appdirs.py
_classes.py
_compile.py
_custom_ops.py Replace torch.library.impl_abstract with torch.library.register_fake (#126606) 2024-05-19 13:21:39 +00:00
_deploy.py
_guards.py
_jit_internal.py [BE][Easy] Remove usage of deprecated ast.Str, ast.Ellipsis and ast.NameConstant (#125912) 2024-05-10 17:35:35 +00:00
_linalg_utils.py
_lobpcg.py
_lowrank.py
_meta_registrations.py Support dtype kwarg in _foreach_norm (#125665) 2024-05-22 20:27:50 +00:00
_namedtensor_internals.py
_ops.py Refresh OpOverloadPacket if a new OpOverload gets added (#126863) 2024-05-22 14:13:27 +00:00
_python_dispatcher.py
_size_docs.py
_sources.py
_storage_docs.py
_streambase.py Add some type annotations to python stream and event classes (#126171) 2024-05-15 04:58:07 +00:00
_tensor.py [BE]: Update ruff to v0.4.4 (#125031) 2024-05-12 20:02:37 +00:00
_tensor_docs.py
_tensor_str.py
_torch_docs.py Add usage explanation in torch.dot ducment (#125908) 2024-05-22 20:33:12 +00:00
_utils.py Fix map_location for wrapper subclass and device tensors that go through numpy (#126728) 2024-05-24 16:39:30 +00:00
_utils_internal.py Add compile time profiler for non fbcode targets (#126904) 2024-05-24 01:39:40 +00:00
_VF.py
_vmap_internals.py
_weights_only_unpickler.py Allow tensor subclasses and add torch.serialization.add_safe_globals that allows users to allowlist classes for weights_only load (#124331) 2024-05-17 17:56:57 +00:00
abi-check.cpp
CMakeLists.txt
custom_class.h
custom_class_detail.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
extension.h
functional.py
hub.py
library.h [Reland] Verify types in custom op schemas (#126861) 2024-05-23 19:53:52 +00:00
library.py [BE]: Update ruff to 0.4.5 (#126979) 2024-05-24 18:38:35 +00:00
overrides.py
py.typed
quasirandom.py Fix SobolEngine default dtype handling (#126781) 2024-05-22 01:55:48 +00:00
random.py
README.txt
return_types.py
script.h
serialization.py Fix map_location for wrapper subclass and device tensors that go through numpy (#126728) 2024-05-24 16:39:30 +00:00
storage.py xpu: implement xpu serialization (#125530) 2024-05-16 20:22:17 +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.