这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Qazalin
Copy link
Collaborator

@Qazalin Qazalin commented Jun 24, 2025

Tracing uses an internal counter instead of Python IDs, since Python re-uses Object ids after GC.
Moving layout algorithm to python since it's fixed, javascript only scales to pixels and draws it.

beautiful_mnist:
image

PYTHONPATH=. DEFAULT_FLOAT=HALF BS=66 GPUS=6 BERT_LAYERS=2 FUSE_ARANGE=1 VIZ=1 PYTHONPATH=. BENCHMARK=10 MODEL=bert python3 examples/mlperf/model_train.py
image

VIZ=1 python ./examples/llama.py --gen 3 --count 10 --prompt "hello" --temperature 0 --timing
image

@github-actions
Copy link
Contributor

Changes

Name                        Lines    Diff    Tokens/Line    Diff
------------------------  -------  ------  -------------  ------
tinygrad/viz/js/index.js      628     +52            4.4    -0.0
tinygrad/device.py            324      +8           13.4    +0.2
tinygrad/viz/serve.py         203     +28           14.9    -0.2


total lines changes: +88

@Qazalin Qazalin marked this pull request as ready for review June 28, 2025 18:29
@Qazalin Qazalin merged commit 4c8d2a0 into tinygrad:master Jun 28, 2025
36 checks passed
@Qazalin Qazalin deleted the buffer_viz branch June 28, 2025 18:50
Qazalin added a commit to Qazalin/tinygrad that referenced this pull request Jun 28, 2025
replaced with per device Buffer viz tinygrad#10960
Qazalin added a commit that referenced this pull request Jun 28, 2025
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