pytorch / pytorch
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 6667
  • Daily file updates (only one update per file and date counted): 18511
  • First update: 2012-01-30
  • Latest update: 2022-01-23
  • Days between first and latest update: 3647 (521 weeks, estimated 2605 working days)
  • Active days (at least one file change): 2478
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 6,667 files with 1,190,840 lines of code in files.
    • 5,148 files that are 366+ days old (984,300 lines of code)
    • 716 files that are 181-365 days old (96,286 lines of code)
    • 394 files that are 91-180 days old (63,536 lines of code)
    • 340 files that are 31-90 days old (35,075 lines of code)
    • 69 files that are 1-30 days old (11,643 lines of code)
82% | 8% | 5% | 2% | <1%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 6,667 files with 1,190,840 lines of code in files.
    • 1,733 files have been last changed 366+ days ago (137,131 lines of code)
    • 1,546 files have been last changed 181-365 days ago (221,169 lines of code)
    • 962 files have been last changed 91-180 days ago (164,946 lines of code)
    • 1,594 files have been last changed 31-90 days ago (338,686 lines of code)
    • 832 files have been last changed 1-30 days ago (328,908 lines of code)
11% | 18% | 13% | 28% | 27%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History 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 Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
cpp78% | 7% | 8% | 4% | 1%
h84% | 8% | 2% | 2% | 2%
py72% | 12% | 10% | 4% | <1%
cc98% | <1% | <1% | 0% | <1%
cu91% | 5% | 1% | <1% | <1%
c94% | 1% | 0% | 0% | 3%
hpp87% | 11% | <1% | 0% | 0%
cuh86% | 7% | 5% | 0% | 0%
cmake97% | 1% | 0% | <1% | <1%
yaml100% | 0% | 0% | 0% | 0%
S72% | 27% | 0% | 0% | 0%
mm56% | 35% | 7% | 0% | 0%
pb100% | 0% | 0% | 0% | 0%
pyi67% | 31% | 0% | 0% | 1%
in93% | 2% | 0% | 4% | 0%
bzl93% | 0% | 0% | 0% | 6%
java100% | 0% | 0% | 0% | 0%
metal100% | 0% | 0% | 0% | 0%
glsl47% | 32% | 12% | 8% | 0%
proto100% | 0% | 0% | 0% | 0%
rb100% | 0% | 0% | 0% | 0%
yy100% | 0% | 0% | 0% | 0%
html85% | 14% | 0% | 0% | 0%
css100% | 0% | 0% | 0% | 0%
ll100% | 0% | 0% | 0% | 0%
m100% | 0% | 0% | 0% | 0%
ps1100% | 0% | 0% | 0% | 0%
js0% | 100% | 0% | 0% | 0%
pt0% | 100% | 0% | 0% | 0%
toml0% | 100% | 0% | 0% | 0%
lds0% | 0% | 100% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
h15% | 9% | 10% | 39% | 25%
py15% | 13% | 13% | 22% | 34%
c82% | 2% | 0% | <1% | 14%
cc13% | 58% | 14% | 10% | 3%
cmake37% | 16% | 10% | 16% | 19%
cpp<1% | 16% | 12% | 34% | 36%
mm47% | 13% | 3% | 34% | 0%
cu3% | 15% | 38% | 15% | 26%
pb100% | 0% | 0% | 0% | 0%
S28% | 71% | 0% | 0% | 0%
metal100% | 0% | 0% | 0% | 0%
java42% | 36% | 21% | 0% | 0%
cuh1% | 1% | 57% | 17% | 22%
in10% | 5% | 4% | 10% | 69%
pyi6% | 36% | 27% | 22% | 7%
glsl8% | 0% | 3% | 88% | 0%
yy100% | 0% | 0% | 0% | 0%
html85% | 14% | 0% | 0% | 0%
yaml1% | 0% | 0% | 0% | 98%
proto12% | 0% | 0% | 87% | 0%
css100% | 0% | 0% | 0% | 0%
bzl3% | <1% | 3% | 5% | 87%
ll100% | 0% | 0% | 0% | 0%
ps1100% | 0% | 0% | 0% | 0%
hpp<1% | 2% | 2% | 92% | 2%
pt0% | 100% | 0% | 0% | 0%
toml0% | 100% | 0% | 0% | 0%
js0% | 0% | 100% | 0% | 0%
rb0% | 0% | 100% | 0% | 0%
lds0% | 0% | 100% | 0% | 0%
m0% | 0% | 0% | 100% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
torch71% | 11% | 11% | 5% | 1%
caffe299% | <1% | <1% | 0% | <1%
aten82% | 10% | 2% | 2% | 1%
c1094% | 3% | 1% | <1% | <1%
tools65% | 20% | 1% | 12% | <1%
cmake97% | 1% | 0% | <1% | <1%
benchmarks49% | 22% | 20% | 7% | 0%
binaries95% | 0% | 4% | 0% | 0%
modules100% | 0% | 0% | 0% | 0%
android100% | 0% | 0% | 0% | 0%
scripts90% | 9% | 0% | 0% | 0%
ROOT96% | 3% | 0% | 0% | 0%
ios67% | 2% | 29% | 0% | 0%
mypy_plugins0% | 100% | 0% | 0% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
caffe226% | 31% | 13% | 21% | 7%
aten8% | 18% | 15% | 27% | 30%
torch2% | 8% | 13% | 36% | 39%
cmake36% | 16% | 10% | 17% | 19%
benchmarks17% | 33% | 10% | 38% | 0%
binaries56% | 9% | 19% | 13% | 1%
modules64% | 33% | 0% | 0% | 1%
android19% | 16% | 21% | 15% | 27%
tools2% | 13% | 7% | 26% | 49%
c10<1% | 24% | 22% | 11% | 40%
ios8% | 2% | 79% | 9% | 0%
scripts1% | 90% | 7% | 0% | 0%
ROOT0% | 3% | 0% | 9% | 86%
mypy_plugins0% | 0% | 100% | 0% | 0%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
in
TorchConfig.cmake.in
in cmake
171 - 54 2902 33
blob.h
in caffe2/core
106 4 1030 2405 63
conv_pool_op_base.h
in caffe2/operators
763 34 48 2402 82
simple_queue.h
in caffe2/utils
47 4 217 2401 16
utility_ops.h
in caffe2/operators
1250 65 18 2400 148
operator.h
in caffe2/core
1182 77 8 2400 204
cc
operator.cc
in caffe2/core
782 22 146 2400 127
proto
caffe2.proto
in caffe2/proto
463 - 83 2400 87
load_save_op.h
in caffe2/operators
366 12 48 2400 70
cc
net.cc
in caffe2/core
204 11 186 2400 74
summarize_op.h
in caffe2/operators
46 1 1062 2400 16
proto
caffe2_legacy.proto
in caffe2/proto
45 - 83 2400 11
cc
workspace.cc
in caffe2/core
278 11 186 2399 50
learning_rate_functors.h
in caffe2/sgd
413 20 42 2397 27
learning_rate_op.h
in caffe2/sgd
271 1 48 2397 45
cc
iter_op.cc
in caffe2/sgd
54 2 186 2397 25
cc
blob_serialization.cc
in caffe2/core
984 53 112 2395 72
cc
load_save_op.cc
in caffe2/operators
438 5 186 2395 41
blob_serialization.h
in caffe2/core
175 7 46 2395 55
cc
protodb.cc
in caffe2/db
97 13 83 2395 19
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
alloc_info.h
in torch/lib/libshm
7 - 1775 1973 2
__init__.py
in torch/utils/backcompat
15 3 1695 1716 3
python_comm.h
in torch/csrc/cuda
4 - 1497 1497 1
sparse.py
in torch/cuda
1 - 1428 1789 4
deprecated.yaml
in tools/autograd
60 - 1418 1582 6
__init__.py
in torch/backends/mkl
4 1 1408 1408 1
ios_caffe_defines.h
in caffe2/mobile/contrib/ios
1 - 1397 1601 4
aten_op.h
in caffe2/contrib/aten
1 - 1397 1425 3
macros.h
in caffe2/core
1 - 1397 1762 4
context.h
in caffe2/contrib/gloo
2 - 1397 1778 5
cc
qtensor.cc
in caffe2/core
4 - 1397 1783 4
cc
create_db_op_gpu.cc
in caffe2/db
5 - 1397 2014 7
cc
learning_rate_op_gpu.cc
in caffe2/sgd
5 - 1397 2323 8
typed_axpy.h
in caffe2/perfkernels
5 - 1397 1645 4
cu
assert_op.cu
in caffe2/operators
5 - 1397 1510 3
cc
while_op_gpu.cc
in caffe2/operators
5 - 1397 1498 3
cc
if_op_gpu.cc
in caffe2/operators
5 - 1397 1498 3
cc
negate_gradient_op_gpu.cc
in caffe2/operators
5 - 1397 1533 2
cc
zero_gradient_op_gpu.cc
in caffe2/operators
5 - 1397 1684 7
cc
shape_op_gpu.cc
in caffe2/operators
5 - 1397 1615 4
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
optimizer_overlap_hooks.py
in torch/distributed/algorithms/ddp_comm_hooks
38 4 2 2 1
cc
margin_loss_l2r_op.cc
in caffe2/operators
132 4 3 3 1
margin_loss_l2r_op.h
in caffe2/operators
41 1 3 3 1
generate_bytecode.py
in torch/jit
23 2 3 3 1
qdropout.cpp
in aten/src/ATen/native/quantized/cpu
16 1 3 3 1
from_blob.h
in aten/src/ATen/ops
96 7 4 4 1
EmptyTensor.cpp
in aten/src/ATen/cuda
81 6 4 4 1
EmptyTensor.h
in aten/src/ATen/cuda
36 - 4 4 1
tensor.h
in aten/src/ATen/ops
26 5 4 4 1
backport_manager.cpp
in torch/csrc/jit/mobile/compatibility
374 11 5 5 1
model_compatibility.cpp
in torch/csrc/jit/mobile/compatibility
316 22 5 5 1
backport.cpp
in torch/csrc/jit/mobile/compatibility
88 5 5 5 1
runtime_compatibility.cpp
in torch/csrc/jit/mobile/compatibility
78 7 5 5 1
model_compatibility.h
in torch/csrc/jit/mobile/compatibility
68 - 5 5 1
backport_manager.h
in torch/csrc/jit/mobile/compatibility
40 - 5 5 1
backport.h
in torch/csrc/jit/mobile/compatibility
30 - 5 5 1
runtime_compatibility.h
in torch/csrc/jit/mobile/compatibility
28 - 5 5 1
EmptyTensor.cpp
in aten/src/ATen
225 19 6 6 1
EmptyTensor.h
in aten/src/ATen
78 - 6 6 1
build.bzl
in c10/macros
30 - 6 6 1
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
default_hooks.py
in torch/distributed/algorithms/ddp_comm_hooks
74 12 2 514 28
dlpack.h
in caffe2/python
70 - 2 1495 8
__init__.py
in torch/distributed/algorithms/ddp_comm_hooks
67 3 2 514 16
optimizer_overlap_hooks.py
in torch/distributed/algorithms/ddp_comm_hooks
38 4 2 2 1
script_init.cpp
in torch/csrc/jit/python
1978 40 3 698 88
common_quantization.py
in torch/testing/_internal
1664 202 3 733 114
Math.h
in aten/src/ATen/native
1620 30 3 887 37
quantization_patterns.py
in torch/ao/quantization/fx
1545 54 3 125 18
cuh
Math.cuh
in aten/src/ATen/native/cuda
1509 - 3 872 24
build_variables.bzl
in tools
1266 - 3 706 289
in
__init__.pyi.in
in torch/_C
981 - 3 624 146
Conv_miopen.cpp
in aten/src/ATen/native/miopen
948 57 3 1250 33
cu
layer_norm_kernel.cu
in aten/src/ATen/native/cuda
884 - 3 833 27
jit_utils.cpp
in aten/src/ATen/native/cuda
808 24 3 7 4
cu
LossCTC.cu
in aten/src/ATen/native/cuda
702 - 3 1274 43
mappings.py
in torch/ao/ns/fx
596 5 3 135 8
UnaryOpsKernel.cpp
in aten/src/ATen/native/cpu
580 40 3 1399 132
cu
DepthwiseConv2d.cu
in aten/src/ATen/native/cuda
558 - 3 628 8
dataloader.py
in torch/utils/data
515 33 3 1943 119
cu
DilatedMaxPool3d.cu
in aten/src/ATen/native/cuda
455 - 3 972 31