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.

summerAIO logo

Can the Tesla P40 run Qwen3.8-27B-Longbook27-v2?

Qwen3.8-27B-Longbook27-v2·27.1B·Tesla P40·24 GB VRAM

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

Yes. The Tesla P40 runs Qwen3.8-27B-Longbook27-v2 fully in VRAM at Q5_K_M (about 21 GB of 24 GB), at roughly 9.9 tokens/s.

best quant
Q5_K_M
needs
21 GB
usable
24 GB
est. speed
~9.9 tok/s

Estimates for an 8K context; offload assumes 32 GB of system RAM.Try other contexts on the Qwen3.8-27B-Longbook27-v2 page →

Every quantisation of Qwen3.8-27B-Longbook27-v2 on the Tesla P40

QuantQualityMemoryFitSpeed
Q2_K Heavy loss11 GBfits~21 tok/s
Q3_K_M Noticeable loss15 GBfits~14 tok/s
Q4_K_M Small loss19 GBfits~12 tok/s
Q5_K_M pickNear-lossless21 GBfits~9.9 tok/s
Q6_K Near-lossless24 GBoffload~8.1 tok/s
Q8_0 Lossless31 GBoffload~3.3 tok/s
FP16 / BF16 Lossless55 GBtoo big—

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

Measured speed on the Tesla P40

No community reports for this pair yet.

Report your own speed →

Run Qwen3.8-27B-Longbook27-v2 on the Tesla P40

Transformers · Chat with the pipeline APIdocs
from transformers import pipeline

pipe = pipeline("text-generation", model="summerAIO/Qwen3.8-27B-Longbook27-v2", 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 Tesla P40 comfortably

All that fit →
ModelParamsBest quantMemorySpeedLicence
20.9BA4.2BQ8_0≈13 GBFits in memory~43 tok/sCommercial OK
32.8BQ4_K_M≈22 GBFits in memory~9.6 tok/sCommercial OK
36BA3BQ4_K_M≈23 GBFits in memory~105 tok/sCommercial OK
30.5BA3BQ5_K_M≈22 GBFits in memory~89 tok/sCommercial OK
24BA2BQ6_K≈20 GBFits in memory~116 tok/sConditions
NousResearch logoArete-27BNousResearch
27.4BQ5_K_M≈23 GBFits in memory~9.8 tok/sCommercial OK

Other GPUs that run Qwen3.8-27B-Longbook27-v2

Frequently asked questions

Can the Tesla P40 run Qwen3.8-27B-Longbook27-v2?
Yes. The Tesla P40 runs Qwen3.8-27B-Longbook27-v2 fully in VRAM at Q5_K_M (about 21 GB of 24 GB), at roughly 9.9 tokens/s.
How fast does Qwen3.8-27B-Longbook27-v2 run on the Tesla P40?
An estimate from memory bandwidth gives about 9.9 tokens/s at Q5_K_M.
Which quantisation of Qwen3.8-27B-Longbook27-v2 should I use on the Tesla P40?
Q5_K_M: the largest one that fits. Expected quality: near-lossless 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.