Name Date Size #Lines LOC

..--

_C/H25-Apr-2025-4,3083,855

_C_flatbuffer/H25-Apr-2025-1210

_awaits/H25-Apr-2025-5437

_custom_op/H25-Apr-2025-1,137854

_decomp/H25-Apr-2025-6,2024,908

_dispatch/H25-Apr-2025-182135

_dynamo/H25-Apr-2025-52,34340,482

_export/H25-Apr-2025-12,65610,058

_functorch/H25-Apr-2025-18,94413,200

_higher_order_ops/H25-Apr-2025-5,9584,467

_inductor/H25-Apr-2025-115,68792,902

_lazy/H25-Apr-2025-610437

_library/H25-Apr-2025-2,5101,966

_logging/H25-Apr-2025-1,4941,128

_numpy/H25-Apr-2025-9,3177,094

_prims/H25-Apr-2025-3,6972,764

_prims_common/H25-Apr-2025-2,4281,697

_refs/H25-Apr-2025-9,0896,995

_strobelight/H25-Apr-2025-530407

_subclasses/H25-Apr-2025-6,5844,538

_vendor/H25-Apr-2025-864628

amp/H25-Apr-2025-1,210952

ao/H25-Apr-2025-61,24348,504

autograd/H25-Apr-2025-9,1777,309

backends/H25-Apr-2025-4,8873,869

compiler/H25-Apr-2025-330246

contrib/H25-Apr-2025-145102

cpu/H25-Apr-2025-276189

csrc/H25-Apr-2025-419,030319,717

cuda/H25-Apr-2025-6,0644,708

distributed/H25-Apr-2025-92,44072,521

distributions/H25-Apr-2025-9,1607,283

export/H25-Apr-2025-7,5825,966

fft/H25-Apr-2025-1,3611,027

func/H25-Apr-2025-1413

futures/H25-Apr-2025-320267

fx/H25-Apr-2025-35,81425,961

jit/H25-Apr-2025-11,0388,426

legacy/H25-Apr-2025-21

lib/H25-Apr-2025-775635

linalg/H25-Apr-2025-2,8542,141

masked/H25-Apr-2025-4,5773,726

monitor/H25-Apr-2025-3929

mps/H25-Apr-2025-276196

mtia/H25-Apr-2025-372267

multiprocessing/H25-Apr-2025-1,244847

nested/H25-Apr-2025-3,4852,484

nn/H25-Apr-2025-41,43733,201

onnx/H25-Apr-2025-42,08833,067

optim/H25-Apr-2025-11,5469,470

package/H25-Apr-2025-3,8893,049

profiler/H25-Apr-2025-3,3442,650

quantization/H25-Apr-2025-828691

signal/H25-Apr-2025-843661

sparse/H25-Apr-2025-11,68310,709

special/H25-Apr-2025-1,284954

testing/H25-Apr-2025-96,21476,854

utils/H25-Apr-2025-51,69441,738

xpu/H25-Apr-2025-1,164873

CMakeLists.txtH A D25-Apr-202515.5 KiB494412

README.txtH A D25-Apr-2025703 1512

_VF.pyH A D25-Apr-2025664 3220

__config__.pyH A D25-Apr-2025580 2413

__future__.pyH A D25-Apr-20253.1 KiB7654

__init__.pyH A D25-Apr-202593 KiB2,6661,878

_appdirs.pyH A D25-Apr-202525.6 KiB668532

_classes.pyH A D25-Apr-20251.7 KiB5739

_compile.pyH A D25-Apr-20251.3 KiB3926

_custom_ops.pyH A D25-Apr-202512.5 KiB325270

_deploy.pyH A D25-Apr-20253.4 KiB10578

_guards.pyH A D25-Apr-202530.4 KiB926652

_jit_internal.pyH A D25-Apr-202552.4 KiB1,5481,047

_linalg_utils.pyH A D25-Apr-20255 KiB151117

_lobpcg.pyH A D25-Apr-202542.5 KiB1,158853

_lowrank.pyH A D25-Apr-202510.3 KiB295225

_meta_registrations.pyH A D25-Apr-2025198.5 KiB6,6375,521

_namedtensor_internals.pyH A D25-Apr-20255.2 KiB160119

_ops.pyH A D25-Apr-202554.1 KiB1,356884

_python_dispatcher.pyH A D25-Apr-20257 KiB183151

_size_docs.pyH A D25-Apr-2025908 4026

_sources.pyH A D25-Apr-20254.3 KiB139105

_storage_docs.pyH A D25-Apr-20251.3 KiB4330

_streambase.pyH A D25-Apr-20251.1 KiB4732

_tensor.pyH A D25-Apr-202562.6 KiB1,6161,271

_tensor_docs.pyH A D25-Apr-2025139.3 KiB6,9395,411

_tensor_str.pyH A D25-Apr-202526.3 KiB709567

_torch_docs.pyH A D25-Apr-2025411.1 KiB14,02511,008

_utils.pyH A D25-Apr-202536.1 KiB1,020718

_utils_internal.pyH A D25-Apr-202511.5 KiB357237

_vmap_internals.pyH A D25-Apr-20259.2 KiB246190

_weights_only_unpickler.pyH A D25-Apr-202514.3 KiB384310

abi-check.cppH A D25-Apr-2025136 108

custom_class.hH A D25-Apr-202519.4 KiB519336

custom_class_detail.hH A D25-Apr-20257.6 KiB240163

extension.hH A D25-Apr-2025213 105

functional.pyH A D25-Apr-202585.1 KiB2,2051,768

hub.pyH A D25-Apr-202532.6 KiB872685

library.hH A D25-Apr-202539.7 KiB1,059503

library.pyH A D25-Apr-202551.8 KiB1,3251,088

overrides.pyH A D25-Apr-2025102 KiB2,1001,927

py.typedHD25-Apr-20250

quasirandom.pyH A D25-Apr-20257.8 KiB218181

random.pyH A D25-Apr-20257 KiB200147

return_types.pyH A D25-Apr-20251.5 KiB5230

script.hH A D25-Apr-2025469 1411

serialization.pyH A D25-Apr-202565.1 KiB1,5561,174

storage.pyH A D25-Apr-202550.2 KiB1,5291,197

torch_version.pyH A D25-Apr-20252.4 KiB6444

types.pyH A D25-Apr-20253.4 KiB12684

version.py.tplH A D25-Apr-2025376 1311

README.txt

1Note [TH abstraction violation]
2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
4TH/THC provide some hpp headers, which are proper C++ headers rather than
5C headers.  These headers serve double duty as *internal implementation
6detail* headers, whose contents should largely not be used by external
7clients.
8
9Ideally, we would not install these headers at all; instead, you should
10use public functions (in headers like `THTensor.h`, NOT `THTensor.hpp`)
11to manipulate these structs.  However, there are a few places
12in torch/csrc where we violate this abstraction.  They are marked with
13a pointer to this note.  Each of those sites will have to be refactored
14when we refactor the guts of THTensor and related structures.
15