Can the Tesla P40 run Qwen3.8-27B-Longbook27-v2?
Qwen3.8-27B-Longbook27-v2·27.1B·Tesla P40·24 GB VRAM
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
| Quant | Memory | Fit | Speed |
|---|---|---|---|
| Q2_K | 11 GB | fits | ~21 tok/s |
| Q3_K_M | 15 GB | fits | ~14 tok/s |
| Q4_K_M | 19 GB | fits | ~12 tok/s |
| Q5_K_M pick | 21 GB | fits | ~9.9 tok/s |
| Q6_K | 24 GB | offload | ~8.1 tok/s |
| Q8_0 | 31 GB | offload | ~3.3 tok/s |
| FP16 / BF16 | 55 GB | too 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
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 →| Model | Params | Best quant | Memory | Speed |
|---|---|---|---|---|
| 20.9BA4.2B | Q8_0 | ≈13 GBFits in memory | ~43 tok/s | |
| 32.8B | Q4_K_M | ≈22 GBFits in memory | ~9.6 tok/s | |
| 36BA3B | Q4_K_M | ≈23 GBFits in memory | ~105 tok/s | |
| 30.5BA3B | Q5_K_M | ≈22 GBFits in memory | ~89 tok/s | |
| 24BA2B | Q6_K | ≈20 GBFits in memory | ~116 tok/s | |
| 27.4B | Q5_K_M | ≈23 GBFits in memory | ~9.8 tok/s |
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.