This document introduces the compilation flow and IR design of Glow, an open-source framework for optimizing and compiling machine learning models to multiple backends and devices. It discusses the three levels of IR in Glow: High Level IR (HIR), Low Level IR (LIR), and backends. Pros include supporting training and inference compilation, quantization, and many HIR and LIR optimizations. Cons include lacking Python support and real ASIC backends. The document suggests areas for further work on Glow, such as adding more advanced optimizations, offloading subgraphs, improving JIT performance, and debugging optimized models.