huggingface / kernel-builder
File Size

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

Intro
Learn more...
File Size Overall
31% | 8% | 20% | 14% | 24%
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
toml96% | 0% | 0% | 0% | 3%
rs0% | 24% | 32% | 17% | 24%
cmake0% | 0% | 57% | 0% | 42%
nix0% | 0% | 19% | 44% | 36%
py0% | 0% | 0% | 24% | 75%
h0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kernel-abi-check84% | 0% | 0% | 3% | 11%
kernel-compliance-check0% | 66% | 0% | 21% | 12%
build2cmake0% | 0% | 54% | 10% | 35%
lib0% | 0% | 33% | 38% | 27%
ROOT0% | 0% | 0% | 94% | 5%
pkgs0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
stable_abi.toml
in kernel-abi-check/src/python_abi
2472 -
lib.rs
in kernel-compliance-check/src
666 -
utils.cmake
in build2cmake/src/templates
453 -
cuda.rs
in build2cmake/src/torch
330 8
main.rs
in build2cmake/src
322 8
nix
build.nix
in lib
266 -
metal.rs
in build2cmake/src/torch
225 8
nix
flake.nix
in root
193 -
nix
default.nix
in lib/torch-extension
164 -
v2.rs
in build2cmake/src/config
142 -
137 -
formatter.rs
in kernel-compliance-check/src
111 -
main.rs
in kernel-abi-check/src
110 4
nix
108 -
setup.py
in build2cmake/src/templates/cuda
107 5
models.rs
in kernel-compliance-check/src
103 1
main.rs
in kernel-compliance-check/src
99 2
init-kernel.py
in scripts
99 3
setup.py
in build2cmake/src/templates/metal
92 5
version.rs
in kernel-abi-check/src
91 6
preamble.cmake
in build2cmake/src/templates/cuda
72 -
rewrite-nix-paths-macho.py
in pkgs/rewrite-nix-paths-macho
71 4
mod.rs
in kernel-abi-check/src/manylinux
70 -
nix
default.nix
in pkgs/stdenv-glibc-2_27
67 -
universal.rs
in build2cmake/src/torch
67 2
mod.rs
in kernel-abi-check/src/python_abi
59 -
fileset.rs
in build2cmake/src
59 3
version.rs
in build2cmake/src
58 5
compile-metal.cmake
in build2cmake/src/templates/metal
58 -
54 -
macos.rs
in kernel-abi-check/src
48 1
v1.rs
in build2cmake/src/config
47 -
nix
default.nix
in pkgs/build2cmake
45 -
nix
flake.nix
in kernel-abi-check
45 -
nix
flake.nix
in build2cmake
45 -
kernel.cmake
in build2cmake/src/templates/cuda
45 -
hipify.py
in build2cmake/src/templates/cuda
42 -
nix
deps.nix
in lib
38 -
kernel.cmake
in build2cmake/src/templates/metal
35 -
torch-extension.cmake
in build2cmake/src/templates/metal
33 -
nix
default.nix
in pkgs/kernel-abi-check
32 -
dep-cutlass.cmake
in build2cmake/src/templates/cuda
32 -
31 -
ops_identifier.rs
in build2cmake/src/torch
31 2
Cargo.toml
in kernel-compliance-check
29 -
nix
default.nix
in pkgs/rewrite-nix-paths-macho
28 -
nix
default.nix
in lib/torch-extension-noarch
27 -
24 1
Cargo.toml
in build2cmake
24 -
nix
default.nix
in lib/join-paths
23 -
Files With Most Units (Top 21)
File# lines# units
main.rs
in build2cmake/src
322 8
metal.rs
in build2cmake/src/torch
225 8
cuda.rs
in build2cmake/src/torch
330 8
version.rs
in kernel-abi-check/src
91 6
version.rs
in build2cmake/src
58 5
setup.py
in build2cmake/src/templates/cuda
107 5
setup.py
in build2cmake/src/templates/metal
92 5
rewrite-nix-paths-macho.py
in pkgs/rewrite-nix-paths-macho
71 4
main.rs
in kernel-abi-check/src
110 4
init-kernel.py
in scripts
99 3
fileset.rs
in build2cmake/src
59 3
main.rs
in kernel-compliance-check/src
99 2
universal.rs
in build2cmake/src/torch
67 2
ops_identifier.rs
in build2cmake/src/torch
31 2
models.rs
in kernel-compliance-check/src
103 1
24 1
macos.rs
in kernel-abi-check/src
48 1
registration.h
in build2cmake/src/templates
15 1
_ops.py
in build2cmake/src/templates/universal
4 1
_ops.py
in build2cmake/src/templates
5 1
build.rs
in build2cmake
3 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
54 - 1
init-kernel.py
in scripts
99 3 1
utils.cmake
in build2cmake/src/templates
453 - 1