Open
Conversation
NeuronX port of BigScience Bloom-1b7 (1.7B params) with ALiBi attention. 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>
…andardize README - Add test/__init__.py, test/unit/__init__.py, test/integration/__init__.py - Rewrite README to match standard contrib format (Model Information, Architecture Details table, Validation Results table, Usage, Compatibility Matrix, Testing, Maintainer) 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 bigscience/bloom-1b7, a 1.7B-parameter decoder-only transformer. Bloom uses ALiBi positional encoding (no position embeddings), fused interleaved QKV weights, embedding LayerNorm, and weight-tied lm_head. ALiBi bias is computed and added in custom
perform_prefillandcompute_for_token_genoverrides.Model Information
Model Name: Bloom-1b7
Model Architecture: Decoder-only transformer with ALiBi attention, 16 MHA heads, 24 layers, LayerNorm (not RMSNorm), embedding LayerNorm, GELU (tanh approximation), tied embeddings
Purpose: Multilingual text generation
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
perform_prefillandcompute_for_token_genoverrides.[num_heads, 3, head_dim, hidden_size]QKV weights, split into separate Q, K, V during weight conversion.get_model_outputoverride.Related Issues
N/A
vLLM Integration
By submitting this PR, I confirm that: