Blogs / Why Knowing a Model Is Slow Is Not Enough

Why Knowing a Model Is Slow Is Not Enough

What an AWS post says about the gap between making a model fast and analyzing why it is slow, and what chip and backend the walkthrough uses.

  • Learning
  • 1 min read

For: Learners who have trained or run a model.

The gap

Many ML practitioners have some intuition about how to make models run fast, but fewer know how to analyze why a model is slow.[1]

What the walkthrough uses

The walkthrough uses AWS Trainium, a purpose-built AI chip for deep learning training and inference workloads, and TorchNeuron, its open source native PyTorch backend.[1]

Intuition for makingmodels run fastcommon among MLpractitionersAnalyzing why a modelis slowknown by fewerpractitionersAWS Trainium withTorchNeuronthe chip and PyTorchbackend the walkthroughusesbut fewer knowwalked through on
What gap does the post describe?

Sources

  1. Profiling TorchNeuron (Part 1) (huggingface.co · checked )

More articles