2 Sources
[1]
Software Engineer Runs Generative AI on 20-Year-Old PowerBook G4
In a blog post this week, software engineer Andrew Rossignol (my brother!) detailed how he managed to run generative AI on an old PowerBook G4. While hardware requirements for large language models (LLMs) are typically high, this particular PowerBook G4 model from 2005 is equipped with a mere
[2]
A Powerbook G4 can run an LLM -- but not fast enough to be practical
A PowerBook G4 running a TinyStories 110M Llama2 LLM inference -- Image credit: Andrew Rossignol/TheResistorNetwork A software developer has proven it is possible to run a modern LLM on old hardware like a 2005 PowerBook G4, albeit nowhere near the speeds expected by consumers. Most artificial
Share
Copy Link
A software engineer successfully ran a modern large language model (LLM) on a 2005 PowerBook G4, demonstrating the potential for AI to operate on older hardware, albeit with significant performance limitations.

In a remarkable demonstration of artificial intelligence's adaptability, software engineer Andrew Rossignol has successfully run a generative AI model on a 20-year-old PowerBook G4. This experiment, detailed in a recent blog post, pushes the boundaries of what's possible with older hardware in the age of AI
1
.Rossignol's project involved running Meta's LLM model Llama 2 on a 2005 PowerBook G4, equipped with a 1.5GHz PowerPC G4 processor and 1GB of RAM. This hardware, considered antiquated by today's standards, presents significant challenges for running modern AI models
1
.The experiment utilized the open-source llama2.c project, which implements Llama2 LLM inference using a single vanilla C file. Rossignol made several improvements to the project, including:
2
One of the main hurdles was the PowerBook G4's "big-endian" processor architecture, which conflicted with the "little-endian" expectations of the model checkpoint and tokenizers. Rossignol had to address these byte ordering issues to make the project functional
2
.To assess the PowerBook G4's performance, Rossignol compared it to a single Intel Xeon Silver 4216 core clocked at 3.2GHz:
The optimization included using vector extensions like AltiVec, which improved performance slightly
2
.Related Stories
Due to hardware constraints, Rossignol used the TinyStories model, focusing on the 15 million-parameter (15M) and 110 million-parameter (110M) variants. The 32-bit address space of the PowerBook G4 limited the use of larger models
2
.While the experiment proves that older hardware can run modern LLMs, the performance is far from practical for everyday use. However, this demonstration opens up possibilities for repurposing older devices for AI applications, albeit with limitations
2
.Rossignol acknowledges that further significant improvements are unlikely due to hardware limitations. Nevertheless, he views the project as a valuable learning experience in understanding LLMs and their operations
2
.As AI continues to evolve, this experiment highlights the potential for broader hardware compatibility. However, it also underscores the need for modern, powerful hardware to run cutting-edge AI applications efficiently.
Summarized by
Navi
1
Technology

2
Technology

3
Policy and Regulation
