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

program analysis in relay
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Program Analysis in Relay

Gus Smith December 5th, 2019

slide-2
SLIDE 2

slide-3
SLIDE 3

slide-4
SLIDE 4

slide-5
SLIDE 5

slide-6
SLIDE 6

slide-7
SLIDE 7

slide-8
SLIDE 8

slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12

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

slide-13
SLIDE 13

This leads to problems:

slide-14
SLIDE 14

This leads to problems:

  • Duplication of effort
slide-15
SLIDE 15

This leads to problems:

  • Duplication of effort
  • High barrier to entry for new

developers

slide-16
SLIDE 16

This leads to problems:

  • Duplication of effort
  • High barrier to entry for new

developers

  • Less readability and maintainability
slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20

Needs documentation!

slide-21
SLIDE 21

Needs documentation! Needs a standard data interchange format!

slide-22
SLIDE 22

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

slide-23
SLIDE 23

What do we want in an analysis framework?

slide-24
SLIDE 24

What do we want in an analysis framework?

  • Supports many types of program

analyses

slide-25
SLIDE 25

What do we want in an analysis framework?

  • Supports many types of program

analyses

  • Quick to write new analyses
slide-26
SLIDE 26

What do we want in an analysis framework?

  • Supports many types of program

analyses

  • Quick to write new analyses
  • Promotes composing analyses

together

slide-27
SLIDE 27

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

slide-28
SLIDE 28

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

slide-29
SLIDE 29

Moving forward

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