Google test runs a 270M-parameter model on a laser printer with 14.1MB of memory

A Google DeepMind team member, Omar Sanseviero, showed an experiment. Without changing the Ricoh printer’s firmware or adding an external compute board, he used the printer’s built-in PostScript interpreter to run the 270-million-parameter Gemma 3 270M model. Peak memory use was about 14.1MB.

The experiment compiled a small Transformer inference engine and a quantized model into a PostScript print job. It loaded model layers in and out of memory one at a time to fit the printer’s limited memory. The printer’s CPU did the computing, and the printer then printed the result.

It took about 60 seconds to generate each token. Processing the input prompt took about 184 seconds, while decoding one token took 0.1 seconds, for 184.1 seconds in total. The test shows that an AI model can run on very limited hardware.

SponsoredDomoAI
AI Tools Mentioned

Comments

Loading comments…