{
  "title": "How much of a busy GPU can the running kernels cover?",
  "method": "Bound the number of SMs assigned to recorded kernels by summing their grid blocks at all overlapping activity boundaries. Exclude intervals containing memory operations or unknown work. The denominator includes all observed step time multiplied by visible SM count. Uncovered SMs can still be bandwidth-constrained or used by another process.",
  "geometry_run": 44519323325,
  "crosscheck_run": 44520146137,
  "archive": {
    "path": "/benchmarks/downloads/gpu-grid-footprint.zip",
    "bytes": 33794,
    "sha256": "1dc523dc4ffb9569f23964bb82dacb723356848eac3ebfab2a6125cb6d582a47"
  },
  "captures": [
    {
      "name": "rank-0.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-0.json.gz",
      "sha256": "d92e3e7c7a73b902f7e5489e0b3ee73288e40769c3a5dc3ea11c8a06d709d491",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1493090000,
      "capacity_sm_ns": 119447200000,
      "geometry_unassigned_sm_ns": 42000825000,
      "attribution_sm_ns": {
        "other_kernels_only": 1036505000,
        "nccl_only": 40611346000,
        "mixed": 352974000
      }
    },
    {
      "name": "rank-1.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-1.json.gz",
      "sha256": "6fdb400906364f1de827c7927c4ccc044da1443599f83f283f33e5c23cb64839",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1493190000,
      "capacity_sm_ns": 119455200000,
      "geometry_unassigned_sm_ns": 49804321000,
      "attribution_sm_ns": {
        "other_kernels_only": 685380000,
        "nccl_only": 48434892000,
        "mixed": 684049000
      }
    },
    {
      "name": "rank-2.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-2.json.gz",
      "sha256": "c48c76a443a0391996d439cad328cf2a1d5ce3ef5500c16271e1b2a4d1722225",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1495362000,
      "capacity_sm_ns": 119628960000,
      "geometry_unassigned_sm_ns": 58262852000,
      "attribution_sm_ns": {
        "other_kernels_only": 654464000,
        "nccl_only": 56918425000,
        "mixed": 689963000
      }
    },
    {
      "name": "rank-3.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-3.json.gz",
      "sha256": "683aace7ed1ef885d4331596b572d16219692699c95d6767e3a4a6e574917e99",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1495137000,
      "capacity_sm_ns": 119610960000,
      "geometry_unassigned_sm_ns": 60363369000,
      "attribution_sm_ns": {
        "other_kernels_only": 660010000,
        "nccl_only": 59013536000,
        "mixed": 689823000
      }
    },
    {
      "name": "rank-4.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-4.json.gz",
      "sha256": "133e02fcf5618b220878ad5df6fab674c30b2e8729fee839f6fe4d49e9944b80",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1500241000,
      "capacity_sm_ns": 120019280000,
      "geometry_unassigned_sm_ns": 53066027000,
      "attribution_sm_ns": {
        "other_kernels_only": 922037000,
        "nccl_only": 51673764000,
        "mixed": 470226000
      }
    },
    {
      "name": "rank-5.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-5.json.gz",
      "sha256": "64bd6102cdd313a4d4abf658b1f22bcf971c92e541dcca117302025a172d60cb",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1494983000,
      "capacity_sm_ns": 119598640000,
      "geometry_unassigned_sm_ns": 59131931000,
      "attribution_sm_ns": {
        "other_kernels_only": 667619000,
        "nccl_only": 57765119000,
        "mixed": 699193000
      }
    },
    {
      "name": "rank-6.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-6.json.gz",
      "sha256": "ef13c9bdff3af3af2f5840c786835defeae9e4ea64f2fadfdacec0cef0f3acca",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1495539000,
      "capacity_sm_ns": 119643120000,
      "geometry_unassigned_sm_ns": 56600060000,
      "attribution_sm_ns": {
        "other_kernels_only": 657053000,
        "nccl_only": 55253893000,
        "mixed": 689114000
      }
    },
    {
      "name": "rank-7.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/vision_transformer/rank-7.json.gz",
      "sha256": "368ce4fb1b228b3995c774586264cce60b7034175bad73d1236ac433b005fb8d",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1495093000,
      "capacity_sm_ns": 119607440000,
      "geometry_unassigned_sm_ns": 52715640000,
      "attribution_sm_ns": {
        "other_kernels_only": 673061000,
        "nccl_only": 51328301000,
        "mixed": 714278000
      }
    },
    {
      "name": "h100_trace.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/h100/h100_trace.json.gz",
      "sha256": "0ebcd40f97a970ad34728dd6cce26e38533711d44bf8bed3977c94027b8f9ad7",
      "device": "NVIDIA H100",
      "sms": 132,
      "measured_gpu_ns": 594321000,
      "capacity_sm_ns": 78450372000,
      "geometry_unassigned_sm_ns": 10197209000,
      "attribution_sm_ns": {
        "other_kernels_only": 4404118000,
        "nccl_only": 5232370000,
        "mixed": 560721000
      }
    },
    {
      "name": "inference_rank_0.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/inference_single_rank/inference_rank_0.json.gz",
      "sha256": "3ced42b1cf8d7a8a3933bdf3c7e9406f5d0f8eed75a2c43acc73b7a3c4464aac",
      "unavailable": "Missing or ambiguous visible device and SM-count binding"
    },
    {
      "name": "df_index_resolver.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/df_index_resolver/df_index_resolver.json.gz",
      "sha256": "769af9ab5262468eb7baf6a7bfdb138ef15542264c72c0c313758d951b16dc15",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 1055622000,
      "capacity_sm_ns": 84449760000,
      "geometry_unassigned_sm_ns": 15665026000,
      "attribution_sm_ns": {
        "other_kernels_only": 1726969000,
        "nccl_only": 13938057000
      }
    },
    {
      "name": "nccl_data.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/nccl_parser_config/nccl_data.json.gz",
      "sha256": "c1cf9c575fdcd7bdc6326ceab834f94b351f81ae55577a7471aa9e328fb8b58e",
      "device": "NVIDIA A100-PG509-200",
      "sms": 108,
      "measured_gpu_ns": 219726905,
      "capacity_sm_ns": 23730505740,
      "geometry_unassigned_sm_ns": 1264577584,
      "attribution_sm_ns": {
        "nccl_only": 1043262436,
        "other_kernels_only": 211249465,
        "mixed": 10065683
      }
    },
    {
      "name": "rank0.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/negative_queue_length_values_check/rank0.json.gz",
      "sha256": "b8ce7a1a143b55dd1811d269272b09d1c693ffea85b91858f5fb246e7ad8c5f8",
      "device": "NVIDIA A100-SXM4-80GB",
      "sms": 108,
      "measured_gpu_ns": 648069000,
      "capacity_sm_ns": 69991452000,
      "geometry_unassigned_sm_ns": 10775436000,
      "attribution_sm_ns": {
        "other_kernels_only": 1110471000,
        "nccl_only": 9611788000,
        "mixed": 53177000
      }
    },
    {
      "name": "rank-0.Apr_03_18_51_38.1102.pt.trace.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/ns_resolution_trace/rank-0.Apr_03_18_51_38.1102.pt.trace.json.gz",
      "sha256": "e279d7280e73719e8dd9550e120cfe081fbe268596bd297fe5fcbf63e2b75a09",
      "device": "Tesla V100-SXM2-32GB",
      "sms": 80,
      "measured_gpu_ns": 263325902,
      "capacity_sm_ns": 21066072160,
      "geometry_unassigned_sm_ns": 425958844,
      "attribution_sm_ns": {
        "other_kernels_only": 425958844
      }
    },
    {
      "name": "control.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/trace_diff/control/control.json.gz",
      "sha256": "43ed872e4c5dc2e8da5946d761ed61923a75c6c799cc62be9e1c859d440a56fd",
      "device": "NVIDIA A100-PG509-200",
      "sms": 108,
      "measured_gpu_ns": 308352000,
      "capacity_sm_ns": 33302016000,
      "geometry_unassigned_sm_ns": 6690662000,
      "attribution_sm_ns": {
        "other_kernels_only": 1067197000,
        "nccl_only": 5077625000,
        "mixed": 545840000
      }
    },
    {
      "name": "test.json.gz",
      "source": "https://raw.githubusercontent.com/facebookresearch/HolisticTraceAnalysis/6bdc67c9cabf4ed73b380d50d7c1b04d5991b71a/tests/data/trace_diff/test/test.json.gz",
      "sha256": "5e69e04ed19b2dbf59e632008146c1bd6da417dc3af7ab4885c619b11e34f1bf",
      "device": "Tesla V100-SXM2-16GB",
      "sms": 80,
      "measured_gpu_ns": 477753000,
      "capacity_sm_ns": 38220240000,
      "geometry_unassigned_sm_ns": 4239086000,
      "attribution_sm_ns": {
        "other_kernels_only": 582760000,
        "nccl_only": 3282162000,
        "mixed": 374164000
      }
    }
  ],
  "vision_transformer": {
    "span_ns": 11962635000,
    "device_capacity_sm_ns": 957010800000,
    "geometry_unassigned_sm_ns": 431945025000,
    "kernel_only_ns": 9199732000,
    "memory_or_unknown_ns": 214873000,
    "no_recorded_device_ns": 2548030000,
    "enclosed_no_device_ns": 2535793000,
    "scored_steps": 24,
    "geometry_unassigned_percent_of_recorded_capacity": 45.134811958234955,
    "bands": {
      "1": {
        "10000": {
          "count": 10502,
          "duration_ns": 5768401000
        },
        "100000": {
          "count": 4834,
          "duration_ns": 5545932000
        },
        "1000000": {
          "count": 1329,
          "duration_ns": 4464023000
        }
      },
      "8": {
        "10000": {
          "count": 10270,
          "duration_ns": 5749984000
        },
        "100000": {
          "count": 4834,
          "duration_ns": 5545932000
        },
        "1000000": {
          "count": 1329,
          "duration_ns": 4464023000
        }
      },
      "16": {
        "10000": {
          "count": 9933,
          "duration_ns": 5693155000
        },
        "100000": {
          "count": 4627,
          "duration_ns": 5498608000
        },
        "1000000": {
          "count": 1329,
          "duration_ns": 4464023000
        }
      }
    }
  }
}
