Technical Deep Dive: Inside Ideogram's Rebuild—Serving a Flagship Model with DigitalOcean and AMD
Ideogram moved serving for its rebuilt 9.3B-parameter diffusion transformer (Ideogram 4.0, fp8/nf4 quantized, Qwen3-VL-8B text encoder) from Google TPU v5p on GKE to AMD Instinct MI350X GPUs on DigitalOcean Kubernetes, still running JAX through an AMD-supplied ROCm build. The main obstacle was intermittent silent node hangs in production, which took about two weeks of A/B testing to reproduce and were traced to a driver race condition reading the wrong memory location, followed by a second related issue after the first fix. A request that needed four TPUs now runs on two MI350X GPUs in the same time, at comparable overall cost and about three times the memory per chip. The migration also pushed Ideogram to build reproducible test cases before escalating issues and to add DOKS-based alerting for checkpoint-load failures.
Related posts
- Hugging Face on AMD Instinct MI300 GPU
Hugging Face easyNoviceHugging Face's transformers and text-generation-inference (TGI) now run on AMD Instinct MI300X GPUs with no code changes, backed by a Kubernetes-scheduled CI pipeline that runs tens of thousands of unit tests on MI250 and MI300 hardware. TGI optimizations for MI300 include Flash Attention v2, Paged Attention, GPTQ/AWQ kernels, fused kernels, and PyTorch's ROCm TunableOp. TunableOp tunes GEMMs during server warmup and gives an 8-10% decode latency gain on small inputs. On Llama 3 70B, MI300X on Azure delivers 2-3x faster time to first token and 2x faster decoding than MI250, and roughly 2x faster LoRA fine-tuning. Its 192 GB HBM3 also fits the full ~140 GB fp16 model on a single GPU.
- Hugging Face ❤️ TorchTPU: TPUs, Natively
Hugging Face mediumAdeptTorchTPU is a native PyTorch backend that makes TPU an ordinary device, replacing the lazy-tensor torch_xla path and making Optimum TPU unnecessary for running Hugging Face models. Transformers loads models with device_map="tpu", and Diffusers pipelines run with pipe.to("tpu"), optionally with torch.compile and tensor parallelism across chips. Pallas kernels from the Kernels Hub, such as a Tokamax ragged-dot MoE kernel, speed up batch-64 decoding by 21.5× on Qwen3-30B-A3B and 12.8× on Gemma 4 26B-A4B. Of the Transformers tests that run on TPU, 96.5% pass, and 34 TorchTPU issues have been reported so far, 19 of them fixed.
- Run a Chatgpt-like Chatbot on a Single GPU with ROCm
Hugging Face mediumAdeptVicuna-13B can run on a single AMD GPU under ROCm by quantizing it to 4 bits with GPTQ, shrinking GPU memory use from over 28GB in fp16 to about 7.5GB so it fits on a 16GB Radeon RX6900XT. Token generation is memory-bandwidth bound, so quantization costs little latency or perplexity. The guide covers ROCm and Docker setup, downloading or producing a GPTQ 4-bit model (including applying Vicuna delta weights to LLaMA), building the HIPified dequant+matmul kernels, and serving the model through FastChat's Gradio web UI. It compares fp16 and 4-bit variants on MI210 and RX6900XT.
- Inside multi-node training: How to scale model training across GPU clusters
Together AI mediumAdeptMulti-node GPU training spreads foundation model training across many 8-GPU servers by combining data, tensor and pipeline parallelism over NVLink within nodes and InfiniBand/RoCE between them, with periodic checkpointing to survive the near-daily hardware failures of 100-node clusters. A Qwen2.5-72B example on 16 nodes of B300 GPUs (TP=8, PP=2) reached 45-50% MFU and about 2,500 tokens/s/GPU, with PCIe errors, NVLink drops and gradient-sync congestion as recurring problems. Before a full run, verify NVLink and inter-node bandwidth with tools like ib_write_bw, set up NCCL and test checkpoint resume, then scale from 2 nodes upward while targeting over 80% scaling efficiency.
- Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster
Meta Engineering hardMasterPrometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs. It runs NVIDIA GB200 (Catalina/Ariel, 800G scale-out per GPU) and GB300 (Clemente) NVL72 racks on a dedicated Ethernet back-end network with building-level fabrics of up to 20,736 GPUs and an aggregation network spanning 2 to 100+ km. Reliability engineering covers 64-of-72 GPU slices with in-rack spares (about 13% overprovisioning), parallelism-aware fault tolerance, async delta checkpointing, and targeted fixes for NVLink signal integrity and HBM faults. These cut interruptions by 99% and delivered over 85% goodput for pre-training, over 90% for RL, and an MTBI above 54K GPU hours.