Skip to content

Commit 32124f3

Browse files
committed
[UI] Fix ===== Initial IR ===== header
It started to present in the output by default after the previous patch.
1 parent a5a0da5 commit 32124f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/page.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ export default function PyTorchTritonExplorer() {
355355
const block = slices[stageIdx + 1];
356356
if (!block) {
357357
// out-of-range - fallback to dump after each stage
358-
return fullDump;
358+
return fullDump
359+
.replace(/^===== .* =====\n/gm, "")
360+
.trim();
359361
}
360362
const lines = block.split("\n");
361363
return lines.slice(1).join("\n").trim();

0 commit comments

Comments
 (0)