Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | |
|---|---|---|---|---|---|
| py | 5,071 | 3,092,948 | 57.7% | 609 | |
| cpp | 2,247 | 859,033 | 16.0% | 382 | |
| h | 2,429 | 629,542 | 11.7% | 259 | |
| cc | 95 | 145,775 | 2.7% | 1,534 | |
| cu | 362 | 94,264 | 1.8% | 260 | |
| md | 524 | 91,488 | 1.7% | 174 | |
| txt | 309 | 46,444 | 0.9% | 150 | |
| c | 194 | 42,588 | 0.8% | 219 | |
| mm | 123 | 38,567 | 0.7% | 313 | |
| expect | 88 | 37,646 | 0.7% | 427 | |
| yml | 199 | 30,363 | 0.6% | 152 | |
| metal | 54 | 26,767 | 0.5% | 495 | |
| yaml | 22 | 23,844 | 0.4% | 1,083 | |
| cuh | 72 | 21,989 | 0.4% | 305 | |
| hpp | 94 | 19,475 | 0.4% | 207 | |
| json | 36 | 16,527 | 0.3% | 459 | |
| sh | 180 | 15,788 | 0.3% | 87 | |
| cmake | 85 | 14,837 | 0.3% | 174 | |
| bzl | 51 | 13,605 | 0.3% | 266 | |
| diff | 90 | 11,613 | 0.2% | 129 | |
| S | 42 | 11,207 | 0.2% | 266 | |
| csv | 61 | 9,953 | 0.2% | 163 | |
| hip | 39 | 9,773 | 0.2% | 250 | |
| js | 5 | 6,849 | 0.1% | 1,369 | |
| glsl | 116 | 6,682 | 0.1% | 57 | |
| ipynb | 11 | 6,359 | 0.1% | 578 | |
| jinja | 28 | 5,141 | 0.1% | 183 | |
| in | 22 | 5,013 | 0.1% | 227 | |
| pyi | 38 | 4,029 | 0.1% | 106 | |
| toml | 8 | 3,585 | 0.1% | 448 | |
| patch | 19 | 3,362 | 0.1% | 176 | |
| java | 21 | 2,695 | 0.1% | 128 | |
| bat | 37 | 1,996 | 0.0% | 53 | |
| j2 | 5 | 1,566 | 0.0% | 313 | |
| rst | 16 | 1,056 | 0.0% | 66 | |
| oss | 7 | 651 | 0.0% | 93 | |
| ini | 4 | 424 | 0.0% | 106 | |
| thrift | 1 | 383 | 0.0% | 383 | |
| gradle | 7 | 328 | 0.0% | 46 | |
| fbs | 2 | 322 | 0.0% | 161 | |
| no extension | 9,164 | 300 | 0.0% | 0 | |
| ps1 | 6 | 243 | 0.0% | 40 | |
| lintrunner | 4 | 192 | 0.0% | 48 | |
| APACHE | 1 | 176 | 0.0% | 176 | |
| Makefile | 1 | 126 | 0.0% | 126 | |
| Dockerfile | 1 | 125 | 0.0% | 125 | |
| cff | 1 | 116 | 0.0% | 116 | |
| xml | 6 | 110 | 0.0% | 18 | |
| jit | 1 | 105 | 0.0% | 105 | |
| python | 3 | 99 | 0.0% | 33 | |
| css | 4 | 93 | 0.0% | 23 | |
| sycl | 2 | 82 | 0.0% | 41 | |
| imp | 6 | 69 | 0.0% | 11 | |
| sup | 1 | 68 | 0.0% | 68 | |
| svg | 3 | 67 | 0.0% | 22 | |
| mmd | 1 | 61 | 0.0% | 61 | |
| properties | 5 | 43 | 0.0% | 8 | |
| inl | 1 | 42 | 0.0% | 42 | |
| service | 2 | 39 | 0.0% | 19 | |
| BSD | 1 | 23 | 0.0% | 23 | |
| html | 1 | 21 | 0.0% | 21 | |
| bazel | 1 | 11 | 0.0% | 11 | |
| ld | 1 | 8 | 0.0% | 8 | |
| conf | 2 | 4 | 0.0% | 2 | |
| mjs | 2 | 4 | 0.0% | 2 | |
| vim | 1 | 3 | 0.0% | 3 | |
| ctags | 1 | 2 | 0.0% | 2 | |
| sha256 | 1 | 1 | 0.0% | 1 | |
| supp | 1 | 1 | 0.0% | 1 | |
| pt | 106 | — | — | — | |
| png | 87 | — | — | — | |
| ptl | 64 | — | — | — | |
| test_repr | 16 | — | — | — | |
| test_copy | 14 | — | — | — | |
| ff | 10 | — | — | — | |
| test_pop | 8 | — | — | — | |
| test_basic | 7 | — | — | — | |
| jpg | 6 | — | — | — | |
| test_index | 6 | — | — | — | |
| test_join | 6 | — | — | — | |
| test_axis | 5 | — | — | — | |
| test_count | 5 | — | — | — | |
| test_find | 5 | — | — | — | |
| test_o | 5 | — | — | — | |
| test_o_ext | 5 | — | — | — | |
| test_rfind | 5 | — | — | — | |
| test_dir | 4 | — | — | — | |
| test_ljust | 4 | — | — | — | |
| test_rjust | 4 | — | — | — | |
| test_stack | 4 | — | — | — | |
| gz | 3 | — | — | — | |
| test_clear | 3 | — | — | — | |
| test_doc | 3 | — | — | — | |
| test_error | 3 | — | — | — | |
| test_init | 3 | — | — | — | |
| test_len | 3 | — | — | — | |
| test_max | 3 | — | — | — | |
| test_order | 3 | — | — | — | |
| test_relu | 3 | — | — | — | |
| test_round | 3 | — | — | — | |
| test_slice | 3 | — | — | — | |
| test_split | 3 | — | — | — | |
| test_views | 3 | — | — | — | |
| test_468 | 2 | — | — | — | |
| test_abc | 2 | — | — | — | |
| test_adapt | 2 | — | — | — | |
| test_ascii | 2 | — | — | — | |
| test_attn | 2 | — | — | — | |
| test_bool | 2 | — | — | — | |
| test_c | 2 | — | — | — | |
| test_cache | 2 | — | — | — | |
| test_cat | 2 | — | — | — | |
| test_clamp | 2 | — | — | — | |
| test_diag | 2 | — | — | — | |
| test_dicts | 2 | — | — | — | |
| test_embed | 2 | — | — | — | |
| test_eq | 2 | — | — | — | |
| test_exp | 2 | — | — | — | |
| test_get | 2 | — | — | — | |
| test_hello | 2 | — | — | — | |
| test_hex | 2 | — | — | — | |
| test_hooks | 2 | — | — | — | |
| test_items | 2 | — | — | — | |
| test_keys | 2 | — | — | — | |
| test_lerp | 2 | — | — | — | |
| test_lower | 2 | — | — | — | |
| test_lru | 2 | — | — | — | |
| test_map | 2 | — | — | — | |
| test_mask | 2 | — | — | — | |
| test_merge | 2 | — | — | — | |
| test_mm | 2 | — | — | — | |
| test_mod | 2 | — | — | — | |
| test_nbest | 2 | — | — | — | |
| test_parse | 2 | — | — | — | |
| test_prelu | 2 | — | — | — | |
| test_read | 2 | — | — | — | |
| test_rmod | 2 | — | — | — | |
| test_seg | 2 | — | — | — | |
| test_str | 2 | — | — | — | |
| test_strip | 2 | — | — | — | |
| test_title | 2 | — | — | — | |
| test_to | 2 | — | — | — | |
| test_union | 2 | — | — | — | |
| test_upper | 2 | — | — | — | |
| test_write | 2 | — | — | — | |
| test_zfill | 2 | — | — | — | |
| gif | 1 | — | — | — | |
| jar | 1 | — | — | — | |
| metallib | 1 | — | — | — | |
| test | 1 | — | — | — | |
| test1 | 1 | — | — | — | |
| test2 | 1 | — | — | — | |
| test3 | 1 | — | — | — | |
| test4 | 1 | — | — | — | |
| testComb | 1 | — | — | — | |
| testDel | 1 | — | — | — | |
| testDist | 1 | — | — | — | |
| testFsum | 1 | — | — | — | |
| testHypot | 1 | — | — | — | |
| testIsqrt | 1 | — | — | — | |
| testLeaks | 1 | — | — | — | |
| testLog2 | 1 | — | — | — | |
| testPerm | 1 | — | — | — | |
| test_3114 | 1 | — | — | — | |
| test_3611 | 1 | — | — | — | |
| test_3720 | 1 | — | — | — | |
| test_Sized | 1 | — | — | — | |
| test_adam | 1 | — | — | — | |
| test_adamw | 1 | — | — | — | |
| test_add | 1 | — | — | — | |
| test_alloc | 1 | — | — | — | |
| test_aot | 1 | — | — | — | |
| test_asgd | 1 | — | — | — | |
| test_ast | 1 | — | — | — | |
| test_async | 1 | — | — | — | |
| test_axes | 1 | — | — | — | |
| test_base | 1 | — | — | — | |
| test_cycle | 1 | — | — | — | |
| test_empty | 1 | — | — | — | |
| test_exit | 1 | — | — | — | |
| test_fft_n | 1 | — | — | — | |
| test_fx_fn | 1 | — | — | — | |
| test_gelu | 1 | — | — | — | |
| test_gen | 1 | — | — | — | |
| test_grad | 1 | — | — | — | |
| test_graph | 1 | — | — | — | |
| test_ints | 1 | — | — | — | |
| test_lists | 1 | — | — | — | |
| test_math | 1 | — | — | — | |
| test_mean | 1 | — | — | — | |
| test_min | 1 | — | — | — | |
| test_mixed | 1 | — | — | — | |
| test_mnist | 1 | — | — | — | |
| test_mul | 1 | — | — | — | |
| test_n | 1 | — | — | — | |
| test_nadam | 1 | — | — | — | |
| test_name | 1 | — | — | — | |
| test_nan | 1 | — | — | — | |
| test_ndim0 | 1 | — | — | — | |
| test_new | 1 | — | — | — | |
| test_no_eq | 1 | — | — | — | |
| test_notes | 1 | — | — | — | |
| test_out | 1 | — | — | — | |
| test_pos | 1 | — | — | — | |
| test_prod | 1 | — | — | — | |
| test_pydoc | 1 | — | — | — | |
| test_qadd | 1 | — | — | — | |
| test_qtanh | 1 | — | — | — | |
| test_raise | 1 | — | — | — | |
| test_relu_ | 1 | — | — | — | |
| test_rprop | 1 | — | — | — | |
| test_sgd | 1 | — | — | — | |
| test_slots | 1 | — | — | — | |
| test_sum_2 | 1 | — | — | — | |
| test_super | 1 | — | — | — | |
| test_tanh | 1 | — | — | — | |
| test_tee | 1 | — | — | — | |
| test_try | 1 | — | — | — | |
| test_ucs4 | 1 | — | — | — | |
| test_unary | 1 | — | — | — | |
| test_vae | 1 | — | — | — | |
| test_vars | 1 | — | — | — | |
| test_vmap | 1 | — | — | — | |
| test_yield | 1 | — | — | — | |
| typed | 1 | — | — | — | |
| zst | 1 | — | — | — |
Files in the current tree touched most often across all commits. High-churn files are hotspots that may benefit from extra review or refactoring.
| File | Times Changed | |
|---|---|---|
| aten/src/ATen/native/native_functions.yaml | 3,336 | |
| torch/testing/_internal/common_methods_invocations.py | 2,771 | |
| test/test_torch.py | 2,332 | |
| test/test_jit.py | 1,998 | |
| test/test_nn.py | 1,797 | |
| test/inductor/test_torchinductor.py | 1,785 | |
| torch/_inductor/ir.py | 1,338 | |
| test/test_autograd.py | 1,252 | |
| tools/autograd/derivatives.yaml | 1,212 | |
| test/test_cuda.py | 1,188 | |
| torch/_inductor/lowering.py | 1,176 | |
| caffe2/CMakeLists.txt | 1,175 | |
| test/dynamo/test_misc.py | 1,120 | |
| torch/_inductor/config.py | 1,098 | |
| CMakeLists.txt | 1,092 | |
| torch/_C/__init__.pyi.in | 1,073 | |
| torch/_torch_docs.py | 1,071 | |
| torch/_dynamo/variables/builder.py | 1,061 | |
| test/test_mps.py | 1,026 | |
| torch/_inductor/codegen/triton.py | 1,006 | |
| test/export/test_export.py | 993 | |
| setup.py | 984 | |
| torch/_dynamo/utils.py | 939 | |
| torch/_dynamo/symbolic_convert.py | 922 | |
| torch/fx/experimental/symbolic_shapes.py | 910 |