Serving the model

Machine Learning End-to-End

Joshua Stapleton

Machine Learning Engineer

Model-as-a-service

  • Stakeholders / users access model over internet
  • Surface model through portal

    • Users post queries / data
    • Receive diagnosis / predictions
  • Concerns:

    • Rural clinic / no internet access
    • Highly secure environment / sensitive data

Portal symbol showing model as a service

Machine Learning End-to-End

On-device serving

Integrated serving architectures

  • Edge-computing
  • Helpful for unreliable internet cases

Gears in head showing on-device computation

Machine Learning End-to-End

Pros and cons of on-device serving

Pros:

  • Lower latency
  • Security
  • Applications for remote / disconnected areas

Cons:

  • Resource constraints
  • Model updates
  • Monitoring
Machine Learning End-to-End

Implementation strategies

  • Pruning
  • Transfer Learning
  • Use Dedicated Frameworks

Icon showing strategy

Machine Learning End-to-End

Let's practice!

Machine Learning End-to-End

Preparing Video For Download...