Compiler-Native Dynamic Shapes: Runtime Inference & JIT

Compilers like DISC and PyTorch 2.x integrate dynamic shape awareness into their Intermediate Representation (IR), performing runtime shape inference and Just-In-Time (JIT) compilation to adapt to varying input dimensions efficiently.

Sources

Open the full topic