Skip to content

fix: resolve VRAM OOM, 2-node garbage output, and topology viz crash#1

Merged
grangec merged 1 commit into
mainfrom
fork_20260627_185755
Jun 27, 2026
Merged

fix: resolve VRAM OOM, 2-node garbage output, and topology viz crash#1
grangec merged 1 commit into
mainfrom
fork_20260627_185755

Conversation

@grangec

@grangec grangec commented Jun 27, 2026

Copy link
Copy Markdown
Owner

VRAM management:

  • Free model + flush tinygrad allocator cache before topology rebuild
  • Filter non-layer weights per shard (embed_tokens, norm, lm_head)
  • Fix tied embedding missing on last shard

2-node inference:

  • Add .float() on logits in TransformerShard forward_base
  • Fix TEMPERATURE env var int() → float()

Other fixes:

  • ZeroDivisionError in topology_viz.py during download
  • Pin tinygrad to HEAD (afe9fcaec) for JIT buffer fix
  • Add 2-node integration test (test_2node.py)
  • Save defensive patches for read-only buffer crash

VRAM management:
- Free model + flush tinygrad allocator cache before topology rebuild
- Filter non-layer weights per shard (embed_tokens, norm, lm_head)
- Fix tied embedding missing on last shard

2-node inference:
- Add .float() on logits in TransformerShard forward_base
- Fix TEMPERATURE env var int() → float()

Other fixes:
- ZeroDivisionError in topology_viz.py during download
- Pin tinygrad to HEAD (afe9fcaec) for JIT buffer fix
- Add 2-node integration test (test_2node.py)
- Save defensive patches for read-only buffer crash
@grangec grangec merged commit 5a19ecf into main Jun 27, 2026
@grangec grangec deleted the fork_20260627_185755 branch June 27, 2026 17:11
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