Dynamic Shape Expressibility: Beyond 'Unknown' Dimensions

TVM Unity's symbolic shape support (via Relax) vastly improves on previous systems like Relay by allowing dynamic dimensions to be represented by symbolic variables (e.g., 'm' for batch size), enabling precise graph-level understanding for models like transformers with variable sequence lengths, where older systems could only mark dimensions as 'unknown'.

Sources

Open the full topic