{"slug": "perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill", "title": "Perfetto v57: fixing PyTorch traces, plus journald logs and an AI skill", "summary": "Google released Perfetto v57, fixing a bug where overlapping PyTorch profiler events failed to display in traces, and adding support for journald logs and an AI skill.", "body_md": "We just\n[released Perfetto v57](https://github.com/google/perfetto/releases/tag/v57.1)\nand I wanted to share the new things I’m most excited about. This is something I\nwanted to do for past releases but I just never quite got round to it. It’s also\nsomething I plan on doing more of going forward: there might even be dedicated\npieces if I think the feature deserves it!\n\nWhat I’m most excited about in this release isn’t a feature but a bugfix. If you\nused the\n[PyTorch profiler](https://docs.pytorch.org/tutorials/recipes/recipes/profiler_recipe.html)\nand opened the resulting trace in Perfetto, there was a decent chance some of\nyour events would just not show up; specifically this would happen when these\nevents overlapped each other on a single track.\n\nTechnically, PyTorch is in the wrong here. The Chrome Trace Event (JSON) format\nsays duration events on a track have to nest and can’t overlap; if you need\noverlap, you’re supposed to use async events. `chrome://tracing`\n\nappears to\nhandle them, but its rendering is actually buggy as soon as a trace has real\noverlaps; people just learned to live with it. So when a\n[bug](https://github.com/google/perfetto/issues/4280) came in January about\noverlapping events being broken, I closed it as working-as-intended because I\ncouldn’t see any easy fix from our end.", "url": "https://wpnews.pro/news/perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill", "canonical_source": "https://lalitm.com/post/perfetto-v57/", "published_at": "2026-07-02 23:23:00+00:00", "updated_at": "2026-07-14 01:34:23.498807+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence"], "entities": ["Google", "Perfetto", "PyTorch"], "alternates": {"html": "https://wpnews.pro/news/perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill", "markdown": "https://wpnews.pro/news/perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill.md", "text": "https://wpnews.pro/news/perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill.txt", "jsonld": "https://wpnews.pro/news/perfetto-v57-fixing-pytorch-traces-plus-journald-logs-and-an-ai-skill.jsonld"}}