Running a Large Language Model on DOS? Believe It!

2025-04-21
Running a Large Language Model on DOS?  Believe It!

A developer has successfully run a Large Language Model (LLM) on a vintage DOS PC! Leveraging Andrej Karpathy's llama2.c project, they ported Meta's Llama 2 model to DOS, demonstrating it on machines like a Thinkpad T42 (2004) and a Toshiba Satellite 315CDT (1996). Despite challenges with memory mapping and floating-point operations, they overcame hurdles using the Open Watcom compiler and a DOS extender. While slow, the achievement showcases the surprising capabilities of retro computing.

Development