Files
StarPilot/tinygrad_repo/extra/sqtt
firestar5683 d97100bd14 tiny my BUTT
2026-06-23 12:01:44 -05:00
..
2026-06-23 12:01:44 -05:00
2026-06-23 12:01:44 -05:00
2026-06-23 12:01:44 -05:00
2026-03-22 03:15:05 -05:00
2026-06-23 12:01:44 -05:00
2025-12-18 23:23:21 -08:00

SQTT Profiling

Getting SQ Thread Trace

VIZ=2 to enable SQTT profiling.

SQTT_ITRACE_SE_MASK=X to select shader engines for instruction tracing, -1 = all, 0 = disabled, >0 = SE bitmask, default 0b11.

SQTT_BUFFER_SIZE=X to change size of SQTT buffer (per shader engine, 6 SEs on 7900xtx) in megabytes, default 256.

Viewing the traces

  • Web UI: tinygrad/viz/serve.py
  • Command line: python -m tinygrad.renderer.amd.sqtt