File Size Overall
  • There are 63 files with 10,309 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (3,470 lines of code)
    • 7 medium size files (2,247 lines of code)
    • 19 small files (3,078 lines of code)
    • 32 very small files (1,514 lines of code)
0% | 33% | 21% | 29% | 14%
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
hpp0% | 32% | 20% | 33% | 14%
py0% | 41% | 30% | 16% | 11%
clang-tidy0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deep_gemm0% | 44% | 23% | 21% | 10%
csrc0% | 17% | 14% | 45% | 22%
scripts0% | 0% | 58% | 41% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
mega_moe.hpp
in deep_gemm/include/deep_gemm
913 8
bench.py
in deep_gemm/testing
779 59
mqa_logits.hpp
in deep_gemm/include/deep_gemm
648 12
heuristics.hpp
in csrc/jit_kernels
568 15
transform_sf.hpp
in deep_gemm/include/deep_gemm
562 15
gemm.hpp
in csrc/apis
482 11
fp8_dequant_gemm.hpp
in deep_gemm/include/deep_gemm
369 3
copy.hpp
in deep_gemm/include/deep_gemm/ascend
357 21
hc_prenorm.py
in deep_gemm/tilelang_ops
333 3
generate_pyi.py
in scripts
248 16
fp8_gemm.hpp
in deep_gemm/include/deep_gemm
234 1
mega_moe.hpp
in deep_gemm/include/deep_gemm/comm
224 9
mega_moe.hpp
in csrc/apis
198 6
attention.hpp
in csrc/apis
195 5
aclnn.hpp
in csrc/apis
195 4
mega_moe.hpp
in deep_gemm/include/deep_gemm/layout
192 13
hccl.hpp
in csrc/backends
182 2
layout.hpp
in csrc/utils
180 10
mqa_logits.hpp
in csrc/jit_kernels
178 4
msprof_mega_moe.py
in scripts/profiling
173 3
mega_moe.hpp
in deep_gemm/include/deep_gemm/simd
161 3
scheduler.hpp
in deep_gemm/include/deep_gemm
161 11
bf16_gemm.hpp
in deep_gemm/include/deep_gemm
158 1
paged_mqa_logits_metadata.hpp
in deep_gemm/include/deep_gemm/scheduler
158 7
__init__.py
in deep_gemm/mega
146 10
einsum.hpp
in csrc/apis
142 5
common.hpp
in deep_gemm/include/deep_gemm
141 15
fp8_gemm.hpp
in csrc/jit_kernels
140 2
paged_mqa_logits.hpp
in deep_gemm/include/deep_gemm/scheduler
128 14
operators.hpp
in deep_gemm/include/deep_gemm/epilogue
128 6
gemm_config.hpp
in csrc/jit_kernels
122 5
layout.hpp
in csrc/apis
99 5
epilogue.hpp
in deep_gemm/include/deep_gemm
93 4
transform_sf.hpp
in csrc/jit_kernels
92 1
mega_moe.hpp
in deep_gemm/include/deep_gemm/scheduler
90 4
clang-tidy
85 -
epilogue_class.hpp
in csrc/jit_kernels
80 13
fp8_dequant_gemm.hpp
in csrc/jit_kernels
78 1
tile_ptr.hpp
in deep_gemm/include/deep_gemm/ascend
77 12
__init__.py
in deep_gemm
74 1
jit.hpp
in csrc/jit
71 12
bf16_gemm.hpp
in csrc/jit_kernels
70 1
aclnn.hpp
in csrc/utils
67 -
sync.hpp
in deep_gemm/include/deep_gemm/ascend
66 10
mqa_logits.hpp
in deep_gemm/include/deep_gemm/scheduler
66 8
runtime.hpp
in csrc/apis
62 1
disable_fallback.py
in deep_gemm/testing
56 3
mega_moe.hpp
in csrc/jit_kernels
41 1
envs.py
in deep_gemm/testing
38 3
sym_buffer.hpp
in deep_gemm/include/deep_gemm/layout
36 4
Files With Most Units (Top 50)
File# lines# units
bench.py
in deep_gemm/testing
779 59
copy.hpp
in deep_gemm/include/deep_gemm/ascend
357 21
generate_pyi.py
in scripts
248 16
heuristics.hpp
in csrc/jit_kernels
568 15
common.hpp
in deep_gemm/include/deep_gemm
141 15
transform_sf.hpp
in deep_gemm/include/deep_gemm
562 15
paged_mqa_logits.hpp
in deep_gemm/include/deep_gemm/scheduler
128 14
epilogue_class.hpp
in csrc/jit_kernels
80 13
mega_moe.hpp
in deep_gemm/include/deep_gemm/layout
192 13
jit.hpp
in csrc/jit
71 12
tile_ptr.hpp
in deep_gemm/include/deep_gemm/ascend
77 12
mqa_logits.hpp
in deep_gemm/include/deep_gemm
648 12
gemm.hpp
in csrc/apis
482 11
scheduler.hpp
in deep_gemm/include/deep_gemm
161 11
layout.hpp
in csrc/utils
180 10
sync.hpp
in deep_gemm/include/deep_gemm/ascend
66 10
__init__.py
in deep_gemm/mega
146 10
mega_moe.hpp
in deep_gemm/include/deep_gemm/comm
224 9
mqa_logits.hpp
in deep_gemm/include/deep_gemm/scheduler
66 8
mega_moe.hpp
in deep_gemm/include/deep_gemm
913 8
paged_mqa_logits_metadata.hpp
in deep_gemm/include/deep_gemm/scheduler
158 7
mega_moe.hpp
in csrc/apis
198 6
operators.hpp
in deep_gemm/include/deep_gemm/epilogue
128 6
einsum.hpp
in csrc/apis
142 5
attention.hpp
in csrc/apis
195 5
layout.hpp
in csrc/apis
99 5
gemm_config.hpp
in csrc/jit_kernels
122 5
locality_domain.py
in deep_gemm
11 5
aclnn.hpp
in csrc/apis
195 4
mqa_logits.hpp
in csrc/jit_kernels
178 4
sym_buffer.hpp
in deep_gemm/include/deep_gemm/layout
36 4
mega_moe.hpp
in deep_gemm/include/deep_gemm/scheduler
90 4
epilogue.hpp
in deep_gemm/include/deep_gemm
93 4
hc_prenorm.py
in deep_gemm/tilelang_ops
333 3
fp8_dequant_gemm.hpp
in deep_gemm/include/deep_gemm
369 3
mega_moe.hpp
in deep_gemm/include/deep_gemm/simd
161 3
disable_fallback.py
in deep_gemm/testing
56 3
envs.py
in deep_gemm/testing
38 3
msprof_mega_moe.py
in scripts/profiling
173 3
hccl.hpp
in csrc/backends
182 2
math.hpp
in csrc/utils
9 2
fp8_gemm.hpp
in csrc/jit_kernels
140 2
par_compile.py
in deep_gemm/testing
32 2
runtime.hpp
in csrc/apis
62 1
epilogue_class.hpp
in csrc/apis
16 1
format.hpp
in csrc/utils
17 1
main.cpp
in csrc/indexing
10 1
34 1
bf16_gemm.hpp
in csrc/jit_kernels
70 1
fp8_dequant_gemm.hpp
in csrc/jit_kernels
78 1
Files With Long Lines (Top 32)

There are 32 files with lines longer than 120 characters. In total, there are 280 long lines.

File# lines# units# long lines
mega_moe.hpp
in deep_gemm/include/deep_gemm
913 8 61
heuristics.hpp
in csrc/jit_kernels
568 15 59
fp8_dequant_gemm.hpp
in deep_gemm/include/deep_gemm
369 3 23
fp8_gemm.hpp
in deep_gemm/include/deep_gemm
234 1 15
mqa_logits.hpp
in deep_gemm/include/deep_gemm
648 12 15
mega_moe.hpp
in deep_gemm/include/deep_gemm/layout
192 13 13
mega_moe.hpp
in deep_gemm/include/deep_gemm/comm
224 9 13
transform_sf.hpp
in deep_gemm/include/deep_gemm
562 15 13
mega_moe.hpp
in csrc/apis
198 6 12
bf16_gemm.hpp
in deep_gemm/include/deep_gemm
158 1 8
aclnn.hpp
in csrc/apis
195 4 5
generate_pyi.py
in scripts
248 16 5
gemm.hpp
in csrc/apis
482 11 4
attention.hpp
in csrc/apis
195 5 3
transform_sf.hpp
in csrc/jit_kernels
92 1 3
mega_moe.hpp
in deep_gemm/include/deep_gemm/scheduler
90 4 3
epilogue.hpp
in deep_gemm/include/deep_gemm
93 4 3
__init__.py
in deep_gemm/mega
146 10 3
layout.hpp
in csrc/utils
180 10 2
fp8_gemm.hpp
in csrc/jit_kernels
140 2 2
gemm_config.hpp
in csrc/jit_kernels
122 5 2
hc_prenorm.py
in deep_gemm/tilelang_ops
333 3 2
paged_mqa_logits_metadata.hpp
in deep_gemm/include/deep_gemm/scheduler
158 7 2
einsum.hpp
in csrc/apis
142 5 1
layout.hpp
in csrc/apis
99 5 1
epilogue_class.hpp
in csrc/apis
16 1 1
jit.hpp
in csrc/jit
71 12 1
bf16_gemm.hpp
in csrc/jit_kernels
70 1 1
sym_buffer.hpp
in deep_gemm/include/deep_gemm/layout
36 4 1
mega_moe.hpp
in deep_gemm/include/deep_gemm/simd
161 3 1
paged_mqa_logits.hpp
in deep_gemm/include/deep_gemm/scheduler
128 14 1
msprof_mega_moe.py
in scripts/profiling
173 3 1
About This Analysis
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...