Can an SNES Run an LLM?
LLM (large language model) chat bots seem like they’re everywhere right now. But that is mostly an illusion. In reality, those LLMs live in data centers and local devices only have enough processing power to send prompts to the cloud and receive responses. However, it is possible to run an LLM locally on your own hardware. Benj Edwards pushed that concept to the extreme by running an LLM on a real, unmodified SNES .
This isn’t a good LLM by any means. The capability of an LLM is directly proportional to its size, while the speed at which it can respond is directly proportional to the hardware’s processing throughput. That is why most LLMs live in data centers and why those data centers are such a big deal right now — and why hardware costs are through the roof.
The SNES is practically prehistoric and even by 1990 standards, it wasn’t particularly powerful. The CPU runs at a glacial 3.58MHz and there is only 256KB of RAM between general use, video, and audio. The PPU (Picture Processing Unit) doesn’t help much.
But Nintendo had an ace up its sleeve: the Super FX chip. That was an in-cartridge coprocessor that would enhance performance for demanding games. That started with Star Fox , but the later Super FX 2 was used for Yoshi’s Island .
For this project, Edwards grabbed a flash cart with a Super FX 2 and trained a custom model for that hardware. It has 2.2 million parameters, which is still incredibly small, but it is enough to string together words in somewhat coherent sentences. The “pure” version runs entirely like that, but there is also a version (about 5x the ROM size) that includes a fact book to improve its ability to provide actual information.
Just load up the flash cart with the ROM, pop it into an SNES, and start using the onscreen keyboard to ask questions.
Edwards even put an emulated version online. You can try that, even if you don’t have real hardware. Though, as you can see from my test in the screenshot above, you absolutely should not trust




Comments
No comments yet. Be the first to share your thoughts.