Raises estimated decode speed by about 489%.
Adds memory headroom for longer context windows and future model growth.
~$1,999 MSRP
internlm2 5 20b chat needs ~18.1 GB VRAM. Tesla P40 24GB has 24.0 GB. With Q4_K_M quantization, expect ~17 tok/s.
Operating mode
Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.
Current mode
Balanced
Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.
Select quantization to explore
Fit status
Runs well
Decode
16.7 tok/s
TTFT
11570 ms
Safe context
56K
Memory
18.1 GB / 24.0 GB
This setup is broadly balanced for this model.
Older PCIe generation
PCIe 3.0 is workable, but it compounds the penalty when you offload heavily or try to scale across multiple cards.
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | C | Runs well | 16.7 tok/s | 6311 ms | 56K |
| Coding | C | Runs well | 16.7 tok/s | 11570 ms | 56K |
| Agentic Coding | C | Tight fit | 16.7 tok/s | 16829 ms | 56K |
| Reasoning | C | Runs well | 16.7 tok/s | 13674 ms | 56K |
| RAG | C | Tight fit | 16.7 tok/s | 21037 ms | 56K |
How internlm2 5 20b chat (20B params) fits at each quantization level on Tesla P40 24GB (24.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 7.8 GB | Low | C47 |
Q3_K_S | 3 | 9.8 GB | Low | C48 |
NVFP4 | 4 | 11.2 GB | Medium | C49 |
Q4_K_M | 4 | 12.2 GB | Medium | C50 |
Q5_K_M | 5 | 14.4 GB | High | C50 |
Q6_KBest for your GPU | 6 | 16.4 GB | High | C49 |
Q8_0 | 8 | 21.4 GB | Very High | F0 |
F16 | 16 | 41.0 GB | Maximum | F0 |
Copy-paste commands to run internlm2 5 20b chat on your machine.
Run
lms load hf-bartowski--internlm2-5-20b-chat-gguf && lms server startUpgrade options
Raises estimated decode speed by about 489%.
Adds memory headroom for longer context windows and future model growth.
~$1,999 MSRP
Raises estimated decode speed by about 269%.
Adds memory headroom for longer context windows and future model growth.
~$2,499 MSRP
Raises estimated decode speed by about 126%.
Adds memory headroom for longer context windows and future model growth.
~$4,000 MSRP
Yes, Tesla P40 24GB can run internlm2 5 20b chat with a C grade (Runs well). Expected decode speed: 16.7 tok/s.
internlm2 5 20b chat (20B parameters) requires approximately 18.1 GB of memory with Q4_K_M quantization.
The recommended quantization for internlm2 5 20b chat is Q4_K_M, which balances quality and memory efficiency.
On Tesla P40 24GB, internlm2 5 20b chat achieves approximately 16.7 tokens per second decode speed with a time-to-first-token of 11570ms using Q4_K_M quantization.
For coding workloads, internlm2 5 20b chat on Tesla P40 24GB receives a C grade with 16.7 tok/s and 56K context.
On Tesla P40 24GB, internlm2 5 20b chat can safely use up to 56K tokens of context. The model's official context limit is —, but available memory constrains the safe maximum.
Paste this snippet into any page to show a live fit card.
<iframe src="https://willitrunai.com/embed/hf-bartowski--internlm2-5-20b-chat-gguf-on-tesla-p40-24gb" width="400" height="180" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="Will It Run AI — fit result"></iframe>
Preview: