Relax's Symbolic Shape Advantage: Dynamic Model Optimization

Relay often marked dynamic tensor dimensions as 'unknown,' limiting compile-time optimization. Relax introduces first-class symbolic shape support, enabling the compiler to track dynamic dimensions across operations and function calls, which is crucial for optimizing modern dynamic ML workloads like LLMs.

Sources

Open the full topic