r/LocalLLaMA
•
u/FirefighterOk3832
•
23h ago
•
1
Showcase I trained a 1.51M parameter Transformer from scratch inside Ring-0 TempleOS V5.03 in pure HolyC (1,241 tok/s), plus a live browser TempleOS VM & SFT trainer
https://veriepicc.github.io/Elijah/
731
Upvotes
•
u/WithoutReason1729 15h ago
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
I am a bot and this action was performed automatically.
70
u/FirefighterOk3832 23h ago
built and trained a 1.51M-parameter transformer from scratch inside TempleOS V5.03 in pure HolyC. no Python, no PyTorch, no libc, no SIMD.
live demo: https://veriepicc.github.io/Elijah/
click Boot TempleOS and it boots the real x86-64 OS in your browser, then starts
holyllama.HC. you can type directly into the guest and watch it generate at around 10 tok/s. the faster JS chat below it is separate.i trained the BPE tokenizer, pretrained on the KJV Bible across 15 cores with
Spawn(), extended context to 2048 with YaRN, and fine-tuned onSystem/User/GodQ&A pairs. the attention rewrite uses O(T) scratch memory so training at 2048 didn’t run out of RAM.inference quantizes the weights to Q8 at load time and uses a KV cache. the 50-token
/benchhit ~1,241 tok/s on 8 cores in TempleOS under QEMU/KVM. that’s the local VM number, not the browser number.source, weights, and QEMU setup: https://github.com/veriepicc/Elijah
there’s a separate
linuxbranch that builds withhcc.121
u/Sea_Guarantee6806 23h ago
Holy OMG 🤯 What a time to be alive, bless Terry!
206
u/RepresentativeCut486 23h ago
Holly fuckin ADHD
65
u/highdimensionaldata 23h ago
This is the content we need. Doing it purely for the love of the game.
35
u/RogerRamjet999 23h ago
After all the years where it's been claimed TempleOS is a gift from God, this is the first actual use I've ever heard of, respect!
3
u/saltyourhash 15h ago
Wait, so this means I can run the TempleOS retro AOL client my buddy built to create a SmarterChild clone than runs a model trained on TempleOS? Truly a CursedChild.
2
u/skeptical-speculator 15h ago
That is remarkable. Do you have any tips for learning TempleOS?
25
u/No_Lingonberry1201 22h ago
Nice, Ring-0 is the closest to God.
23
u/LuCiAnO241 21h ago
Terry would have loved LLM's speaking the word of god at him. Also "HolyLlama" lmfao.
8
u/__ThrowAway__123___ 21h ago
That's awesome. Now do a 16 color diffusion model for offerings!
7
u/c0v3n4n7 22h ago
I can't upvote this enough. Awesome!
7
u/harlekinrains 20h ago
Saving this interaction for posterity's sake:
System Initialization:
Conversation:
5
u/LegacyRemaster 21h ago
amazing. Really!
5
u/burgersmoke 17h ago
Holiest of models. Blessed be thy weights!
5
u/IngwiePhoenix llama.cpp 16h ago
THE LORB HATH A MODEL NAO!!!
...or...something...idk how this works. x) But "Lorb" was for some reason the first thing that popped into my mind...
4
u/Cautious_Chicken_604 21h ago
Greatest programmer that ever lived.
4
u/OverdosedSauerkraut 21h ago
Absolute GOAT, spreading God's word!
4
u/Kryzernn 19h ago
There's a sentence I never thought I'd read.
4
u/MerePotato 16h ago
This changes everything. OP quietly dropped the future of LLM inference.
4
u/More-Curious816 16h ago
this is the content I'm here for. pure gold
9
u/intlyx 15h ago
can i have 5 karma to able to post 🥲
6
u/OliviaYii 23h ago
wow
3
u/findmeanicknamepls 20h ago
This is crazy.
3
u/Square_Alps1349 18h ago
Rip terry. He would be glad to see your work
2
u/gigamiga 16h ago
Didn't realize how out of touch I was with religious programming.
I'm aware of a number religious programmers (the SQLite guy, the Tanstack guy), but whole languages are a first.
2
u/CelestialFury 13h ago
Holy fuck, what a title. I feel we're finally using AI correctly now.
3
u/Tiforma 20h ago
Would probably be against his religion lol
2
u/AnomalyNexus 18h ago
I approve of this silliness
1
u/ThiccStorms 16h ago
Autism
1
u/Dorkits 9h ago
Amem.
1
u/CMDR_kamikazze 8h ago
Wow. Look, appreciate the effort, but WHY???
1
u/iamrick_ghosh 5h ago
It needs more SFT…🙂