# Hugging Face — Profiling in PyTorch (Part 1): A Beginner's Guide to torch.profiler

- Company: Hugging Face (huggingface.co)
- Announced: 2026-05-29T00:00:00+00:00
- Subject: Platform
- Source: https://huggingface.co/blog/torch-profiler
- Record: https://forck.live/items/1496-profiling-in-pytorch-part-1-a-beginner-s-guide-to-torch-profiler

This is a tutorial blog post introducing the torch.profiler module for profiling PyTorch code, with a focus on matrix multiplication and addition. It explains how to set up profiling, read profiler tables and traces, and understand CPU/GPU kernel interactions. No new AI product or model is announced.

## Evidence

Verbatim from https://huggingface.co/blog/torch-profiler:

> This is the opening post of Profiling in PyTorch, a series where we slowly build the skill of reading profiler traces and use it to drive optimization

---

Record: https://forck.live/items/1496-profiling-in-pytorch-part-1-a-beginner-s-guide-to-torch-profiler
Catalogue: https://forck.live/llms.txt
Feed: https://forck.live/feed.md
