|
Mila
Deep Neural Network Library
|
The section 5 allocation: 25.62 B resident weights at 2.90 bits average, 8.65 GiB. More...
Public Types | |
| using | DeltaNetGating = NoWeightQuant |
| using | DeltaNetQueryKey = PerGroupCodebook3<64> |
| using | DeltaNetValueGateOutput = PerGroupCodebook2<32> |
| using | EmbeddingTable = NoWeightQuant |
| using | FeedForwardDown = PerGroupCodebook3<64> |
| using | FeedForwardGateUp = PerGroupCodebook2<32> |
| using | LanguageModelHead = PerGroupFp4<128> |
| using | OutputProjection = PerGroupFp4<128> |
| using | QkvProjection = PerGroupFp4<128> |
The section 5 allocation: 25.62 B resident weights at 2.90 bits average, 8.65 GiB.
| Role | Params | Policy | Bits/w | GiB |
|---|---|---|---|---|
| EmbeddingTable | 1.271 B | BF16, host-resident | - | 0.000 |
| FeedForwardGateUp | 11.408 B | PerGroupCodebook2<32> | 2.5 | 3.320 |
| FeedForwardDown | 5.704 B | PerGroupCodebook3<64> | 3.25 | 2.158 |
| DeltaNetValueGateOutput | 4.531 B | PerGroupCodebook2<32> | 2.5 | 1.319 |
| DeltaNetQueryKey | 1.007 B | PerGroupCodebook3<64> | 3.25 | 0.381 |
| DeltaNetGating | 0.024 B | BF16 – never quantized | 16 | 0.045 |
| QkvProjection | 1.678 B | PerGroupFp4<128> | 4.125 | 0.806 |
| OutputProjection | (above) | PerGroupFp4<128> | 4.125 | (above) |
| LanguageModelHead | 1.271 B | PerGroupFp4<128> | 4.125 | 0.610 |
Three assignments are not "biggest group gets fewest bits" and are load-bearing:
The full-attention roles collapse to one policy on purpose. Section 5 puts q (with its output-gate half), k, v and o all at FP4, so the fused qkv projection needs no split; the per-projection divergence in this model is between BLOCK KINDS and between the feed-forward pair, not inside the attention block.