aws / deep-learning-containers
File Size

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

Intro
  • 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...
File Size Overall
  • There are 146 files with 9,353 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,897 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,559 lines of code)
    • 116 very small files (3,897 lines of code)
0% | 0% | 20% | 38% | 41%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 45% | 23% | 30%
yml0% | 0% | 0% | 42% | 57%
js0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 95% | 4%
toml0% | 0% | 0% | 0% | 100%
c0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow0% | 0% | 37% | 47% | 15%
src0% | 0% | 35% | 21% | 43%
pytorch0% | 0% | 0% | 43% | 56%
eks_infrastructure0% | 0% | 0% | 93% | 6%
scheduler0% | 0% | 0% | 64% | 35%
mxnet0% | 0% | 0% | 23% | 76%
release0% | 0% | 0% | 56% | 43%
huggingface0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
habana0% | 0% | 0% | 0% | 100%
autogluon0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
serve.py
in tensorflow/inference/docker/build_artifacts/sagemaker
350 25
python_service.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
334 18
python_service.py
in tensorflow/inference/docker/build_artifacts/sagemaker
327 20
utils.py
in src
311 23
serve.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
296 15
image_builder.py
in src
279 15
tfs_utils.py
in tensorflow/inference/docker/build_artifacts/sagemaker
189 14
image.py
in src
184 14
rbac.yaml
in eks_infrastructure
184 -
tensorflow-serving.js
in tensorflow/inference/docker/build_artifacts/sagemaker
183 16
tensorflow-serving.js
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
181 16
deep_learning_container.py
in src
176 11
buildspec-diy-sm-2-5.yml
in tensorflow
172 -
buildspec-tf1.yml
in tensorflow
171 -
cluster-autoscalar-autodiscover.yaml
in eks_infrastructure
166 -
buildspec-1-9-diy-sm.yml
in pytorch
162 -
requester.py
in scheduler/job_requester
161 13
buildspec-1-4.yml
in pytorch
150 -
buildspec-2-1.yml
in tensorflow
148 -
buildspec-1-6.yml
in mxnet
144 -
buildspec-2-3.yml
in tensorflow
141 -
tfs_utils.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
139 10
buildspec-2-2.yml
in tensorflow
139 -
important_dlc_packages.yml
in release/resources
120 -
mnist.py
in pytorch/training/docker/build_artifacts
113 5
buildspec-2-4.yml
in tensorflow
111 -
buildspec.yml
in tensorflow
110 -
buildspec-1-8-1.yml
in pytorch
107 -
buildspec-1-9-1.yml
in pytorch
107 -
buildspec-1-7-1.yml
in pytorch
101 -
buildspec-1-8-0.yml
in pytorch
100 -
buildspec-1-8.yml
in mxnet
100 -
buildspec-1-7.yml
in mxnet
99 -
buildspec.yml
in pytorch
98 -
buildspec-1-5.yml
in pytorch
93 -
buildspec-1-5-1.yml
in pytorch
93 -
buildspec-1-6.yml
in pytorch
93 -
start_testbuilds.py
in src
93 3
buildspec.yml
in mxnet
92 -
dlc_release_information.py
in release
91 13
generate_dlc_image_release_information.py
in root
90 3
safety_report_generator.py
in src
85 8
buildspec-2-6.yml
in tensorflow
85 -
buildspec-2-0.yml
in tensorflow
79 -
output.py
in src
71 9
config.py
in src
71 15
buildspec.yml
in huggingface/tensorflow
71 -
buildspec-2-4.yml
in huggingface/tensorflow
71 -
buildspec-1-7-1.yml
in huggingface/pytorch
70 -
buildspec-1-8-1.yml
in huggingface/pytorch
70 -
Files With Most Units (Top 20)
File# lines# units
serve.py
in tensorflow/inference/docker/build_artifacts/sagemaker
350 25
utils.py
in src
311 23
python_service.py
in tensorflow/inference/docker/build_artifacts/sagemaker
327 20
python_service.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
334 18
tensorflow-serving.js
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
181 16
tensorflow-serving.js
in tensorflow/inference/docker/build_artifacts/sagemaker
183 16
image_builder.py
in src
279 15
config.py
in src
71 15
serve.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
296 15
image.py
in src
184 14
tfs_utils.py
in tensorflow/inference/docker/build_artifacts/sagemaker
189 14
dlc_release_information.py
in release
91 13
requester.py
in scheduler/job_requester
161 13
deep_learning_container.py
in src
176 11
tfs_utils.py
in tensorflow/inference/docker/build_artifacts/sagemaker_neuron
139 10
output.py
in src
71 9
safety_report_generator.py
in src
85 8
buildspec.py
in src
47 6
mnist.py
in pytorch/training/docker/build_artifacts
113 5
send_status.py
in src
55 5
Files With Long Lines (Top 20)

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

File# lines# units# long lines
buildspec-1-9-diy-sm.yml
in pytorch
162 - 4
buildspec-tf1.yml
in tensorflow
171 - 4
buildspec.yml
in mxnet
92 - 3
buildspec-neuron.yml
in huggingface/pytorch
38 - 3
buildspec-diy-sm-2-5.yml
in tensorflow
172 - 3
image.py
in src
184 14 2
buildspec-1-8.yml
in mxnet
100 - 2
buildspec.yml
in habana/pytorch
67 - 2
buildspec.yml
in pytorch
98 - 1
buildspec-neuron.yml
in pytorch
39 - 1
buildspec-1-7-1.yml
in pytorch
101 - 1
buildspec-1-9-1-neuron.yml
in pytorch
39 - 1
buildspec-1-8-1.yml
in pytorch
107 - 1
buildspec-1-8-1-neuron.yml
in pytorch
36 - 1
buildspec-1-9-1.yml
in pytorch
107 - 1
generate_dlc_image_release_information.py
in root
90 3 1
image_builder.py
in src
279 15 1
constants.py
in src
37 - 1
send_status.py
in src
55 5 1
deep_learning_container.py
in src
176 11 1