L40S
NVIDIAdatacenter| Overview | |
|---|---|
| Architecture | Ada Lovelace (2023) |
| Compute capability | 8.9 |
| Memory | |
| VRAM | 48 GB GDDR6 (ECC) |
| Memory bandwidth | 864 GB/s |
| Compute — vector | |
| FP32 | 91.6 TFLOPS |
| Compute — matrix / tensor | |
| TF32 | 183 TFLOPS |
| BF16 | 362.05 TFLOPS |
| FP16 (dense / sparse) | 362.05 / 733 TFLOPS |
| FP8 (dense / sparse) | 733 / 1,466 TFLOPS |
| Cores & clocks | |
| Streaming Multiprocessors | 142 |
| Shader cores | 18,176 |
| Matrix / Tensor cores | 568 |
| Board & system | |
| TDP | 350 W |
| Form factor | PCIe dual-slot |
| PCIe | PCIe Gen4 |
Compatible CUDA Toolkit versions
PyTorch on the L40S
Check against your driver and Python version →
The newest PyTorch, 2.15.0, runs on this card with a plain pip install torch.
| PyTorch | CUDA builds that run on this card | Plain pip install torch |
|---|---|---|
| 2.15.0 | 13.2, 13.4 | works |
| 2.14.0 | 12.6, 13.0, 13.2 | works |
| 2.13.0 | 12.6, 12.9, 13.0, 13.2 | works |
| 2.12.0 | 12.6, 13.0, 13.2 | works |
| 2.11.0 | 12.6, 12.8, 12.9, 13.0 | works |
| 2.10.0 | 12.6, 12.8, 12.9, 13.0 | works |
| 2.9.0 | 12.6, 12.8, 12.9, 13.0 | works |
| 2.8.0 | 12.6, 12.8, 12.9 | works |
| 2.7.0 | 11.8, 12.6, 12.8 | works |
| 2.6.0 | 11.8, 12.4, 12.6 | works |
| 2.5.0 | 11.8, 12.1, 12.4 | works |
| 2.4.0 | 11.8, 12.1, 12.4 | works |
| 2.3.0 | 11.8, 12.1 | works |
| 2.2.0 | 11.8, 12.1 | works |
| 2.1.0 | 11.8, 12.1 | works |
| 2.0.0 | 11.7, 11.8 | works |
| 1.13.0 | 11.6, 11.7 | works |
| 1.12.0 | 11.3, 11.6 | — |
| 1.11.0 | 11.3 | — |
From each build's compiled architecture list (Linux x86_64 wheels). Your driver must also support the CUDA version — see compatible CUDA versions.
Libraries on the L40S
Whether each library's own requirements cover this card. Each row links to the version and source it was checked against on library support.
| Library | Supported | Details |
|---|---|---|
| vLLM 0.32.0 | Yes | |
| FlashAttention-2 2.8.3.post2 | Yes | |
| FlashAttention-3 main (2026-09-27) | No | no build for compute capability 8.9 |
| bitsandbytes 0.50.2 | Yes | |
| TensorRT 11.4.1 | Yes | |
| llama.cpp master (2026-09-27) | Yes |
Native low-precision formats
Whether the card's matrix hardware runs these formats natively. Without native support a format can still work, but through slower emulation or conversion, not at the card's rated speed.
| BF16 | FP8 | FP4 |
|---|---|---|
| Native | Native | No |
Source: NVIDIA TensorRT 11.3.0 support matrix (hardware precision table).
fp16TFLOPS/fp8TFLOPS dense figures and their Sparse counterparts are directly published dense/sparse pairs from NVIDIA's official L40S datasheet (362.05/733 dense; 733/1466 with structured sparsity) — original source verified in an earlier session. fp32TFLOPS (91.6) and tf32TFLOPS (183 dense, 366 with sparsity) added 2026-09-01 from NVIDIA's current L40S product page (nvidia.com/en-us/data-center/l40s/, "Specifications" panel) via screenshot (the page renders this panel in a way get_page_text and WebFetch on the linked datasheet PDF both failed to extract as text — read visually instead). bf16TFLOPS assumed equal to fp16TFLOPS (NVIDIA doesn't list BF16 separately on this page; Ada Lovelace Tensor Cores run BF16 and FP16 at the same rate on every other entry in this collection where both are independently published).
No interconnect/interconnectBandwidthGBs — L40S has no NVLink, PCIe Gen4 x16 only. No transistor count or L2 cache found in text form (the page also shows an "RT Core Performance: 212 TFLOPS" ray-tracing figure, not included — out of scope for this AI/ML-focused schema). No public MSRP — L40S ships through the OEM/server-partner channel, not direct retail.
2026-09-15 — added shaderCoreCount (18,176 CUDA cores) and matrixCoreCount (568 fourth-generation Tensor Cores), both read from the specifications table on NVIDIA's own L40S product page (nvidia.com/en-us/data-center/l40s/) — they were on the page all along and simply missed on the earlier pass, not newly published. Also added computeUnitCount (142 SMs), which NVIDIA does not state directly but which both published counts independently imply on Ada Lovelace's fixed per-SM structure: 18,176 / 128 FP32 cores per SM = 142, and 568 / 4 Tensor Cores per SM = 142. The same table's "142 third-generation RT Cores" is a third confirmation, since Ada carries exactly one RT Core per SM. Three agreeing figures is why this is recorded as a value rather than left blank.