Tiny68k将Tiny 2.1移植至原版Amiga 500
AI 总结
开发者u/azhadron称,已将原始Tiny 2.1模型和权重移植到配备7 MHz Motorola 68000、无FPU及1 MB内存的原版Amiga 500,并采用整数运算、KV缓存和多项优化。开发者表示,Claude Code与Opus 5.5编写了C推理引擎、68000汇编和GUI,每次修改都先与Python整数规范逐位核对。开源移植版据称在精确模式下通过了全部44题测试,生成速度约为每秒0.2至0.4个字符,但这些结果仍为开发者自述。
深度见解
该项目在1979年的处理器上运行未经修改的模型和权重,是一项值得关注的AI辅助复古计算实践,也展示了Claude在编写可移植推理代码方面的作用。
I ported TINY 2.1 (a tiny LLM by u/WollyMonjac) to a stock Amiga 500: Motorola 68000 at 7 MHz, no FPU, 512KB + 512KB A501. I built it mostly with Claude Code and Opus 5.5, reusing the workflow from my earlier TinyStories port to the Amiga.
It runs the original model and weights, but all in integer math because the 68000 has no floating point. Claude wrote the C inference engine, the 68000 assembly, and the GUI. Every change was verified bit-for-bit against an integer spec in Python, in an emulated 68000, and in WinUAE before I put it on the real machine. In exact mode, the answers are identical to the original on all 44 test questions.
Blazing fast at 0.2 to 0.4 letters/s. Cheated a bit with a KV cache and a few optimizations, but it’s the original model nonetheless. The video is sped up so it ain't that boring (the sped-up parts are marked).
As a bonus, I ported the Amiga CD32 intro for the demo, because why the hell not?
Free and open source, as all software should be: https://github.com/azha2005/tiny68k
You'll need TINY.BIN from the original repo: https://github.com/WollyMonjac/Tiny-2.1 submitted by /u/azhadron
[link] [comments] |
#Tiny 2.1#Tiny68k#Amiga 500#Claude Code#Opus 5.5#Motorola 68000#WinUAE#Python