Can Yi 6B run on the L40S?
Yes. At 8K context the best fit is F16, using about 12.3 GB of the 45.6 GB usable on the L40S. Estimated speed ceiling: ~71 tokens/sec.
Memory by quant and context
| Quant | 4K ctx | Max tok/s (est., 8K) |
|---|---|---|
| 2-bit (Q2_K) • | 2.9 GB Fits | 370 |
| 3-bit (Q3_K_M) • | 3.6 GB Fits | 289 |
| 4-bit (Q4_K_M) • | 4.2 GB Fits | 235 |
| 5-bit (Q5_K_M) • | 4.8 GB Fits | 201 |
| 6-bit (Q6_K) • | 5.4 GB Fits | 174 |
| 8-bit (Q8_0) | 6.8 GB Fits | 134 |
| 16-bit (F16/BF16) | 12.1 GB Fits | 71 |
• real GGUF file size from mradermacher/Yi-6B-i1-GGUF. Speed is a bandwidth ceiling (864 GB/s), not a benchmark. Methodology.
More
Yi 6B on every GPU and Mac · Every model that runs on the L40S · Other models that fit 48 GB VRAM · Try other settings in the calculator
Data: Hugging Face Hub (01-ai/Yi-6B), NVIDIA specs. Data as of 2026-11-17.