Leaderboard Β· All comparisons Β· LynxBenchAI 26Q3 Index

NVIDIA L40S vs NVIDIA A100-SXM4-80GB for AI

Device pages: NVIDIA L40S Β· NVIDIA A100-SXM4-80GB

On the LynxBenchAI 26Q3 Index, the NVIDIA L40S scores 0.90x the NVIDIA A100-SXM4-80GB overall (Training 0.76x, Inference 0.80x, Compute 1.64x). It leads on Compute and trails on Training and Inference.

Scores on the LynxBenchAI 26Q3 Index

Ratio = the L40S's score divided by the A100-SXM4-80GB's
ScoreRatioL40SA100-SXM4-80GB
Overall (GT)0.90x395.82440.29
Training0.76x316.04415.55
Inference0.80x528.12660.97
Compute1.64x344.33210.04
  • Runs on the L40S only: FP8 inference.

When to Choose Which

  • Choose the A100-SXM4-80GB for training (1.31x the L40S).
  • Choose the A100-SXM4-80GB for inference (1.25x the L40S).
  • Choose the L40S for raw compute (1.64x the A100-SXM4-80GB).

From the LynxBenchAI 26Q3 Index category scores, which are not raw throughput; a lead under 10% counts as level.

Per Model and Precision

LynxBenchAI score per model and precision; ratio = L40S / A100-SXM4-80GB
ModelPrecisionRatioL40SA100-SXM4-80GB
compute
Dense MatMulBF160.51x243.02477.39
Dense MatMulFP160.56x243.74431.41
Dense MatMulFP320.97x303.04312.37
Dense MatMulFP640.07x8.68132.43
Sparse MatMulFP326.30x575.7491.46
Sparse MatMulFP643.55x577.96163.00
inference
DistilBERTFP160.71x898.531267.42
DistilBERTFP8n/a514.72not run
DistilBERTINT80.71x438.15613.96
DistilGPT2FP160.47x752.181607.95
DistilGPT2FP8n/a457.31not run
DistilGPT2INT80.58x420.32727.01
Flan-T5 SmallFP160.61x1009.631645.66
Flan-T5 SmallFP8n/a566.59not run
Flan-T5 SmallINT80.66x503.01759.30
GraphGPS (Peptides)FP160.49x268.17548.43
GraphGPS (Peptides)FP8n/a137.60not run
GraphGPS (Peptides)INT80.51x138.11272.75
MobileNetV3FP160.80x1375.691709.26
MobileNetV3INT80.80x403.39503.53
training
DistilBERTBF160.59x405.03690.91
DistilBERTFP320.61x492.41805.46
DistilGPT2BF160.62x223.21358.79
DistilGPT2FP320.60x391.29657.14
Flan-T5 SmallBF160.74x263.33353.74
Flan-T5 SmallFP320.72x470.80657.00
GraphGPS (Peptides)BF160.80x184.43230.04
GraphGPS (Peptides)FP320.92x207.50225.70
MobileNetV3BF161.42x248.23175.17
MobileNetV3FP321.03x376.00363.86

Related Comparisons

Each figure is the first device's overall score divided by the second's.

Measure your own machine: pip install lynxbench-ai Β· Install guide β†’

How to Read These Results

A LynxBenchAI score is sustained throughput on a fixed catalogue of PyTorch models, measured after a warm-up at a batch size raised until throughput stops improving, so it is what the machine holds under load, not its best instant. Training, Inference and Compute are three separate scores; GT combines them (Training and Inference weigh 0.4 each, Compute 0.2).

Every run uses the stock, publicly released PyTorch stack, so a result is broadly indicative of the out-of-the-box PyTorch experience on that hardware, and so of custom PyTorch models too. It does not run your own model, and it is not a vendor-tuned peak like an MLPerf submission.

Scores compare only within one Index: the 26Q3 Index fixes the models, precisions, correctness thresholds and scoring, and a later Index may change them. Each test is one timed window, the scores have no 0-100 scale, and a precision a device cannot run scores zero rather than being skipped.

LynxBenchAI is built by TechnoLynx, which the European Commission engaged as an independent expert advisor on AI performance and benchmarking for AI Gigafactories under the EuroHPC Joint Undertaking (case study).

Questions

Is the NVIDIA L40S faster than the NVIDIA A100-SXM4-80GB for AI?
On the LynxBenchAI 26Q3 Index, the NVIDIA L40S scores 0.90x the NVIDIA A100-SXM4-80GB overall (Training 0.76x, Inference 0.80x, Compute 1.64x). It leads on Compute and trails on Training and Inference.
Should I choose the NVIDIA L40S or the NVIDIA A100-SXM4-80GB?
Choose the A100-SXM4-80GB for training (1.31x the L40S). Choose the A100-SXM4-80GB for inference (1.25x the L40S). Choose the L40S for raw compute (1.64x the A100-SXM4-80GB). These follow the LynxBenchAI 26Q3 Index category scores, which are not raw throughput.
Where is the difference between the NVIDIA L40S and the NVIDIA A100-SXM4-80GB largest?
On the LynxBenchAI 26Q3 Index, the ratio is highest on Sparse MatMul at FP32 (Compute), where the NVIDIA L40S scores 6.30x the NVIDIA A100-SXM4-80GB, and lowest on Dense MatMul at FP64 (Compute), at 0.07x.
Which precisions run on only one of the NVIDIA L40S and the NVIDIA A100-SXM4-80GB?
On the LynxBenchAI 26Q3 Index, only the NVIDIA L40S runs FP8 inference; a precision a device cannot execute scores zero.
What does this result tell me about my own PyTorch model?
Every run uses the stock, publicly released PyTorch stack, so a result is broadly indicative of the out-of-the-box PyTorch experience on that hardware, and so of custom PyTorch models too. It does not run your own model, and it is not a vendor-tuned peak like an MLPerf submission.

The Personal Edition submits your benchmark results to TechnoLynx's servers as part of participating in the public leaderboard. If that isn't acceptable for your use case, contact TechnoLynx about Press, Pro, or Enterprise licenses.

Get Started