selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

sarvamai logo

Can the Apple M4 Max 40-core (128 GB) run sarvam-105b-1711-bf16?

sarvam-105b-1711-bf16·106B (12.4B active)·Apple M4 Max 40-core (128 GB)·128 GB unified memory

Saved in this browser, used on every model page.
Yes, at low quality

Yes, but only at Q3_K_M (about 87 GB of 96 GB), which costs noticeable quality, at roughly 49 tokens/s.

best quant
Q3_K_M
needs
87 GB
usable
96 GB
est. speed
~49 tok/s

Estimates for an 8K context; offload assumes 32 GB of system RAM.Try other contexts on the sarvam-105b-1711-bf16 page →

Every quantisation of sarvam-105b-1711-bf16 on the Apple M4 Max 40-core (128 GB)

QuantQualityMemoryFitSpeed
Q2_K Heavy loss71 GBfits~74 tok/s
Q3_K_M pickNoticeable loss87 GBfits~49 tok/s
Q4_K_M Small loss99 GBtoo big—
Q5_K_M Near-lossless110 GBtoo big—
Q6_K Near-lossless122 GBtoo big—
Q8_0 Lossless147 GBtoo big—
FP16 / BF16 Lossless244 GBtoo big—

Speed is a bandwidth-based estimate for generating text (546 GB/s); prompt processing and long contexts are slower.

Measured speed on the Apple M4 Max 40-core (128 GB)

No community reports for this pair yet.

Report your own speed →

Run sarvam-105b-1711-bf16 on the Apple M4 Max 40-core (128 GB)

Transformers · Chat with the pipeline APIdocs
from transformers import pipeline

pipe = pipeline("text-generation", model="sarvamai/sarvam-105b-1711-bf16", dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "Explain self-hosting in one paragraph."}]
out = pipe(messages, max_new_tokens=512)
print(out[0]["generated_text"][-1]["content"])

Chat models that fit the Apple M4 Max 40-core (128 GB) comfortably

All that fit →
ModelParamsBest quantMemorySpeedLicence
117BA5.8BQ8_0≈63 GBFits in memory~49 tok/sCommercial OK
125BA12.7BQ5_K_M≈88 GBFits in memory~33 tok/sCommercial OK
poolside logoLaguna-S-2.1poolside
118BA6.1BQ5_K_M≈84 GBFits in memory~69 tok/sCommercial OK
70.6BQ8_0≈76 GBFits in memory~4 tok/sConditions
81.3BA3BQ8_0≈84 GBFits in memory~94 tok/sCommercial OK
70.6BQ8_0≈77 GBFits in memory~4 tok/sConditions

Other GPUs that run sarvam-105b-1711-bf16

Frequently asked questions

Can the Apple M4 Max 40-core (128 GB) run sarvam-105b-1711-bf16?
Yes, but only at Q3_K_M (about 87 GB of 96 GB), which costs noticeable quality, at roughly 49 tokens/s.
How fast does sarvam-105b-1711-bf16 run on the Apple M4 Max 40-core (128 GB)?
An estimate from memory bandwidth gives about 49 tokens/s at Q3_K_M.
Which quantisation of sarvam-105b-1711-bf16 should I use on the Apple M4 Max 40-core (128 GB)?
Q3_K_M: the largest one that fits. Expected quality: noticeable loss compared with the full-precision weights.

Memory and speed are estimates from the model's size and the card's memory bandwidth; real numbers depend on the runtime, drivers and context length. Community figures are medians of user reports.