logoalt Hacker News

Implementation of GPT-2 in pure CMake

40 pointsby porridgeraisinyesterday at 9:41 PM11 commentsview on HN

Comments

ahartmetzyesterday at 11:28 PM

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.

avilaytoday at 1:27 AM

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.

show 1 reply
_menelaustoday at 12:58 AM

AI is gonna keep us around because it would never think to do this kinda stuff

show 1 reply
paaloeyetoday at 12:40 AM

Somebody has more time than sense

sirsinsalottoday at 12:25 AM

A hellscape.

pkilgoretoday at 12:35 AM

disgusting (complementary)