GPU comparison
L40S vs MI300X.
The MI300X is ahead on memory (192 GB vs 48 GB) and speed (3.6x the FP16 throughput and 6.1x the memory bandwidth). The L40S makes sense when your model fits in 48 GB and its hourly price is lower.
Rent either on Runcrate
- L40SCheaperfrom $0.55/hr per GPU
on a 2-GPU machine
$0.011 per GB/hr$0.15 per 100 TFLOPS/hr
- MI300Xfrom $4.85/hr per GPU
on an 8-GPU machine
$0.025 per GB/hr$0.37 per 100 TFLOPS/hr
Live hourly price, then per GB of memory and per 100 FP16 TFLOPS.
Which is better for
Which to pick for each job. Memory fit and throughput, from the datasheets.
Hold a 70B model in 8-bit weights
70 GB of 8-bit weights
L40S: 2 GPUs (96 GB)
MI300X: 1 GPU, 122 GB spare
MI300X. Fits on one GPU.
Serve an 8B model in 16-bit weights
16 GB of 16-bit weights
L40S: 1 GPU, 32 GB spare
MI300X: 1 GPU, 176 GB spare
MI300X. Same GPU count, 6.1x the memory bandwidth.
Fine-tune a 70B model with QLoRA
About 46 GB with 4-bit weights
L40S: 1 GPU, 2 GB spare
MI300X: 1 GPU, 146 GB spare
MI300X. Same GPU count, 3.6x the FP16 throughput.
Train on a full node
FP16 tensor throughput per node
L40S: 4x, 1,448 TFLOPS
MI300X: 8x, 10,459 TFLOPS
MI300X. 8 GPUs per node, not 4.
Throughput per watt
FP16 TFLOPS per 100 W of TDP
L40S: 103 TFLOPS per 100 W
MI300X: 174 TFLOPS per 100 W
MI300X. 69% more FP16 per watt.
Compare another pair
Ada Lovelace
NVIDIA L40S
on a 2-GPU machine
- Memory
- 48 GB GDDR6
- FP16 tensor
- 362 TFLOPS
- Bandwidth
- 864 GB/s
CDNA 3
AMD MI300X
on an 8-GPU machine
- Memory
- 192 GB HBM3
- FP16 tensor
- 1,307.4 TFLOPS
- Bandwidth
- 5.3 TB/s
At a glance
Spec by spec. The longer bar is the better number.
Full specs
The complete spec sheet.
| Spec | NVIDIA L40S | AMD MI300X |
|---|---|---|
| Architecture | Ada Lovelace | CDNA 3 |
| Memory | 48 GB | 192 GB |
| Memory type | GDDR6 | HBM3 |
| Memory bandwidth | 864 GB/s | 5.3 TB/s |
| FP32 | 91.6 TFLOPS | 163 TFLOPS |
| FP16 tensor | 362 TFLOPS | 1,307.4 TFLOPS |
| INT8 | 733 TOPS | 2,610 TOPS |
| TDP | 350 W | 750 W |
| Form factor | PCIe | OAM |
| NVLink | No | No |
| GPUs per node | 4 | 8 |
| Hourly price (live) | from $0.55/hr per GPU on a 2-GPU machine | from $4.85/hr per GPU on an 8-GPU machine |
Questions
L40S or MI300X. What buyers ask first.
NVIDIA L40S vs AMD MI300X: which is better for AI?
What's the price difference between NVIDIA L40S and AMD MI300X?
Can I deploy NVIDIA L40S or AMD MI300X on Runcrate today?
How much VRAM does each GPU have?
L40S or MI300X: which holds a 70B model in 8-bit weights?
Other comparisons