← CanIRunLocal · All hardware · All models

Can Gemma 3n E4B (on-device) Run on Ryzen AI Max+ 395 128GB?

Gemma 3n E4B (on-device) at Q8_0 on Ryzen AI Max+ 395 128GB: 10.5 GB needed versus 96.0 GB usable; try ollama run gemma3n:e4b-it-q8_0.

Yes. Gemma 3n E4B (on-device) fits in fast memory on Ryzen AI Max+ 395 128GB at Q8_0 (10.5 GB needed, 96.0 GB usable), about 16 tok/s (estimate).

Hardware: Ryzen AI Max+ 395 128GB · Model: Gemma 3n E4B (on-device)

Ryzen AI Max+ 395 128GB has 128 GB of unified memory and 256 GB/s of memory bandwidth. AMD Variable Graphics Memory can dedicate 75% of this unified memory to the GPU, so Ollama can use 96.0 GB. Speeds are estimates. Gemma 3n E4B (on-device) (8B, Google) at Q8_0 is a 9.5 GB download and needs 10.5 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size9.5 GB
Memory needed10.5 GB
Usable fast memory96.0 GB
Fitfits in fast memory
Estimated speed~16 tok/s (estimate)
Commandollama run gemma3n:e4b-it-q8_0

Memory breakdown

Weights at Q8_09.5 GB
Context / KV cache (~8k tokens)1 GB
Total needed10.5 GB
Usable unified memory96.0 GB
Headroom85.5 GB left

Weights are the listed download size. The context line is the checker's allowance for about 8,192 tokens, not a measured KV cache. Total needed rounds that sum to 0.1 GB.

Safe context length

About 32,768 tokens (estimate). 8,192 × (86.5 GB left after the weights ÷ 1 GB for about 8,192 tokens). That product is past the model's own context, so the safe length stops at 32,768 tokens (32K). This scales the checker's context allowance. It is not a measured run.

Quants

Every quant this checker lists for the command below. Yes fits in fast memory with at least 1 GB spare. Tight means under 1 GB spare, partial offload, or a raised Mac GPU limit. Speeds are estimates from memory bandwidth, not measured benchmarks. How we estimate

QuantSizeFitsEst. tok/s
Q8_0 picked9.5 GByes~16
Open Ryzen AI Max+ 395 128GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Speeds are for short chats. Long conversations (around 8k tokens) run about 10–15% slower because the model rereads its memory of the chat for every word. How we estimate. Data updated 2026-11-25.

A project by OnDevice Labs · llms.txt · How we estimate