ganler / ResearchReading

General system research material (not limited to paper) reading notes.
GNU General Public License v3.0
20 stars 1 forks source link

[SOSP'19] TASO: Optimizing Deep Learning Computation with Automated Generation of Graph Substitutions #23

Closed ganler closed 4 years ago

ganler commented 4 years ago

https://cs.stanford.edu/~zhihao/papers/sosp19.pdf


3rdparty review on ZHIHU(Chinese): https://zhuanlan.zhihu.com/p/94613279

ganler commented 4 years ago

current ml systems' approach

Rule-based operator fusion.

TensorFlow XLA: 200+ rules and 53'000+ LOC.

Limitations

image

(Credit: https://www.youtube.com/watch?v=YsJICemFBsQ&t=234s)

TASO

High-level Arch

Generate => Approximation-based verification/filtering => Mathematic verification

image

Tasks

Graph Generation

Graph Verifier

image

743 subs. in 5 minutes, and verifies them on 43 operators in 10 minutes. Zhihao is also working on distributed fingerprint generation to push the limit of the optimizing operator numbers.

Search-Based Graph Optimizer

image

Results

image

Possible Questions / Comments

Fingerprint:

Comparison with related works

TVM | Tensor Comprehensions