Add ZAYA1-base contrib model (MoE with CCA attention)#127
Open
jimburtoft wants to merge 2 commits intoaws-neuron:mainfrom
Open
Add ZAYA1-base contrib model (MoE with CCA attention)#127jimburtoft wants to merge 2 commits intoaws-neuron:mainfrom
jimburtoft wants to merge 2 commits intoaws-neuron:mainfrom
Conversation
…han GPU) NxDI contrib for Zyphra/ZAYA1-base -- a novel 800M active / 8.84B total parameter MoE with Compressed Convolutional Attention (CCA), non-linear MLP router with Mixture of Depths, and partial RoPE. Key results on trn2.3xlarge (TP=2, BF16): - batch=1: 22.3 tok/s (44.8 ms/token, TTFT 75.6ms) - batch=4: 86.3 tok/s (11.59 ms/token) - vLLM: 72.3 tok/s at concurrency=4 - 3.6x faster than NVIDIA A10G GPU at all batch sizes Novel NxDI patterns: - ManualConv1d replacing nn.Conv1d (avoids NCC_ITEN404 compiler crash) - CCA conv_state + prev_hs persistence via input_output_aliases - CTE/TKG branching for extended state management - Non-linear 3-layer MLP router with EDA and MoD skip expert - SPMDRank for per-rank extraction during SPMD tracing - Static XLA-compatible expert dispatch (mask-based, no bincount) Tests: 12 integration tests (smoke, prefill, generation, performance)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Model Details
pip install transformers @ git+https://github.com/Zyphra/transformers.git@zaya)Performance
vLLM serving: 72.3 tok/s at concurrency=4 with near-linear scaling.
Key Technical Contributions
input_output_aliasestorch.bincountTesting