You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Parameters**|`{python} LighthouseSpecs.resnet_params_m_str` million |`{python} LighthouseSpecs.resnet_fp32_mb_str` MB model size at FP32; fits comfortably in GPU memory. |
1652
-
|**FLOPs/Image**|`{python} LighthouseSpecs.resnet_gflops_str` GFLOPs $(224{\times}224)$ | Dominated by $3{\times}3$ convolutions (~90 percent of compute). |
1653
-
|**Constraint**| Compute Bound | Limited by raw FLOPs, not memory bandwidth. |
1654
-
|**Bottleneck**| FP Throughput | Benefits maximally from specialized Matrix Units (Tensor Cores). |
1655
-
|**Profile**| High Arithmetic Intensity | High ratio of math-to-memory operations (~100 FLOPs/byte). |
|**Parameters**|`{python} LighthouseSpecs.resnet_params_m_str` million |`{python} LighthouseSpecs.resnet_fp32_mb_str` MB model size at FP32; fits comfortably in GPU memory. |
1652
+
|**FLOPs/Image**|`{python} LighthouseSpecs.resnet_gflops_str` GFLOPs $(224{\times}224)$ | Dominated by $3{\times}3$ convolutions (~90 percent of compute). |
1653
+
|**Constraint**| Compute Bound | Limited by raw FLOPs, not memory bandwidth. |
1654
+
|**Bottleneck**| FP Throughput | Benefits maximally from specialized Matrix Units (Tensor Cores). |
1655
+
|**Profile**| High Arithmetic Intensity | High ratio of math-to-memory operations (~100 FLOPs/byte). |
1656
1656
1657
1657
:::
1658
1658
:::
@@ -1790,7 +1790,7 @@ The bridge between the logical model and physical execution becomes critical for
1790
1790
1791
1791
@lst-conv_layer_compute reveals the logical computational pattern: seven nested loops that process each spatial position. While functionally correct, this naive implementation is rarely used in practice due to poor memory locality. Instead, the **im2col** approach trades memory (duplicating overlapping input pixels) for computational regularity, converting the messy nested loops into a streamlined matrix multiplication that saturates hardware FP units.
1792
1792
1793
-
::: {#lst-conv_layer_compute lst-cap="**Logical Convolution Computation**: Seven nested loops expose O(batch$\times$height$\times$width$\times$output_channels$\times$kernel_h$\times$kernel_w$\times$input_channels) complexity. While logically sound, this pattern is inefficient on hardware; production systems transform this into tiled matrix multiplications."}
1793
+
::: {#lst-conv_layer_compute lst-cap="**Logical Convolution Computation**: Seven nested loops expose O(batch$\times$height$\times$width$\times$output_channels$\times$kernel_h$\times$kernel_w$\times$input_channels) complexity. While logically sound, this pattern is inefficient on hardware; production systems transform this into tiled matrix multiplications."}
0 commit comments