In this article
Minimum block size affects which supported subgraphs become engines; higher operator coverage does not independently prove better end-to-end performance.
Coverage improves while full-model latency worsens
A build lowers min_block_size so additional small supported regions become TensorRT engines. The partition report shows more converted operators, yet end-to-end inference does not improve. The model now crosses more execution boundaries and launches smaller engine blocks. Treat conversion coverage and partition granularity as separate observations. Converting a large expensive region and converting a tiny arithmetic fragment can both increase an operator count while having very different effects on the actual request path, overhead and accelerator execution efficiency.
The threshold controls engine-block formation
The compilation-settings reference defines min_block_size as the minimum consecutive TensorRT-capable operator count for a block. Smaller regions can remain in PyTorch despite having supported operators. The setting therefore changes partitioning policy, not just converter availability. Review supported regions and the resulting engine count together. Do not diagnose every PyTorch region as an unsupported operator when a size threshold or an explicit execution choice can also explain why that part did not become an engine.
Unsupported and intentionally retained regions differ
The unsupported-operator guide describes automatic fallback and controls for retaining operations in PyTorch. Keep the reason for each boundary identifiable. Autograd graph mechanics provide conceptual background on a computation graph’s structure, but conversion partitions are a distinct implementation decision. The same numerical algorithm can be divided into different execution regions, and the boundary arrangement needs evaluation on the target runtime rather than a general assumption that every additional partition improves inference.
Dryrun reveals structure before engine construction
The dryrun guide explains inspecting the lowered and partitioned graph before TensorRT engine building. Use it to compare candidate thresholds, then build and measure promising variants. Latency-stage diagnosis helps distinguish whole-request behavior from an isolated engine timing. An individually fast small block may not repay the cost of entering and leaving that region in the full pipeline, especially when many such boundaries are introduced by an aggressive coverage setting.
Compare complete variants under the same workload
Keep model, precision, input shapes and target hardware fixed while varying partition policy. Record converter coverage, engine regions, numerical agreement and final model latency together. Include representative supported inputs rather than selecting only the shape most favorable to one variant. A defensible result explains why the chosen granularity helps this model and runtime. It does not rank builds solely by the fraction of operators assigned to TensorRT or promise that reducing the minimum block size always produces faster end-to-end inference.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.