program analysis in relay
play

Program Analysis in Relay Gus Smith December 5th, 2019 - PowerPoint PPT Presentation

Program Analysis in Relay Gus Smith December 5th, 2019 Theres no Relay-sanctioned way to build program analyses! This leads to problems: This leads to problems: Duplication of effort This leads to


  1. Program Analysis in Relay Gus Smith December 5th, 2019

  2. There’s no Relay-sanctioned way to build program analyses!

  3. This leads to problems:

  4. This leads to problems: • Duplication of effort

  5. This leads to problems: • Duplication of effort • High barrier to entry for new developers

  6. This leads to problems: • Duplication of effort • High barrier to entry for new developers • Less readability and maintainability

  7. Needs documentation!

  8. Needs documentation! Needs a standard data interchange format!

  9. Needs documentation! Needs a standard data interchange format! …and needs to be discoverable/accessible!

  10. What do we want in an analysis framework?

  11. What do we want in an analysis framework? • Supports many types of program analyses

  12. What do we want in an analysis framework? • Supports many types of program analyses • Quick to write new analyses

  13. What do we want in an analysis framework? • Supports many types of program analyses • Quick to write new analyses • Promotes composing analyses together

  14. … https://github.com/microsoft/Analysis-Framework-for-TVM

  15. https://github.com/gussmith23/tvm/blob/analysis-framework-demo/demo.ipynb

  16. Moving forward https://github.com/apache/incubator-tvm/issues/4449

Recommend


More recommend