nvidia/audio-flamingo-3-hf
Original8.3Bparameters
Fixture19.7Mparameters
Layer stacks2compared
Findings0to review
✓ Same architecture, smaller
Every module class, layer kind and checked property of the original is in the fixture.
Layer stacks
One square per layer, colored by kind: the layer's module classes and type attributes. Hover a square for its index and kind.
model.audio_tower.layers
Original · 32
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| EncoderLayer | 32 | 2 | ✓ kept |
model.language_model.layers
Original · 28
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| Qwen2DecoderLayer | 28 | 2 | ✓ kept |
Where the parameters are
Share of each model's parameters per component. Vocabulary and patch sizes are kept, so embeddings usually take a larger share of the fixture.
Original
Fixture
| Component | Original | Share | Fixture | Share |
|---|---|---|---|---|
| model.language_model.layers | 6.5B | 78.9% | 74.2K | 0.4% |
| model.audio_tower.layers | 629.6M | 7.6% | 66.8K | 0.3% |
| model.language_model | 543.6M | 6.6% | 9.7M | 49.3% |
| lm_head | 543.6M | 6.6% | 9.7M | 49.3% |
| model.multi_modal_projector | 17.4M | 0.2% | 8.3K | 0.0% |
| model.audio_tower | 7.3M | 0.1% | 133.1K | 0.7% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | model_type | audioflamingo3 | audioflamingo3 | ✓ kept |
| audio_config | model_type | audioflamingo3_encoder | audioflamingo3_encoder | ✓ kept |
| audio_config | num_mel_bins | 128 | 128 | ✓ kept |
| text_config | attention style | GQA (28 heads, 4 KV) | GQA (4 heads, 2 KV) | ✓ kept |
| text_config | RoPE type | default | default | ✓ kept |
| text_config | model_type | qwen2 | qwen2 | ✓ kept |
| text_config | vocab_size | 151672 | 151672 | ✓ kept |
| text_config | tie_word_embeddings | False | False | ✓ kept |
| text_config | hidden_act | silu | silu | ✓ kept |
| text_config | max_position_embeddings | 32768 | 32768 | ✓ kept |
Module classes
Instances of each class in the built model (prefix AudioFlamingo3 omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 391 | 29 |
| LayerNorm | 65 | 5 |
| Qwen2RMSNorm | 57 | 5 |
| GELUActivation | 33 | 3 |
| Attention | 32 | 2 |
| EncoderLayer | 32 | 2 |
| Qwen2Attention | 28 | 2 |
| Qwen2DecoderLayer | 28 | 2 |
| Qwen2MLP | 28 | 2 |
| SiLUActivation | 28 | 2 |
| Conv1d | 2 | 2 |
| Embedding | 2 | 2 |
| ModuleList | 2 | 2 |
| Encoder | 1 | 1 |
| ForConditionalGeneration | 1 | 1 |
| Model | 1 | 1 |
| MultiModalProjector | 1 | 1 |
| AvgPool1d | 1 | 1 |
| Qwen2Model | 1 | 1 |
| Qwen2RotaryEmbedding | 1 | 1 |
Config changes
10 fields changed, 55 unchanged.
| Field | Original | Fixture |
|---|---|---|
| audio_config.hidden_size | 1280 | 64 |
| audio_config.intermediate_size | 5120 | 128 |
| audio_config.num_attention_heads | 20 | 4 |
| audio_config.num_hidden_layers | 32 | 2 |
| text_config.hidden_size | 3584 | 64 |
| text_config.intermediate_size | 18944 | 128 |
| text_config.layer_types | 28 entries: 28× full_attention | ["full_attention", "full_attention"] |
| text_config.num_attention_heads | 28 | 4 |
| text_config.num_hidden_layers | 28 | 2 |
| text_config.num_key_value_heads | 4 | 2 |