pytorch / benchmark
Components & Dependencies

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

  • A software system can have one or more logical decompositions.
  • A logical decomposition can be defined in two ways in Sokrates.
  • First approach is based on the folders structure. Components are mapped to folders at defined folder depth relative to the source code root.
  • Second approach is based on explicit definition of each component. In such explicit definitions, components are explicitly named and their files are selected based on explicitly defined path and content filters.
  • A logical decomposition is considered invalid if a file is selected into two or more components.This constraint is introduced in order to facilitate measuring of dependencies among components.
  • Files not assigned to any component are put into a special "Unclassified" component.
Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (75 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure (relative to the source code root), with automatically defined folder depth to have at least 12 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 75 components.
  • 582 files, 55,432 lines of code (100.0% vs. main code).
  • "torchbenchmark/models/yolov3" is biggest, containing 26.54% of code.
  • "components" is smallest, containing 0% of code.


torchbenchmark/models/yolov314711 LOC (26%) 36 files
torchbenchmark/models/dlrm5236 LOC (9%) 14 files
torchbenchmark/models/tacotron23924 LOC (7%) 50 files
torchbenchmark/models/LearningToPaint2685 LOC (4%) 36 files
torchbenchmark/models/pytorch_CycleGAN_and_pix2pix2349 LOC (4%) 36 files
torchbenchmark/models/demucs2219 LOC (4%) 26 files
ROOT1635 LOC (2%) 14 files
torchbenchmark/models/Super_SloMo1453 LOC (2%) 11 files
torchbenchmark/models/attention_is_all_you_need_pytorch1361 LOC (2%) 16 files
torchbenchmark/score/configs1332 LOC (2%) 3 files
torchbenchmark/models/soft_actor_critic1312 LOC (2%) 9 files
torchbenchmark/models/Background_Matting1261 LOC (2%) 11 files
torchbenchmark/util1109 LOC (2%) 15 files
torchbenchmark/models/nvidia_deeprecommender1088 LOC (1%) 13 files
torchbenchmark/models/speech_transformer1084 LOC (1%) 21 files
torchbenchmark/util/framework1028 LOC (1%) 13 files
torchbenchmark/util/torchtext_legacy1019 LOC (1%) 9 files
torchbenchmark/models/moco1014 LOC (1%) 15 files
torchbenchmark/score812 LOC (1%) 7 files
torchbenchmark/models/BERT_pytorch757 LOC (1%) 30 files
torchbenchmark/models/pytorch_stargan718 LOC (1%) 8 files
torchbenchmark/models/drq568 LOC (1%) 7 files
components/_impl/workers544 LOC (<1%) 5 files
torchbenchmark/models/pytorch_unet541 LOC (<1%) 15 files
scripts508 LOC (<1%) 4 files
torchbenchmark/models/tts_angular475 LOC (<1%) 5 files
torchbenchmark/models/timm_efficientdet457 LOC (<1%) 6 files
torchbenchmark447 LOC (<1%) 3 files
torchbenchmark/models/pyhpc_turbulent_kinetic_energy400 LOC (<1%) 4 files
torchbenchmark/models/pyhpc_isoneutral_mixing361 LOC (<1%) 4 files
torchbenchmark/models/maml331 LOC (<1%) 6 files
torchbenchmark/e2e_models/hf_bert309 LOC (<1%) 3 files
torchbenchmark/models/fastNLP_Bert297 LOC (<1%) 4 files
torchbenchmark/models/pyhpc_equation_of_state295 LOC (<1%) 4 files
torchbenchmark/models/dcgan199 LOC (<1%) 3 files
torchbenchmark/models/pytorch_struct164 LOC (<1%) 4 files
torchbenchmark/models/vision_maskrcnn154 LOC (<1%) 4 files
torchbenchmark/microbenchmarks/nvfuser124 LOC (<1%) 2 files
components/_impl/tasks96 LOC (<1%) 2 files
torchbenchmark/models/detectron2_maskrcnn89 LOC (<1%) 3 files
torchbenchmark/models/maml_omniglot86 LOC (<1%) 4 files
torchbenchmark/util/backends85 LOC (<1%) 5 files
torchbenchmark/models/opacus_cifar1074 LOC (<1%) 3 files
torchbenchmark/e2e_models/fambench_xlmr60 LOC (<1%) 2 files
torchbenchmark/models/resnet50_quantized_qat54 LOC (<1%) 3 files
torchbenchmark/models/mobilenet_v2_quantized_qat52 LOC (<1%) 3 files
torchbenchmark/models/squeezenet1_131 LOC (<1%) 3 files
torchbenchmark/models/hf_T528 LOC (<1%) 3 files
torchbenchmark/models/hf_BigBird27 LOC (<1%) 3 files
torchbenchmark/models/hf_Albert27 LOC (<1%) 3 files
torchbenchmark/models/hf_Bart27 LOC (<1%) 3 files
torchbenchmark/models/hf_Bert27 LOC (<1%) 3 files
torchbenchmark/models/hf_GPT227 LOC (<1%) 3 files
torchbenchmark/models/hf_DistilBert27 LOC (<1%) 3 files
torchbenchmark/models/hf_Reformer27 LOC (<1%) 3 files
torchbenchmark/models/hf_Longformer27 LOC (<1%) 3 files
torchbenchmark/models/densenet12119 LOC (<1%) 3 files
install_utils19 LOC (<1%) 1 files
torchbenchmark/models/timm_regnet16 LOC (<1%) 3 files
torchbenchmark/models/resnet5016 LOC (<1%) 3 files
torchbenchmark/models/timm_vision_transformer16 LOC (<1%) 3 files
torchbenchmark/models/timm_nfnet16 LOC (<1%) 3 files
torchbenchmark/models/mobilenet_v3_large16 LOC (<1%) 3 files
torchbenchmark/models/timm_efficientnet16 LOC (<1%) 3 files
torchbenchmark/models/shufflenet_v2_x1_016 LOC (<1%) 3 files
torchbenchmark/models/resnet1816 LOC (<1%) 3 files
torchbenchmark/models/mnasnet1_016 LOC (<1%) 3 files
torchbenchmark/models/resnext50_32x4d16 LOC (<1%) 3 files
torchbenchmark/models/vgg1616 LOC (<1%) 3 files
torchbenchmark/models/mobilenet_v216 LOC (<1%) 3 files
torchbenchmark/models/alexnet16 LOC (<1%) 3 files
torchbenchmark/models/timm_vovnet16 LOC (<1%) 3 files
torchbenchmark/models/timm_resnest16 LOC (<1%) 3 files
components/_impl1 LOC (<1%) 1 files
components1 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-04-15 01:10