← Open-Weight LLM Parts Atlas home
Llama 3.1 8B
8B (dense)
developers: Meta
published: 2024-07-18
Llama 3.1 Community · Commercial use with conditions ↗
max context: 128K
KV(BF16): 128.0 KiB/tok
Text only
Standard Transformer. Baseline for comparing other models
the current LLM family started from this:, a plain Transformer (128K context-extended Llama 3.1 8B is the baseline here). Attention is GQA, FFN: SwiGLU, position is RoPE. When looking at other tabs, look for “which part of this was replaced” — that makes them easier to understand.
Interactive structure diagram · simulator (open) →
| layers | 32 |
|---|---|
| d | 4,096 |
| Attention | GQA: Q 32 heads / KV 8 heads |
| FFN | SwiGLU, intermediate 14,336 |
| Position | RoPE (θ=500,000) |
| vocab | 128,256 |
| License conditions | Services with monthly users of over 700M need a separate license (Built with Llama attribution required) (view original ↗) |
| KV calculation basis | 32 layers×2(K,V)×8 heads×128d×2B = 128.0 KiB/tok |
| Supported inference | vLLM / SGLang / llama.cpp / Transformers |