pytorch / pytorch
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

File Change Frequency Overall
File Change Frequency Overall
The number of recorded file updates
  • There are 6,667 files with 1,190,840 lines of code.
    • 95 files changed more than 100 times (122,671 lines of code)
    • 205 files changed 51-100 times (114,682 lines of code)
    • 813 files changed 21-50 times (258,662 lines of code)
    • 2,489 files changed 6-20 times (397,679 lines of code)
    • 3,065 files changed 1-5 times (297,146 lines of code)
10% | 9% | 21% | 33% | 24%
Legend:
101+
51-100
21-50
6-20
1-5

Detailed data...

File Change Frequency per File Extension
py, h, cpp, cc, cu, c, sh, txt, rst, md, pt, yml, cmake, pyi, cuh, glsl, mm, S, hpp, java, in, bat, xml, gitignore, bzl, json, gradle, yaml, proto, css, ps1, html, properties, svg, ipynb, clang-format, ini, pb, storyboard, rb, plist, podspec, toml, m, mjs, lds, ll, dockerignore, patch, vim, yy, metal, diff, gitmodules, clang-tidy, js, gitattributes, cfg, gdbinit
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
cpp11% | 13% | 21% | 26% | 26%
py19% | 12% | 21% | 27% | 20%
h4% | 6% | 21% | 43% | 24%
yaml98% | 0% | 0% | <1% | <1%
cc4% | 7% | 27% | 42% | 18%
cu3% | 7% | 35% | 41% | 11%
cmake18% | 11% | 12% | 31% | 25%
bzl81% | 0% | 0% | 5% | 12%
in54% | 0% | 32% | 1% | 11%
proto0% | 59% | 10% | 18% | 10%
cuh0% | 2% | 37% | 49% | 9%
mm0% | 0% | 33% | 47% | 18%
pyi0% | 0% | 16% | 39% | 43%
hpp0% | 0% | 0% | 46% | 53%
S0% | 0% | 0% | 34% | 65%
c0% | 0% | 0% | 8% | 91%
java0% | 0% | 0% | 95% | 4%
metal0% | 0% | 0% | 100% | 0%
glsl0% | 0% | 0% | 36% | 63%
rb0% | 0% | 0% | 100% | 0%
pb0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yy0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
ll0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
pt0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
lds0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
torch15% | 12% | 22% | 28% | 20%
aten8% | 7% | 19% | 31% | 32%
caffe24% | 8% | 25% | 40% | 19%
tools25% | 11% | 15% | 23% | 24%
cmake18% | 11% | 15% | 30% | 24%
c104% | 7% | 17% | 49% | 20%
ROOT86% | 0% | 0% | 9% | 3%
binaries0% | 0% | 19% | 40% | 39%
benchmarks0% | 0% | 2% | 23% | 74%
modules0% | 0% | 6% | 70% | 22%
android0% | 0% | 8% | 78% | 12%
scripts0% | 0% | 0% | 37% | 62%
ios0% | 0% | 0% | 42% | 57%
mypy_plugins0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 20)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
native_functions.yaml
in aten/src/ATen/native
8466 - 5 1532 840
_torch_docs.py
in torch
1102 2 4 1833 520
setup.py
in root
691 22 5 2094 478
derivatives.yaml
in tools/autograd
1722 - 13 1596 478
functional.py
in torch/nn
2645 118 12 1853 418
common_methods_invocations.py
in torch/testing/_internal
12259 383 4 733 347
cmake
Dependencies.cmake
in cmake
1814 - 12 1876 340
gen_variable_type.py
in tools/autograd
643 4 19 1596 332
_tensor_docs.py
in torch
1512 1 14 1833 293
build_variables.bzl
in tools
1266 - 3 706 289
__init__.py
in torch/jit
73 5 56 1575 283
Module.cpp
in torch/csrc
915 5 13 2091 282
function_wrapper.py
in aten/src/ATen
1 - 469 1679 254
TensorShape.cpp
in aten/src/ATen/native
2064 123 4 1482 229
jit_type.h
in aten/src/ATen/core
1616 181 12 1203 222
gen_python_functions.py
in tools/autograd
581 36 4 1572 214
TensorFactories.cpp
in aten/src/ATen/native
1206 82 6 1469 210
operator.h
in caffe2/core
1182 77 8 2400 204
interned_strings.h
in aten/src/ATen/core
318 - 7 1208 203
__init__.py
in torch
416 34 50 2042 194