M40 24GB

NVIDIAdatacenter
Overview
ArchitectureMaxwell (2015)
Launch dateNov 2015 (12GB, datasheet dated Jan16); 24GB variant datasheet dated Mar16
Compute capability5.2
Memory
VRAM24 GB GDDR5
Memory bandwidth288 GB/s
Compute — vector
FP640.2 TFLOPS
FP327 TFLOPS
Cores & clocks
Streaming Multiprocessors24
Shader cores3,072
Board & system
TDP250 W
Form factorPCIe Full Height, Dual Slot
PCIePCIe Gen3

Compatible CUDA Toolkit versions

10.010.110.211.211.311.611.711.812.012.112.212.312.412.512.612.812.9

PyTorch on the M40 24GB

Check against your driver and Python version →

No build of the newest PyTorch (2.15.0) runs on this card. The newest release that does is PyTorch 2.14.0:

pip install torch==2.14.0 --index-url https://download.pytorch.org/whl/cu126
PyTorchCUDA builds that run on this cardPlain pip install torch
2.15.0nonedoesn't (CUDA 13.2 build)
2.14.012.6doesn't (CUDA 13.0 build)
2.13.012.6doesn't (CUDA 13.0 build)
2.12.012.6doesn't (CUDA 13.0 build)
2.11.012.6doesn't (CUDA 13.0 build)
2.10.012.6doesn't (CUDA 12.8 build)
2.9.012.6doesn't (CUDA 12.8 build)
2.8.012.6doesn't (CUDA 12.8 build)
2.7.011.8, 12.6works
2.6.011.8, 12.4, 12.6works
2.5.011.8, 12.1, 12.4works
2.4.011.8, 12.1, 12.4works
2.3.011.8, 12.1works
2.2.011.8, 12.1works
2.1.011.8, 12.1works
2.0.011.7, 11.8works
1.13.011.6, 11.7works
1.12.010.2, 11.3, 11.6—
1.11.010.2, 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 M40 24GB

Whether each library's own requirements cover this card. Each row links to the version and source it was checked against on library support.

LibrarySupportedDetails
vLLM 0.32.0Noneeds compute capability 7.5+
FlashAttention-2 2.8.3.post2Nono build for compute capability 5.2
FlashAttention-3 main (2026-09-27)Nono build for compute capability 5.2
bitsandbytes 0.50.2Nono build for compute capability 5.2
TensorRT 11.4.1Noneeds compute capability 7.5+
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.

BF16FP8FP4
NoNoNo

Source: NVIDIA TensorRT 11.3.0 support matrix (hardware precision table); pre-Turing architectures predate all three formats.

Added 2026-09 alongside K80 and older AMD Radeon Instinct cards to extend NVIDIA coverage further back — M40 was a widely-deployed early deep learning training GPU (Caffe/Torch era) and predates this site's previous oldest NVIDIA entry (2017's V100) by two years. All figures sourced directly from NVIDIA's official Tesla M40 datasheet, 24GB variant (images.nvidia.com/content/tesla/pdf/78071_Tesla_M40_24GB_Print_Datasheet_LR.PDF, footer dated MAR16), read via pdftotext. NVIDIA also published an otherwise-identical 12GB datasheet (nvidia-teslam40-datasheet.pdf, dated Jan16) with the same architecture/CUDA-core-count/TFLOPS/bandwidth/power figures — this entry represents the 24GB SKU, matching this site's general preference for the higher-memory variant where both exist (see V100 SXM2 32GB's notes for the same reasoning). fp32TFLOPS (7) is explicitly "with NVIDIA GPU Boost" per the datasheet's own Features list. eccSupport is intentionally omitted (not false) — unlike this site's other Tesla-era entries (K80, P100, V100), M40's official spec table has no ECC row at all, and Maxwell GM200's GDDR5 (rather than HBM2) memory controller doesn't get the same blanket ECC treatment those datasheets call out, so leaving it unspecified is more accurate than guessing either way. No Tensor/matrix-throughput fields — Maxwell predates Tensor Cores entirely (introduced with Volta), and this datasheet gives only a single FP32 rate, not a separate FP16 vector figure. No transistor count, process node, or MSRP — M40 shipped through OEM/server partners, not direct retail. 2026-09-15 — added computeUnitCount (24 SMs) from Table 1 of NVIDIA's Volta architecture whitepaper (WP-08608-001_v1.1), which lists GM200 (Maxwell) at 24 SMs, 128 FP32 cores per SM and 3,072 FP32 cores per GPU — the same 3,072 already in shaderCoreCount here. Maxwell's own name for the block is SMM (as Kepler's is SMX); computeUnitLabel says "Streaming Multiprocessors" for consistency with the rest of this collection's NVIDIA entries. matrixCoreCount stays empty — no Tensor Cores on Maxwell.

← All GPUs · Compare GPUs →