Can Granite Code 34B run on NVIDIA L40 48GB?
YES — Runs Great
Granite Code 34B needs ~30.4 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~33 tok/s.
Operating mode
Choose the run profile you care about
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
35.2 tok/s
TTFT
5500 ms
Safe context
8K
Memory
30.4 GB / 48.0 GB
Memory breakdown
See how fast it feels
What limits this setup
This setup is broadly balanced for this model.
No major red flags
This recommendation has enough memory headroom and acceptable estimated speed for the selected workload.
Best improvement path
Performance by workload
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | A | Runs well | 32.5 tok/s | 3250 ms | 8K |
| Coding | A | Runs well | 32.5 tok/s | 5958 ms | 8K |
| Agentic Coding | A | Runs well | 32.5 tok/s | 8666 ms | 8K |
| Reasoning | A | Runs well | 32.5 tok/s | 7041 ms | 8K |
| RAG | A | Runs well | 32.5 tok/s | 10833 ms | 8K |
Quantization options
How Granite Code 34B (34B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 13.3 GB | Low | A71 |
Q3_K_S | 3 | 16.7 GB | Low | A72 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Granite Code 34B on your machine.
Run
ollama run granite-code:34bYour hardware
