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.
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]
Sources
- Profiling TorchNeuron (Part 1) (huggingface.co · checked )
More articles
- LearningWhat a Kernel Is and How Eager PyTorch Uses ThemWhat a Hugging Face post says a kernel is and what happens in eager PyTorch when operations trigger individual kernels sequentially.
- LearningHow a Web Function Receives Work and What a MicroVM Is ForHow the AWS post says a Lambda Web Function receives work, which workloads it says suit that model and what MicroVMs are for.
- LearningWhy Iceberg V2 Tables Hit Limits as Data GrowsWhat an AWS post says teams running analytics on Iceberg V2 tables often hit, the workarounds it lists and what each adds.