Skip to content

ggml-cuda: coalesce contiguous staging copies - #46

Draft
GenerelSchwerz wants to merge 1 commit into
codex/moe-cache-overflow-sibling-prefetchfrom
codex/moe-cache-overflow-coalesced-staging
Draft

ggml-cuda: coalesce contiguous staging copies#46
GenerelSchwerz wants to merge 1 commit into
codex/moe-cache-overflow-sibling-prefetchfrom
codex/moe-cache-overflow-coalesced-staging

Conversation

@GenerelSchwerz

Copy link
Copy Markdown
Owner

Stacked on #45. Merge adjacent same-direction overflow-staging transfers when their sources and destinations are physically contiguous, without changing expert/remap order. Validation: four-sample cache48 prefill +0.33% at 8K and +0.12% at 32K with equal VRAM; deterministic 8K/32K JSON and two-corpus PPL match the direct parent exactly; focused two-slab D2D/H2D coverage and Compute Sanitizer pass.

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.

2 participants