Open
Conversation
Ouro-1.4B is a Universal Transformer that runs 4 UT steps over 24 layers, unrolled into 96 physical layers for NXDI single-pass iteration. Features dual pre+post norm sandwich, intermediate RMSNorm at UT boundaries, and shared weights across UT step copies. Validation: 87% greedy match, 98% teacher-forced match (TP=1, bf16). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use consistent CE/TG column table format across all contrib models. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Description
NeuronX Distributed Inference port of ContextualAI/Ouro-1.4B, a 1.4B-parameter Universal Transformer. Ouro uses weight sharing across 4 UT steps over 24 layers, resulting in 96 unrolled physical layers for NXDI. The model features dual RMSNorm (pre+post sandwich) for both attention and MLP blocks, and intermediate norms at UT step boundaries.
Model Information
Model Name: Ouro-1.4B
Model Architecture: Decoder-only Universal Transformer -- 24 base layers x 4 UT steps = 96 unrolled physical layers, MHA (16 heads), RoPE, dual RMSNorm sandwich, SwiGLU MLP
Purpose: Text generation with Universal Transformer weight sharing
Checklist
Required Components
test/integration/test_model.py)src/)Optional Components
Folder Structure
Testing
Model was compiled and tested with TP=1, batch_size=1, seq_len=128, bfloat16 on trn1.32xlarge.
Test Results:
Compatibility
Tested with:
Additional Information
Related Issues
N/A
vLLM Integration
By submitting this PR, I confirm that: