Model reference · open weights
OLMo is an open-weight language model from allenai. OLMo-7B-hf (FP32) weighs 13.8 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the allenai/OLMo-1B-hf model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | allenai |
|---|---|
| Released | 2024-04-12 |
| Parameters | 1.2B |
| VRAM | 13.8 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 2K each | |||
| RTX 3060 12 GB | — | — | 11.6 GB |
| RTX 4060 Ti 16 GB | — | 1K | 15.4 GB |
| RTX 3090 24 GB | 8 | all 2K | 23.4 GB |
| RTX 4090 24 GB | 8 | all 2K | 23.4 GB |
| RTX 5090 32 GB | 15 | all 2K | 31.0 GB |
| L40S 48 GB | 27 | all 2K | 44.0 GB |
| A100 80 GB | 59 | all 2K | 78.2 GB |
| H100 80 GB | 56 | all 2K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 71 | all 2K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 83 | all 2K | 107 GB |
| H200 141 GB | 112 | all 2K | 138 GB |
| B200 180 GB | 147 | all 2K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 7 | all 2K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 14 | all 2K | 15.4 GB a card |
| Requests at once | 2K tokens each |
|---|---|
| 1 | 15.5 GB |
| 5 | 19.8 GB |
| 8 | 23.0 GB |
| 16 | 31.6 GB |
| 32 | 48.8 GB |
| 64 | 83.1 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| OLMo-1B-hf ↗ | 1.2B | FP32 | 2.4 GB | RTX 3060 12 GB |
| OLMo-7B-hf (above) ↗ | 6.9B | FP32 | 13.8 GB | 2× RTX 3060 12 GB |
From the model card
OLMo is a series of Open Language Models designed to enable the science of language models. The OLMo models are trained on the Dolma dataset. We release all code, checkpoints, logs (coming soon), and details involved in training these models. This model has been converted from allenai/OLMo-1B for the Hugging Face Transformers format.
The core models released in this batch are the following:
| Size | Training Tokens | Layers | Hidden Size | Attention Heads | Context Length |
|---|---|---|---|---|---|
| OLMo 1B | 3 Trillion | 16 | 2048 | 16 | 2048 |
| OLMo 7B | 2.5 Trillion | 32 | 4096 | 32 | 2048 |
| OLMo 7B Twin 2T | 2 Trillion | 32 | 4096 | 32 | 2048 |
We are releasing many checkpoints for these models, for every 1000 training steps. These have not yet been converted into Hugging Face Transformers format, but are available in allenai/OLMo-1B.
olmo at allenai dot org. Press: press at allenai dot orgQuickly get inference running with the following:
from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/OLMo-1B-hf")
tokenizer = AutoTokenizer.from_pretrained("allenai/OLMo-1B-hf")
message = ["Language modeling is"]
inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
# optional verifying cuda
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
# olmo = olmo.to('cuda')
response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
>> 'Language modeling is the first step to build natural language generation...'
Alternatively, with the pipeline abstraction:
from transformers import pipeline
olmo_pipe = pipeline("text-generation", model="allenai/OLMo-1B-hf")
print(olmo_pipe("Language modeling is "))
>> 'Language modeling is a branch of natural language processing that aims to...'
Or, you can make this slightly faster by quantizing the model, e.g. AutoModelForCausalLM.from_pretrained("allenai/OLMo-1B-hf", torch_dtype=torch.float16, load_in_8bit=True) (requires bitsandbytes).
The quantized model is more sensitive to typing / cuda, so it is recommended to pass the inputs as inputs.input_ids.to('cuda') to avoid potential issues.
This model does not directly support our fine-tuning processes. Model fine-tuning can be done from the final checkpoint or many intermediate checkpoints of allenai/OLMo-1B.
Core model results for the 7B model are found below.
| Llama 7B | Llama 2 7B | Falcon 7B | MPT 7B | OLMo 7B (ours) | |
|---|---|---|---|---|---|
| arc_challenge | 44.5 | 39.8 | 47.5 | 46.5 | 48.5 |
| arc_easy | 57.0 | 57.7 | 70.4 | 70.5 | 65.4 |
| boolq | 73.1 | 73.5 | 74.6 | 74.2 | 73.4 |
| copa | 85.0 | 87.0 | 86.0 | 85.0 | 90 |
| hellaswag | 74.5 | 74.5 | 75.9 | 77.6 | 76.4 |
| openbookqa | 49.8 | 48.4 | 53.0 | 48.6 | 50.2 |
| piqa | 76.3 | 76.4 | 78.5 | 77.3 | 78.4 |
| sciq | 89.5 | 90.8 | 93.9 | 93.7 | 93.8 |
| winogrande | 68.2 | 67.3 | 68.9 | 69.9 | 67.9 |
| Core tasks average | 68.7 | 68.4 | 72.1 | 71.5 | 71.6 |
| truthfulQA (MC2) | 33.9 | 38.5 | 34.0 | 33 | 36.0 |
| MMLU (5 shot MC) | 31.5 | 45.0 | 24.0 | 30.8 | 28.3 |
| GSM8k (mixed eval.) | 10.0 (8shot CoT) | 12.0 (8shot CoT) | 4.0 (5 shot) | 4.5 (5 shot) | 8.5 (8shot CoT) |
| Full average | 57.8 | 59.3 | 59.2 | 59.3 | 59.8 |
A
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.