Skip to content

Avoid repeated MoE workspace scans in GDN planning - #998

Merged
bradhilton merged 1 commit into
mainfrom
codex/gdn-workspace-hoist
Sep 26, 2026
Merged

bradhilton merged 1 commit into
mainfrom
codex/gdn-workspace-hoist

Conversation

@bradhilton

Copy link
Copy Markdown
Collaborator

GDN pending-memory pricing recalculates the same named-slot MoE workspace once per GDN layer, and each calculation walks the model. Compute it once per gradient group, then retain the same maximum over per-layer pending memory. The value is still refreshed for every group and every call; slot metadata, memory floors, and admission checks remain unchanged.

The regression covers 1 and 30 GDN shapes, default and named slots, mixed gradient/reference groups, refreshed prices on later calls, and unsupported/no-gradient paths. All 71 pending-memory tests pass with GPUs hidden; Ruff and diff checks pass. The retained native profile motivated this change, but its GPU utilization and wall-time benefit have not been measured.

@bradhilton
bradhilton deployed to trainer-rank-gpu-validation September 26, 2026 21:28 — with GitHub Actions Active
@bradhilton
bradhilton merged commit 0e0c31b into main Sep 26, 2026
7 checks passed
bradhilton added a commit that referenced this pull request Sep 26, 2026
Picks up main (0e0c31b) through the updated #963 and #978 branches. Clean
merge; the source equals the composition measured in M9 plus #998.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
trainer-rank-gpu-validation — f7211d17 Deployed Sep 26, 2026 by bradhilton via Run on 2x H200 #797
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