Software-defined scheduling and the compiler team
Jonathan Ross and Douglas Wightman founded Groq in 2016 to enable an AI economy powered by human agency. The company builds the Language Processing Unit (LPU) using a software-defined hardware approach. This architecture moves all scheduling decisions, including memory access, data movement, and every operation, into the compiler before the chip runs. The hardware executes a pre-computed schedule with cycle-accurate precision. This 144-wide VLIW architecture allows 144 parallel operations per cycle, which is more than the 8-wide VLIW used in Google’s TPU control unit. The compiler team, which now works at NVIDIA, spent over six years refining this whole-graph static scheduler. Jim Miller, the VP of Engineering and a former leader at Qualcomm, Broadcom, and Intel, leads the engineering efforts alongside Yaniv Shemesh, the Head of Cloud and HPC Software Engineering. Groq supports standard machine learning frameworks such as PyTorch, TensorFlow, and ONNX. Through its GroqLabs branch, the company explores applications in audio processing, speech recognition, image manipulation, and scientific research. Dennis Abts, who previously served as Groq’s chief architect and helped invent Google’s dragonfly topology, joined NVIDIA three years ago.
LPU performance metrics and model speeds
The LPU is a specialized processor that creates a paradigm shift in speed and efficiency when handling large language models (LLMs). It uses on-chip SRAM as a software-managed scratchpad rather than a hardware-managed cache. The compiler decides exactly what data lives where and when, so the chip avoids cache misses. This design eliminates dynamic memory management and branch prediction. The LPU addresses bottlenecks in compute density and memory bandwidth by using a sequential processing model instead of the parallel processing approach used by GPUs. In benchmarking tests by ArtificialAnalysis.ai, the LPU outperformed eight competitors across metrics such as Latency vs. Throughput, Throughput over Time, Total Response Time, and Throughput Variance. When running Llama 2 70B, the LPU performance was high enough that the axes of the Latency vs. Throughput chart required extension to accommodate the results. Traditional Nvidia GPUs burn 10 to 30 Joules per token for memory fetches and stay idle while waiting for data from memory.
| Model | Performance (tokens/s) |
|---|---|
| Llama 2 70B | 185 to 300 |
| Mixtral 8x7B-32k | 473 |
| Gemma | 826 |
Groq provides access to open-source models through its LPU Inference Engine. For Llama 2 70B, the engine delivers 185 tokens/s in some benchmarks and up to 300 tokens/s per user in others. This speed allows the engine to produce as many words as Shakespeare’s Hamlet in under seven minutes, which is 75X faster than the average human can type. The system maintains a Time to First Token of 0.22s. You can select between Mixtral 8x7B-32k and Llama 2 70B-4k via a WebUI. The engine also successfully runs models like Falcon and Code Llama. In the LLMPerf Leaderboard by Anyscale, Groq outperformed all other cloud-based inference providers by up to 18 times in terms of output tokens throughput while running Meta AI’s Llama 2 70B model.
Scaling constraints and the NVIDIA integration
The hardware architecture relies on perfect timing across all chips in a system. If one chip drifts by even a few clock cycles, the execution stalls because the compiler cannot recover from timing skew it did not anticipate. This synchronization vulnerability became apparent as the company attempted to scale. To run Llama 3 70B, Groq requires a rack of 576 chips. Analyst Alex Platt notes that the limited 230MB memory capacity of Groq chips means the hardware cannot handle many inference tasks. The massive $20 billion NVIDIA deal, which is nearly three times Groq’s September valuation, attempts to resolve the physical synchronization issues inherent in dataflow architectures by using optical clock-forwarded die-to-die links and injection-locked oscillators to maintain cycle-accurate timing across separate pieces of silicon. NVIDIA’s strategy incorporates five layers: Groq’s compiler DNA, clock-forwarded optical interconnect, hybrid bonding for 3D SRAM stacking, NVLink fabric, and advanced thermal infrastructure. This integration aims to scale a dataflow engine from one die to an entire rack, similar to how NVIDIA compared Groq to Mellanox. The NVIDIA approach uses standard packaging and on-chip SRAM to bypass the need for CoWoS and HBM. Dennis Abts, who previously served as Groq’s chief architect, joined NVIDIA three years ago. How will the engineering team prevent thermal gradients across a full rack from altering propagation delays and breaking the compiler’s schedule?




