Can Granite Code 3B run on NVIDIA L40 48GB?
YES — Runs Great
Granite Code 3B needs ~10.0 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~42 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
48.0 tok/s
TTFT
4033 ms
Safe context
8K
Memory
10.0 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 | B | Runs well | 42.0 tok/s | 2514 ms | 8K |
| Coding | B | Runs well | 42.0 tok/s | 4610 ms | 8K |
| Agentic Coding | B | Runs well | 42.0 tok/s | 6705 ms | 8K |
| Reasoning | B | Runs well | 42.0 tok/s | 5448 ms | 8K |
| RAG | B | Runs well | 42.0 tok/s | 8381 ms | 8K |
Quantization options
How Granite Code 3B (3B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.2 GB | Low | B57 |
Q3_K_S | 3 | 1.5 GB | Low | B57 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Granite Code 3B on your machine.
Run
ollama run granite-code:3b