llmrun
epfl-llm

Meditron 7B — Hardware Requirements & GPU Compatibility

Chat

Meditron 7B is a 6.7B-parameter open language model from epfl-llm. At BF16 it needs about 14.82 GB of VRAM — see which GPUs and Macs can run it below.

6.7B params · denseLlama 2 Community1.4K downloads329 likes
Based on Llama 2 7B
A

Runs well on a 24 GB GPU

Runs from16 GB BF16 · 8KBest on24 GB BF16 · ~44 tok/s · 32KMacs from24 GB BF16 · ~15 tok/s

Llama 2 Community

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Meditron 7B

One recommended way. Every other method, OS and quant is in the step-by-step guide.

Recommended

vLLM
one command · needs vLLM installed
$vllm serve epfl-llm/meditron-7b --max-model-len 16384

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Other ways

each opens step-by-step

Run in cloud

Fits on RTX A5000 (24 GB) (6 GB headroom) · BF16

Generation speed
~34 tok/s
generation speed
Cost per 1M output tokens
$1.32
per 1M output tokens

How Much VRAM Does Meditron 7B Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KOn RTX 4090 (reference)
14.8 GB20.1 GB16-bit · bfloat — Brain floating point 16 — preferred for trainingFits: 32K context · ~44 tok/s
est.calculated, no published file yet

Selected BF16

Brain floating point 16

17.3GBat 16K context

Weights
14.2 GB
KV cache
2.8 GB
Overhead
0.3 GB

Fits RTX 4090 (reference) · 6.7 GB free · ~44 tok/s

≥50 tok/s needs ≥1.14 TB/s · RTX 5090 ~79

Which Hardware Can Run Meditron 7B?

BF16 · 14.8 GB

Meditron 7B (BF16) requires 14.8 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 20+ GB is recommended. 26 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti, NVIDIA GeForce RTX 5080. 122 devices with unified memory can run Meditron 7B, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Mini M5 Pro (24 GB).

By VRAM tier · typical GPUs and Macs at BF16
8–12 GB · RTX 4060, RTX 3060 12GBDoesn't fit — smallest quant needs 17.3 GB8 GB tier →12 GB tier →
16 GB · RTX 5060 Ti 16GBBF16 · 17.3 GB · ~20 tok/s · 8Ktight16 GB tier →
24 GB · RTX 4090referenceBF16 · 17.3 GB · ~44 tok/s · 32K24 GB tier →
Mac 32 GB · Mac Mini M4BF16 · 17.3 GB · ~6 tok/s · 32KMacs →
Mac 64 GB · Mac Studio M4 MaxBF16 · 17.3 GB · ~26 tok/s · 32KMacs →

Alternatives to Meditron 7B

Similar models

6
ModelScoreVRAMtok/sWhy it is similar
Mistral 7B Instruct v0.3Mistral AI—6.8 GB~133same size
CodeQwen1.5 7BAlibaba—5.7 GB~137same size
Llava 1.5 7B HFllava-hf—5 GB~141same size
Chatglm3 6BZ.ai—5.2 GB~159same size
Baichuan2 7B Basebaichuan-inc—5 GB~142same size
Internlm 7BInternLM—15.4 GB~43same size

Specifications

Publisher
epfl-llm
Parameters
6.7B
Release Date
2023-11-08
License
Llama 2 Community

Frequently Asked Questions

How much VRAM does Meditron 7B need?

Meditron 7B requires 14.8 GB of VRAM at BF16.

VRAM = Weights + KV Cache + Overhead

Weights = 6.7B × 16 bits ÷ 8 = 13.5 GB

KV Cache + Overhead ≈ 1.3 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

VRAM usage by quantization

14.8 GB

Learn more about VRAM estimation →

Can I run Meditron 7B on a Mac?

Yes — Mac Mini M5 Pro (24 GB) and 106 other Macs can run Meditron 7B. Apple Silicon uses unified memory, so the model shares RAM with the system. At BF16 you need at least 14.8 GB of usable unified memory (RAM minus macOS overhead).

Can I run Meditron 7B locally?

Yes — Meditron 7B can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Meditron 7B?

At BF16, Meditron 7B can reach ~324 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~44 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: NVIDIA B200 → 8000 ÷ 14.8 × 0.65 = ~351 tok/s

Estimated speed at BF16 (14.8 GB)

~351 tok/s
~44 tok/s
~351 tok/s
~324 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Meditron 7B?

At BF16, the download is about 13.48 GB.

Which GPUs can run Meditron 7B?

26 consumer GPUs can run Meditron 7B at BF16. Top options include AMD Radeon RX 7900 XTX, NVIDIA GeForce RTX 3090, NVIDIA GeForce RTX 3090 Ti, AMD Radeon RX 6800. 7 GPUs have plenty of headroom for comfortable inference.

Which devices can run Meditron 7B?

122 devices with unified memory can run Meditron 7B at BF16 (14.8 GB), including AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.