Making AI faster on a European supercomputer: 3 findings
We spent our EuroHPC time on Europe's LUMI supercomputer making AI models run faster on AMD GPUs. Three findings, in plain terms, and why they matter.
Publisher
November 9, 2026
3 min read
Running an AI model costs money in one place above all: the graphics processors (GPUs) that do the arithmetic. The faster each GPU works, the more people it can serve and the less each answer costs.
Through a EuroHPC development grant we spent time on LUMI, one of Europe's largest supercomputers, hosted in Finland. Its GPUs are made by AMD. We wanted to know whether software we write ourselves, in an open tool that works on both AMD and NVIDIA chips, can keep up with the code AMD ships for its own hardware. Here is what we found, in plain terms.
1. Our own code beat AMD's on the most important step
A language model spends much of its time on a step called attention, where each word looks back at the words before it. AMD provides hand-tuned code for this. Our version ran 6–18% faster than AMD's own for the model shape we tested, and up to 1.9 times faster than the standard PyTorch version most teams use by default.
Why it matters: you are not locked into one chip vendor's software to get top speed. The same approach can serve AMD and NVIDIA hardware. Technical details.
2. One setting made a popular AI server 2–3 times faster
vLLM is widely used software for running AI models. On these AMD GPUs its default setting is slow at the step that writes each new word. Switching one setting made that step 2–3 times faster on the shapes we tested, with no code changes at all.
Why it matters: before buying more hardware, check how your software is configured. Sometimes the biggest win is free. Technical details.
3. Where data sits in memory can decide who wins
Matrix multiplication is the basic arithmetic behind every AI model. Our hand-tuned version beat AMD's standard library by 1–9% on large sizes. The surprise: simply moving one of the two inputs to a slightly different memory address, 128 bytes over, made ours faster in every one of 256 measurements across 8 sizes.
Why it matters: small, measurable details add up at scale. A few percent on every calculation is a few percent off the hardware bill. Technical details.
Training a model on the supercomputer
We also trained a 27-billion-parameter open language model on LUMI. Training spread across 4 machines ran at 99% of the ideal speed-up compared with 1 machine, so adding machines added almost all of their power. That work continues: the goal is a model that answers better on every test without thinking longer than it needs to.
What we did not achieve
Not every target was met. On longer texts with a smaller model shape, AMD's code still leads ours by 3–6%, and our decoding code runs level with vLLM's best option rather than ahead of it. We report those results with the same care as the wins, because they tell you where the real limits are.
Why this matters for you
If you run AI on your own hardware, or plan to, speed is cost. The lesson from this work is that the right software and the right settings can be worth as much as new hardware. If you want to know how far your own setup can go, talk to us.
We acknowledge the EuroHPC Joint Undertaking for awarding this project access to the EuroHPC supercomputer LUMI, hosted by CSC (Finland) and the LUMI consortium, through a EuroHPC Development Access call (EHPC-DEV-2026D11-419).