LIVE

One developer let AI agents build a custom circuit for language models

A processor's silicon chip under a microscope, with millions of transistors
Photo: Martijn Boer

Developer Ankit Gupta has had AI agents design a circuit that runs a language model on a programmable chip, an FPGA, in Amazon’s cloud. After several days of work the agent had made the design 33 times faster, from 6.43 to 213.13 tokens per second.

In a blog post, Gupta describes how a cloud-hosted agent worked in a loop for days while he mostly just encouraged it now and then. The agent first got the model running and then tried hundreds of experiments to speed it up. The model uses so-called ternary weights, which can take only three values and therefore suit hardware with little memory. According to Gupta, roughly three million lines were written across the experiments, and the bill for Claude and OpenAI models came to about 10,000 dollars. He says the result is 1.65 times faster than the same model on an ordinary processor.

What it enables. Circuit design has required specialists and a lot of time. Here a single person shows that agents can drive the optimisation on their own, with a human as the client. That lowers the bar for creating custom hardware for a particular model. Caveats: this is an experiment on a rented FPGA, not a manufactured chip, and the figures are Gupta’s own.

Original source: Ankit Gupta

All news