Ideogram 4.0 needs two AMD Instinct MI350X GPUs to handle a request that took four Google TPUs before, in the same time. The image startup rewrote its flagship model from the ground up and, over several months, shifted its serving workload from Google Cloud to a DigitalOcean cluster.
The model
Ideogram trains its own diffusion models. The new one is a 9.3-billion-parameter diffusion transformer with 34 layers that processes text and image tokens in a single stream. A Qwen3-VL-8B-Instruct encoder reads the prompts. Both fp8 and nf4 quantization are supported, which keep weights in less precision to cut memory use. The nf4 build fits on one 24GB card, so a 288GB MI350X with up to 8 TB/s of bandwidth has room to spare.

Why TPUs fell short
Ideogram’s engineers named four problems with the old arrangement:
- Memory: the TPU v5p chips lacked the capacity a new build demanded, forcing training and research jobs to be split across chips purely to fit.
- Software: Ideogram’s code runs on JAX, which mostly serves Google’s own TPU stack, while the wider ML tooling world assumes PyTorch. Adopting standard tools was possible but slow, said Melinda Lu.
- Hardware access: the company wanted current-generation GPUs and a supplier able to deliver the volume on schedule.
- Cost: the number that mattered was throughput per dollar over a full serving run, not the price of one chip.
Jack Wang, who handles infrastructure at Ideogram, said DigitalOcean won by promising enough GPUs, a fast path to production before the TPU lease ended, and MI350X machines.
Making the move
Ideogram was the first customer in DigitalOcean’s Richmond facility, where the newest AMD hardware sits. DigitalOcean opened it roughly two weeks early to line up with the lease deadline, giving engineers time to build and test the fast network fabric before cutting over.
Only compute changed. A scheduler built around submitters and workers let traffic shift to the new cluster while the rest of the pipeline stayed put. JAX stayed too, running on AMD’s ROCm stack with a JAX build AMD provided. Switching to PyTorch is something the team might try later.
Nodes that froze
After the rebuilt model went live, nodes started freezing at random with no clear cause. DigitalOcean’s GPU validation suite cleared the hardware, and a small side cluster let engineers experiment while production limped along.
Lu’s group needed nearly two weeks of A/B runs to produce a dependable reproduction. Then came a cycle: capture a crash, send the data to AMD, get asked for a custom diagnostic build, run it, repeat. The culprit was a driver race condition that read the wrong memory address. Joe Keegan, a senior forward deployed engineer at DigitalOcean, said only AMD could have located it, and only with DigitalOcean’s logs, traces and diagrams of the Kubernetes and virtualization layers.
That fix lasted about a week. A similar fault returned under a new configuration, and all three companies spent several unplanned days on it before AMD found a second contributing cause. The freezes haven’t come back since.
What it bought
Each chip costs about twice as much, so the bill ends up close to the TPU one. But Ideogram gets equal throughput from half as many chips, each with about triple the memory.
Day-to-day operation improved as well. On Google Kubernetes Engine, TPU scaling was awkward for Ideogram, with scale-downs done by hand. DigitalOcean Kubernetes adds built-in monitoring, and development, production and research all share one cluster. A custom alert there flagged pods that couldn’t load checkpoints because of a disk problem, a catch Wang said would have been hard on TPUs.
What Ideogram does differently now
The team writes a reproducible test case before escalating any fault, and DigitalOcean and AMD each verify driver and platform updates on their own before they touch the cluster. Ideogram plans to apply the same routine to future migrations. A JAX-to-PyTorch switch is the open question to watch.
Source: digitalocean.com