How does torch.compile() achieve massive speedups despite highly optimized torch functions? See how operator fusion works!
-
Updated
Aug 3, 2026 - Jupyter Notebook
How does torch.compile() achieve massive speedups despite highly optimized torch functions? See how operator fusion works!
面向 Transformer 推理的可验证 Triton 融合算子与 torch.library 集成
A specialized compiler that optimizes deep learning models for AI accelerators with operator fusion, memory optimization, and hardware-specific passes.
C++17 ONNX inference optimizer + CPU runtime for Apple Silicon. Operator fusion via IR passes, Accelerate AMX-backed sgemm; benched vs ONNX Runtime CPU EP on DistilBERT (1.26x baseline speedup, 6.99x ORT on raw MatMul).
Profiling-driven micro-architectural case study & custom Triton GPU operators for batch-1 edge vision inference on NVIDIA Ada Lovelace.
TensorMorph is an AI-assisted MLIR compiler for TOSA graph optimization and operator fusion.
Native Rust edge inference engine with zero-copy memmap2 tensor loading, register-fused Linear+ReLU kernels, and scenario-aware MoE routing via rayon work-stealing — achieving 352µs lightweight and 1.39ms dense expert execution.
Small CPU graph compiler: constant folding, dead-code removal, fused vs unfused C lowering, opt-in CSE. Benchmarked, with limits stated. AI-assisted.
From-scratch C++ inference compiler: ONNX parsing, operator fusion, and handwritten NCHW kernels that match ONNX Runtime exactly on a trained MNIST CNN.
A small ML graph compiler: ONNX IR, fusion and folding passes (141 nodes to 32 on resnet18, outputs identical to 1.2e-06), liveness memory planning (13.8MB to 4MB), NumPy runtime verified against onnxruntime
A deep learning compiler with operator fusion and GPU codegen. PyTorch to graph IR to Triton and CUDA C++, with an analytic cost model checked against measured A100 speedups.
To associate your repository with the operator-fusion topic, visit your repo's landing page and select "manage topics."