Skip to content

viz: sqtt printer in viz/cli.py#15411

Merged
Qazalin merged 20 commits intotinygrad:masterfrom
Qazalin:viz_cli
Mar 22, 2026
Merged

viz: sqtt printer in viz/cli.py#15411
Qazalin merged 20 commits intotinygrad:masterfrom
Qazalin:viz_cli

Conversation

@Qazalin
Copy link
Copy Markdown
Collaborator

@Qazalin Qazalin commented Mar 22, 2026

same infra as web viz for loading, grouping packets.
Exec to dispatch linking and pc mapping function exactly as web viz. CLI shows it like this:
image
It's colored only in interactive mode.
With --offset and --limit you can paginate toward endpgm of a long trace. Currently web VIZ doesn't show the fma loop of amd_copy_matmul, CLI can:
image

@github-actions
Copy link
Copy Markdown
Contributor

Changes

Name                     Lines    Diff    Tokens/Line    Diff
---------------------  -------  ------  -------------  ------
tinygrad/viz/serve.py      631      +3           17.0    -0.0


total lines changes: +3

@Qazalin Qazalin merged commit c7b18e6 into tinygrad:master Mar 22, 2026
51 checks passed
@Qazalin Qazalin deleted the viz_cli branch March 22, 2026 15:17
FloorIsGround pushed a commit to FloorIsGround/tinygrad that referenced this pull request Mar 22, 2026
* work

* sqtt timeline in CLI

* format all printers nicely

* s/Showed/Printed

* ansistrip

* sys.exit

* keep colors in list

* work from amd_copy_matmul

* has_more always gets returned

* linter

* don't print colors

* more colors

* wow this is so deep

* work

* minor details

* selected

* improve progress bar

* remove it

* 22, global_load_vaddr is so long
geohot pushed a commit that referenced this pull request Mar 23, 2026
* work

* sqtt timeline in CLI

* format all printers nicely

* s/Showed/Printed

* ansistrip

* sys.exit

* keep colors in list

* work from amd_copy_matmul

* has_more always gets returned

* linter

* don't print colors

* more colors

* wow this is so deep

* work

* minor details

* selected

* improve progress bar

* remove it

* 22, global_load_vaddr is so long
geohot added a commit that referenced this pull request Mar 23, 2026
* ai slop flash attention (it works)

* speed up, 2 TFLOPS + 7 GB/s

* simpler

* simpler

* optimize

* faster

* warp shuffle

* sqtt: link dispatch to exec (#15396)

* sqtt packet linking infra

python

* javascript

* ~doubly linked list

* ui works

* work

* exec can also highlight the pc, coloring work

* more work

* rm sqtt/model.py, doesn't need to be upstreamed

* viz: no context enters in cli, update llama profile (#15404)

* removed unused named arg in rules [pr] (#15414)

* viz: sqtt printer in viz/cli.py (#15411)

* work

* sqtt timeline in CLI

* format all printers nicely

* s/Showed/Printed

* ansistrip

* sys.exit

* keep colors in list

* work from amd_copy_matmul

* has_more always gets returned

* linter

* don't print colors

* more colors

* wow this is so deep

* work

* minor details

* selected

* improve progress bar

* remove it

* 22, global_load_vaddr is so long

* remove *0 hack in sign, gradient materializes zeros for unconnected nodes (#15416)

Amp-Thread-ID: https://ampcode.com/threads/T-019d1612-6322-706b-a94d-a812400a55cb

Co-authored-by: Amp <amp@ampcode.com>

* works

* cnt=20

* revert that

* uop slice tests

* simpler

---------

Co-authored-by: qazal <77887910+Qazalin@users.noreply.github.com>
Co-authored-by: chenyu <chenyu@fastmail.com>
Co-authored-by: gg <ggordbegli@gmail.com>
Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant