openai / blocksparse
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
36% | 34% | 23% | 5% | <1%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cu58% | 27% | 14% | 0% | 0%
cc18% | 27% | 41% | 10% | 3%
h58% | 0% | 31% | 9% | 0%
sass0% | 100% | 0% | 0% | 0%
py0% | 32% | 48% | 18% | 1%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src41% | 34% | 21% | 2% | <1%
blocksparse0% | 37% | 40% | 21% | <1%
ROOT0% | 0% | 94% | 0% | 5%
Longest Files (Top 50)
File# lines# units
2499 -
1503 -
1425 -
ew_op.cc
in src
1270 49
1224 -
1112 -
1100 -
1035 260
1030 -
884 -
882 -
792 -
conv.py
in blocksparse
786 52
785 -
763 -
747 22
737 -
737 -
695 -
674 -
655 -
653 14
matmul.py
in blocksparse
645 40
590 -
507 31
bst_op.cc
in src
481 12
transformer.py
in blocksparse
480 42
480 11
469 10
455 -
450 18
414 -
394 14
393 -
spatial_conv.py
in src/dev
389 20
384 4
328 31
nccl.py
in blocksparse
310 18
304 -
ewops.py
in blocksparse
287 44
253 6
251 5
235 9
optimize.py
in blocksparse
228 24
216 -
214 -
213 -
213 -
utils.py
in blocksparse
212 19
193 6
Files With Most Units (Top 36)
File# lines# units
1035 260
conv.py
in blocksparse
786 52
ew_op.cc
in src
1270 49
ewops.py
in blocksparse
287 44
transformer.py
in blocksparse
480 42
matmul.py
in blocksparse
645 40
328 31
507 31
optimize.py
in blocksparse
228 24
747 22
spatial_conv.py
in src/dev
389 20
utils.py
in blocksparse
212 19
nccl.py
in blocksparse
310 18
450 18
173 15
lstm.py
in blocksparse
164 14
394 14
653 14
norms.py
in blocksparse
191 13
bst_op.cc
in src
481 12
grads.py
in blocksparse
185 11
480 11
469 10
235 9
253 6
quantize.py
in blocksparse
154 6
193 6
251 5
384 4
161 4
172 4
100 4
182 4
embed.py
in blocksparse
30 3
69 2
62 1
Files With Long Lines (Top 50)

There are 60 files with lines longer than 120 characters. In total, there are 1149 long lines.

File# lines# units# long lines
1035 260 85
507 31 80
ew_op.cc
in src
1270 49 72
1030 - 69
1503 - 61
1224 - 49
785 - 42
747 22 40
1425 - 38
1112 - 34
455 - 33
590 - 32
450 18 28
469 10 28
bst_op.cc
in src
481 12 27
884 - 26
653 14 26
394 14 24
792 - 24
172 4 22
213 - 22
2499 - 20
1100 - 17
conv.py
in blocksparse
786 52 15
695 - 15
480 11 14
216 - 13
193 6 13
transformer.py
in blocksparse
480 42 12
882 - 11
251 5 10
384 4 9
nccl.py
in blocksparse
310 18 8
214 - 8
spatial_conv.py
in src/dev
389 20 8
414 - 8
253 6 7
matmul.py
in blocksparse
645 40 7
213 - 7
161 4 7
737 - 7
737 - 7
optimize.py
in blocksparse
228 24 6
ewops.py
in blocksparse
287 44 6
393 - 6
763 - 6
655 - 6
304 - 5
674 - 5
grads.py
in blocksparse
185 11 3
Correlations

File Size vs. Commits (all time): 58 points

blocksparse/nccl.py x: 3 commits (all time) y: 310 lines of code src/gpu_types.h x: 4 commits (all time) y: 173 lines of code src/nccl_op.cc x: 2 commits (all time) y: 480 lines of code src/dev/spatial_conv.py x: 1 commits (all time) y: 389 lines of code src/gpu_hmma.h x: 5 commits (all time) y: 328 lines of code src/ew_op_gpu.h x: 6 commits (all time) y: 1035 lines of code src/transformer_op_gpu.cu x: 5 commits (all time) y: 884 lines of code blocksparse/lstm.py x: 3 commits (all time) y: 164 lines of code blocksparse/norms.py x: 4 commits (all time) y: 191 lines of code src/bst_op.cc x: 3 commits (all time) y: 481 lines of code src/layer_norm_cn_op_gpu.cu x: 3 commits (all time) y: 695 lines of code src/layer_norm_nc_op_gpu.cu x: 4 commits (all time) y: 792 lines of code src/layer_norm_op.cc x: 4 commits (all time) y: 469 lines of code src/lstm_op_gpu.cu x: 3 commits (all time) y: 590 lines of code blocksparse/__init__.py x: 4 commits (all time) y: 113 lines of code setup.py x: 3 commits (all time) y: 16 lines of code blocksparse/conv.py x: 2 commits (all time) y: 786 lines of code blocksparse/embed.py x: 2 commits (all time) y: 30 lines of code blocksparse/ewops.py x: 6 commits (all time) y: 287 lines of code blocksparse/grads.py x: 1 commits (all time) y: 185 lines of code blocksparse/matmul.py x: 3 commits (all time) y: 645 lines of code blocksparse/optimize.py x: 4 commits (all time) y: 228 lines of code blocksparse/quantize.py x: 3 commits (all time) y: 154 lines of code blocksparse/transformer.py x: 6 commits (all time) y: 480 lines of code blocksparse/utils.py x: 1 commits (all time) y: 212 lines of code src/batch_norm_op_gpu.cu x: 2 commits (all time) y: 393 lines of code src/blocksparse_hgemm_cn_128_op_gpu.cu x: 1 commits (all time) y: 1112 lines of code src/blocksparse_hgemm_cn_64_op_gpu.cu x: 1 commits (all time) y: 1425 lines of code src/blocksparse_hgemm_nc_op_gpu.cu x: 1 commits (all time) y: 1224 lines of code src/blocksparse_l2_norm_op.cc x: 2 commits (all time) y: 507 lines of code src/blocksparse_matmul_gated_op_gpu.cu x: 4 commits (all time) y: 882 lines of code src/blocksparse_matmul_op.cc x: 3 commits (all time) y: 653 lines of code src/blocksparse_matmul_op_gpu.cu x: 3 commits (all time) y: 2499 lines of code src/bst_hgemm_op_gpu.cu x: 1 commits (all time) y: 1100 lines of code src/bst_sgemm_op_gpu.cu x: 1 commits (all time) y: 414 lines of code src/bst_softmax_op_gpu.cu x: 1 commits (all time) y: 455 lines of code src/cwise_linear_op.cc x: 2 commits (all time) y: 161 lines of code src/edge_bias_op.cc x: 2 commits (all time) y: 182 lines of code src/embedding_op.cc x: 2 commits (all time) y: 172 lines of code src/ew_op.cc x: 4 commits (all time) y: 1270 lines of code src/ew_op_gpu.cu x: 4 commits (all time) y: 1503 lines of code src/matmul_op.cc x: 2 commits (all time) y: 69 lines of code src/optimize_op.cc x: 4 commits (all time) y: 747 lines of code src/optimize_op_gpu.cu x: 4 commits (all time) y: 1030 lines of code src/quantize_op_gpu.cu x: 2 commits (all time) y: 216 lines of code src/transformer_op.cc x: 6 commits (all time) y: 450 lines of code src/blocksparse_matmul.h x: 2 commits (all time) y: 235 lines of code src/gpu_types.cc x: 2 commits (all time) y: 100 lines of code src/matmul_op_gpu.cu x: 2 commits (all time) y: 304 lines of code src/batch_norm_op.cc x: 1 commits (all time) y: 193 lines of code src/blocksparse_l2_norm_op_gpu.cu x: 1 commits (all time) y: 785 lines of code src/lstm_op.cc x: 1 commits (all time) y: 394 lines of code src/quantize_op.cc x: 1 commits (all time) y: 251 lines of code
2499.0
lines of code
  min: 16.0
  average: 519.31
  25th percentile: 207.25
  median: 391.0
  75th percentile: 756.5
  max: 2499.0
0 6.0
commits (all time)
min: 1.0 | average: 2.64 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 6.0

File Size vs. Contributors (all time): 58 points

blocksparse/nccl.py x: 2 contributors (all time) y: 310 lines of code src/gpu_types.h x: 2 contributors (all time) y: 173 lines of code src/nccl_op.cc x: 2 contributors (all time) y: 480 lines of code src/dev/spatial_conv.py x: 1 contributors (all time) y: 389 lines of code src/gpu_hmma.h x: 1 contributors (all time) y: 328 lines of code src/ew_op_gpu.h x: 1 contributors (all time) y: 1035 lines of code src/transformer_op_gpu.cu x: 1 contributors (all time) y: 884 lines of code blocksparse/lstm.py x: 1 contributors (all time) y: 164 lines of code blocksparse/norms.py x: 1 contributors (all time) y: 191 lines of code src/bst_op.cc x: 1 contributors (all time) y: 481 lines of code src/layer_norm_cn_op_gpu.cu x: 1 contributors (all time) y: 695 lines of code src/layer_norm_nc_op_gpu.cu x: 1 contributors (all time) y: 792 lines of code src/layer_norm_op.cc x: 1 contributors (all time) y: 469 lines of code src/lstm_op_gpu.cu x: 1 contributors (all time) y: 590 lines of code blocksparse/__init__.py x: 1 contributors (all time) y: 113 lines of code setup.py x: 2 contributors (all time) y: 16 lines of code blocksparse/conv.py x: 1 contributors (all time) y: 786 lines of code blocksparse/embed.py x: 1 contributors (all time) y: 30 lines of code blocksparse/ewops.py x: 2 contributors (all time) y: 287 lines of code blocksparse/grads.py x: 1 contributors (all time) y: 185 lines of code blocksparse/matmul.py x: 1 contributors (all time) y: 645 lines of code blocksparse/optimize.py x: 1 contributors (all time) y: 228 lines of code blocksparse/quantize.py x: 1 contributors (all time) y: 154 lines of code blocksparse/utils.py x: 1 contributors (all time) y: 212 lines of code src/blocksparse_hgemm_cn_128_op_gpu.cu x: 1 contributors (all time) y: 1112 lines of code src/blocksparse_hgemm_cn_64_op_gpu.cu x: 1 contributors (all time) y: 1425 lines of code src/blocksparse_hgemm_nc_op_gpu.cu x: 1 contributors (all time) y: 1224 lines of code src/blocksparse_l2_norm_op.cc x: 1 contributors (all time) y: 507 lines of code src/blocksparse_matmul_op.cc x: 1 contributors (all time) y: 653 lines of code src/blocksparse_matmul_op_gpu.cu x: 1 contributors (all time) y: 2499 lines of code src/bst_hgemm_op_gpu.cu x: 1 contributors (all time) y: 1100 lines of code src/bst_sgemm_op_gpu.cu x: 1 contributors (all time) y: 414 lines of code src/bst_softmax_op_gpu.cu x: 1 contributors (all time) y: 455 lines of code src/embedding_op.cc x: 1 contributors (all time) y: 172 lines of code src/ew_op.cc x: 1 contributors (all time) y: 1270 lines of code src/ew_op_gpu.cu x: 1 contributors (all time) y: 1503 lines of code src/matmul_op.cc x: 1 contributors (all time) y: 69 lines of code src/optimize_op.cc x: 1 contributors (all time) y: 747 lines of code src/optimize_op_gpu.cu x: 1 contributors (all time) y: 1030 lines of code src/transformer_op.cc x: 1 contributors (all time) y: 450 lines of code src/gpu_types.cc x: 1 contributors (all time) y: 100 lines of code src/matmul_op_gpu.cu x: 1 contributors (all time) y: 304 lines of code src/lstm_op.cc x: 1 contributors (all time) y: 394 lines of code src/quantize_op.cc x: 1 contributors (all time) y: 251 lines of code
2499.0
lines of code
  min: 16.0
  average: 519.31
  25th percentile: 207.25
  median: 391.0
  75th percentile: 756.5
  max: 2499.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.09 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".