Profiling TorchNeuron on AWS Trainium: A Systematic Guide to Inference Performance Analysis
Hugging Face publishes a practical primer on using torch.profiler with TorchNeuron to diagnose bottlenecks in Trainium-based inference workloads.
Hugging Face publishes a practical primer on using torch.profiler with TorchNeuron to diagnose bottlenecks in Trainium-based inference workloads.
Hugging Face's second profiling guide reveals the hidden transpose operation in PyTorch's Linear layer and demonstrates kernel fusion techniques for production MLPs.
A new multi-part guide demystifies torch.profiler traces, starting with matrix operations and scaling to large language model optimization.