News for hackers. Stuff that matters.
Re:Implementation of GPT-2 in pure CMake by ahartmetz on Sunday August 23, 2026 @07:28PM (#49413618)
FWIW, this is most likely not even suitable to laugh at how slow it is - for that, you need to see something happening in less than an hour or so.

It can only use one core at a time, but that is not the worst thing: CMake is interpreted and stringly typed, so every number will have to be converted string -> number and usually back on every use.

Re:Implementation of GPT-2 in pure CMake by voxelghost on Sunday August 23, 2026 @07:50PM (#49413731)
We just need to find a way to extend Moores law into the 4th dimension, and hardware will catch up to this.
Re:Implementation of GPT-2 in pure CMake by ahartmetz on Sunday August 23, 2026 @08:27PM (#49413961)
Btw, I just realized that "cannot use all cores" has become a similar performance handicap to "is interpreted". So many cores now!
Re:Implementation of GPT-2 in pure CMake by sirsinsalot on Sunday August 23, 2026 @08:25PM (#49413954)
A hellscape.
Re:Implementation of GPT-2 in pure CMake by pkilgore on Sunday August 23, 2026 @08:35PM (#49414002)
disgusting (complementary)
Re:Implementation of GPT-2 in pure CMake by paaloeye on Sunday August 23, 2026 @08:40PM (#49414022)
Somebody has more time than sense
Re:Implementation of GPT-2 in pure CMake by paaloeye on Sunday August 23, 2026 @08:41PM (#49414034)
Re:Implementation of GPT-2 in pure CMake by _menelaus on Sunday August 23, 2026 @08:58PM (#49414127)
AI is gonna keep us around because it would never think to do this kinda stuff
Re:Implementation of GPT-2 in pure CMake by varun_ch on Sunday August 23, 2026 @09:13PM (#49414224)
It might not think to do this but it’ll certainly help do it. The code is full of suspiciously AI code comments and file headers!

https://github.com/AlpinDale/gpt2.cmake/blob/main/cmake/mode...

Re:Implementation of GPT-2 in pure CMake by avilay on Sunday August 23, 2026 @09:27PM (#49414305)
Why? Just...why?

I get that sometimes we like to build useless things because they are elegant, or beautiful, or "cool" in some sense of the word. But CMake is not cool in any sense of the word! I can barely use it to write build files, and that too I have gladly offloaded to AI. Sometimes when looking at CMake files in a large project, I become nostalgic about Makefiles, but then I think about what the rewrite would entail, and I resign myself to my fate.

Re:Implementation of GPT-2 in pure CMake by voxelghost on Sunday August 23, 2026 @09:52PM (#49414427)
Sometimes these little endevors, are like art, they don't have to mean something, they just has to make you feel something.

Feeling Queasy, is still a feeling, mind you.

Re:Implementation of GPT-2 in pure CMake by Bluestein on Monday August 24, 2026 @06:24AM (#49417724)
This is the best definition of so many things (from "enragement"/engagement) to the entire Drump presidency to, oh, so many things. So, thanks.-

(Also, in a good way, mind: Art for art's sake.-)

Re:Implementation of GPT-2 in pure CMake by OJFord on Monday August 24, 2026 @03:21AM (#49416237)
An exercise in understanding gpt2, flexing the author's cmake skills, while demonstrating the absurd complexity of what it allows similarly to 'c++ templates are turing complete' or 'doom on my calculator'.
Re:Implementation of GPT-2 in pure CMake by edg5000 on Monday August 24, 2026 @12:05AM (#49415090)
It's surprisingly tiny when you exclude the data
Re:Implementation of GPT-2 in pure CMake by inoffensivename on Monday August 24, 2026 @12:26AM (#49415177)
To quote April Ludgate: Gross. I love it.
Re:Implementation of GPT-2 in pure CMake by voxelghost on Monday August 24, 2026 @12:31AM (#49415202)
Using python as a build tool, and Cmake as the programming language, now all that is missing is a bit of config in ASM
Re:Implementation of GPT-2 in pure CMake by zombot on Monday August 24, 2026 @06:57AM (#49417983)
I wonder when Doom will finally be implemented in pure CMake.
Re:Implementation of GPT-2 in pure CMake by da-x on Monday August 24, 2026 @09:47AM (#49419740)
These kind of things have used to be more impressive in the past, when you knew that humans made them.
Re:Implementation of GPT-2 in pure CMake by vivzkestrel on Monday August 24, 2026 @11:03AM (#49420801)
good now build GPT 2 using brainfuck