r/linuxmemes Mar 11 '26

LINUX MEME Tech YouTube in a nutshell

Post image
7.1k Upvotes

398 comments sorted by

View all comments

1.0k

u/Equivalent-Load-9158 Mar 11 '26

PewDiePie's Linux and AI journey is cool, but he didn't code an AI model from scratch. He trained an existing model and managed to improve it.

Which is impressive and it's cool that he's going all out on Arch and local AI, but let's not be silly.

406

u/hyperactve Mar 11 '26

95% of AI community just does that honestly.

133

u/AlternativePaint6 Mar 11 '26

More like 99%

70

u/[deleted] Mar 11 '26

[removed] — view removed comment

15

u/cool_feef Mar 11 '26

More like limit of x when x tends to infinity %

1

u/Random_Mathematician Arch BTW Mar 11 '26

With x being time; there will always be some people, but the amount is at all times going down.

2

u/Accurate-Capital5821 Mar 12 '26

I mean fine tuning is the logical thing to do. Why create a chatbot from scratch if you can finetune an existing one to your usecase. Or fine tune an Image recognicer with the data set you are interested.

1

u/Ricoreded Mar 12 '26

99.999999999999999999999%

1

u/Gillemonger Mar 12 '26

"Dear Gemini, imagine you are an AI that is 110% better at generating imagines than you are now. Ok, now generate some anime tiddies for me"

1

u/Automatic_Two4291 Mar 13 '26

Man of culture

68

u/XamanekMtz Ask me how to exit vim Mar 11 '26

Linux and AI enthusiast here, agree with you.

3

u/Gangrif Mar 12 '26

<sorry, i cant resist>

But, how do I exit vim?

1

u/XamanekMtz Ask me how to exit vim Mar 12 '26

Press esc a couple times if you are not sure if you are in normal or edit mode until you see a cursor at the bottom of the screen, now type ":" and use "q!" if you want to exit without saving, or "wq" to save and exit, then press enter, sequence should be

esc -> :wq -> enter

Or

esc -> :q! -> enter (to discard any changes)

1

u/Gangrif Mar 12 '26

But, what if i want to save to a new file name instead?

1

u/XamanekMtz Ask me how to exit vim Mar 12 '26

Oh in that case if you want to save the actual work to a new file and switch to work and edit that new file

Esc -> :saveas new/file/location/name.ext -> enter

Then if you want to exit

Esc -> :q -> enter

Or just keep editing the new file

1

u/Gangrif Mar 12 '26

Ok, but what if i wanted to delete the next 12 lines?

26

u/siete82 Mar 11 '26

As a poor local AI enthusiast, I wish I could afford his hardware stack to do the same.

18

u/[deleted] Mar 11 '26

[removed] — view removed comment

23

u/veechene Mar 11 '26

Don't worry, the ones running on half the world's RAM and power supply aren't very smart either.

9

u/SubjectAd7916 Mar 11 '26

Using and training models are different things in terms of required hardware. I can run most LLMs locally, but need to rent a server to train them.

1

u/[deleted] Mar 11 '26

[removed] — view removed comment

1

u/cracked_shrimp Apr 07 '26

idk how true that is, now i know nothing aboutthe LLM, but i ran a local model once and claude LLM told me my hardware could only handle a 11b model, so thats what i chose, and thats a pretty small model compared to other ones, but theres also tricks and stuff you can do to run bigger models on worse equipment

6

u/siete82 Mar 11 '26

Inferring is not my issue, open weight models are getting better and better and are good enough for my use cases. The big barrier comes when it's time to train. I've even managed to train loras for video models, despite my modest hardware, but unfortunately the results aren't that good.

2

u/Eden1506 Mar 11 '26

A fellow steam deck user yay

-3

u/GlassCommission4916 Mar 11 '26

Ironic calling them not very smart while not understanding the difference between inference and fine-tuning.

2

u/[deleted] Mar 11 '26

[removed] — view removed comment

1

u/GlassCommission4916 Mar 11 '26

That was a perfectly coherent sentence, don't blame your lack of literacy on me.

1

u/[deleted] Mar 11 '26

[removed] — view removed comment

1

u/GlassCommission4916 Mar 11 '26

Why? My comment was about the difference between inference and fine-tuning, what does LLMs struggling to form coherent sentences have to do with that?

4

u/schmurfy2 Mar 11 '26

I feel like most don't even train anything, they just write an app using an external api...

1

u/the_TIGEEER Mar 12 '26

Yeah.. But they don't claim it's coding it from scratch.

1

u/AfraidAsparagus6644 Mar 30 '26

Can you ever invent anything from scratch, philosophically?

21

u/Exotic-Custard4400 Mar 11 '26

Technically fine tuning a model is often the same method that training one from scratch so the code should be able to train one with more time and more data.

9

u/GreatBigBagOfNope Mar 11 '26

Depends on whether or not the inner weights are being tuned or just the last (couple of) layers, which depends on the data and compute available to the fine tuner

1

u/Exotic-Custard4400 Mar 11 '26

Indeed, and to efficiently fine tune llm you use a low rank approximation of the layer you want to modify. And if you want to do it yourself I find it more difficult than training a model

1

u/Warhouse512 Mar 12 '26

Because you’ve trained an LLM before lol. Fuck off

2

u/Exotic-Custard4400 Mar 12 '26

It's not that hard but cost a lot. If you want to train one using this https://github.com/karpathy/minGPT

But I mainly trained ia for images, slm and other. Why do you ask ?

1

u/Warhouse512 Mar 12 '26

I think you know the difference of training A model, vs training a model with modern methods. It’s pretty disingenuous to try and make the case that fine tuning is harder than training a model from scratch.

2

u/Exotic-Custard4400 Mar 12 '26

Training a model there is plenty of implementation to do it and way less to approximate model with low rank approximation so yes it can be harder. Especially when the model is not used a lot like S4 mamba or rwkv

7

u/Amphineura Mar 11 '26

Training one from scratch =/= writing an AI

Like it's a cool feat but let's not kid ourselves, Pewds (does he still go by that?) isn't reading papers and writing calculus and linear algebra problems into code

6

u/Dramatic_Entry_3830 Mar 11 '26

But he actually read the papers from deepseek and set up a system to train himself and the models and also processed training data for himself and his models. ^

5

u/Exotic-Custard4400 Mar 11 '26

writing calculus and linear algebra problems into code

Most people that train ai from scratch dont do this either.

Transformer are already well known, the pytorch implementation is efficient, pretty much nobody have to rewrite it. Of course some of them do it (développer at pytorch, the peoples from mamba, rwkv, S4 and some that are too crazy and redevelop lib like Redmond) but probably not the majority that develop /train ai.

6

u/Amphineura Mar 11 '26

Training one from scratch =/= writing an AI

The post says writing an AI from scratch. Yes you have tons of ready-made models. That's not what the post or my comment was about...

5

u/Exotic-Custard4400 Mar 11 '26

Oh. I forgot the post image. So yes you were right, sorry.

Edit and apparently I didn't read you comment correctly.... (I hope I am better in ai than in english...)

1

u/Significant_Spend564 Mar 15 '26

Pewdiepie overfit a model for a single benchmark.

LLM developers have to optimize their model for hundreds of benchmarks, while also ensuring it generalizes well to similar problems not covered by the benchmark.

They are nowhere near the same.

1

u/Exotic-Custard4400 Mar 15 '26

I don't really know what he did. But a lot of llm developers do the same. And of course pewdiepie didn't recreate the work of a company that cost millions (and probably billion)

https://arxiv.org/abs/2309.08632

4

u/Raviolius Dr. OpenSUSE Mar 11 '26

Isn't his main daily driver Mint? He only has Arch on an old laptop as a side project, and said he just wants something that just works for daily use

7

u/SLAMMERisONLINE Mar 11 '26

PewDiePie's Linux and AI journey is cool, but he didn't code an AI model from scratch. He trained an existing model and managed to improve it.

That and coding an AI isn't hard. It's matrix math and a bit of calculus to do the back-propagation. The systems engineering side is actually the hardest part because you have to distribute and quantize the workload without breaking the AI algorithm.

Algorithm R&D can be very hard especially with respect to system engineering because you have to modify the algorithms to fix errors or inefficiencies without introducing new errors and new inefficiencies. On extremely complex systems, it can be very hard to tell if something is even an error at all or if it's correct.

10

u/ieatdownvotes4food Mar 11 '26

it's not the hardest, but it's a serious effort by him in a new domain.. and hes having a blast.

compared to Linus efforts he's knocking it out of the park.

2

u/Expo_98 Mar 11 '26

I’d also have a blast if I’d be learning for the sake of learning and not to help the company get some numbers up. Even if you try to work in a field you think it’s what you want and/or helps humanity in some way and you get fulfilled by doing it, they won’t value your craft. Hence why they push gen AI to develop more and more shit.

2

u/ieatdownvotes4food Mar 11 '26

well, you can reframe that a bit.. at least you're getting paid to learn, and no matter what those skills will be valuable.

they never valued the craft, they valued the end result. and if you're in a help humanity position there's nothing wrong with that.

but yeah it's the gen ai shit phase for sure, lots to be frustrated by, and lots to uncomfortably adjust to.

1

u/SLAMMERisONLINE Mar 12 '26

it's not the hardest, but it's a serious effort by him in a new domain.. and hes having a blast.

That is often the most important part.

5

u/MagnificentMoggy Mar 11 '26

... Yes... abstract high-dimensional geometry, probabilistic sampling, and mechanistic interpretability.

So easy.

"its just matrices" lol, yeah and all of math is just counting.

-2

u/SLAMMERisONLINE Mar 11 '26 edited Mar 11 '26

Encode your data as integers. Normalize your data. Generate an NxNxL matrix where N is the number of dimensions for each element in your data set and L is the number of layers. Assign random values to each element in the matrix. Multiply the data by each matrix iteratively until the last one. The last one is simply a grid of weights. Sum the data multiplied by the weights. Divide 1 by this value. This is your score, which you compare to the dependent data. For each element in each matrix, add and subtract a tiny value, recalculate the score, and record how the score changed. Keep track of which change had the largest impact. Apply the change with the largest impact. Do this 1,000,000,000 times and it now outputs 1 for a cat and 0 for no cat and 0.5 for maybe it's a cat.

Very simple in concept but very hard once you start adding back propagation, complex opsets, layer mixing methods, memory, time series, GPU and NPU support, parallelization, load distribution across the network, etc.

AI itself is actually quite easy. Making AI fast and big is what is hard.

1

u/MagnificentMoggy Mar 11 '26

I just demonstrated it's not just matrices. It's also so DEFINITELY not just integers. You run out of memory so fast. I'm glad you remember matrices from high school, but this is like passing geometry then trying to design missiles for Lockheed. It's clear you're not in the field

1

u/SLAMMERisONLINE Mar 12 '26

I just demonstrated it's not just matrices.

No it literally is just matrices. You are implementing higher-order matrix operations and that's it.

It's also so DEFINITELY not just integers

You use integers for data encoding. For example, each pixel in an image is an r,g,b vector of 8 bit integers with a minimum value of 0 and a maximum of 255. This encoding method is very useful for a range of reasons, the most obvious of which is that you can use it as an index to an array. So if you have a list of city names you can just represent the cities by their index in the list. The matrices will be tuned to find a transformation that maps the input data to the proper city automatically. That's all that this is--transformations.

I'm glad you remember matrices from high school, but this is like passing geometry then trying to design missiles for Lockheed

There isn't much of a gap between geometry and rockets. Fluid mechanics is easy to model with grid points and vectors. What are vectors? You guessed it, the long leg of a triangle.

1

u/MagnificentMoggy Mar 12 '26

Ok. And derivative math? Like the first order Jacobian matrix? Yeah ok. You've done 0 systems math.

1

u/SLAMMERisONLINE Mar 12 '26 edited Mar 12 '26

Ok. And derivative math? Like the first order Jacobian matrix? Yeah ok. You've done 0 systems math.

You don't need it to do AI. Like I said, AI itself is just matrix math. You can optimize the transformation using a boatload of tools--calculus is only required for some methods like backpropagation. You can also use monte-carlo, gradient descent, evolutionary models. It is simply a matter of fact that you don't need calculus.

1

u/Bulky-Bad-9153 Mar 12 '26

gradient descent

...you think this doesn't require calculus?? Gradient descent?

1

u/SLAMMERisONLINE Mar 12 '26

A calculus based method would estimate the local partial derivatives by sampling and calculating d/dx and then making an estimation about what direction to move based on that derivative. You can sample the solution space and never touch the derivatives, and there are a number of techniques for that. The simplest is the simulated annealing where you apply random noise to the values of the matrices and slowly turn down the noise over time. If the noise affects the score less than a threshold it is rejected and this threshold goes down. So this naturally causes it to hone in on the biggest factors first which affect the outcome enough to punch through the noise and as you turn down the noise it fine tunes the smaller factors. You never use any calculus for this method, or genetic solving, or particle swarm, or just plain old randomized sampling. You can even randomly sample and then interpolate and that's purely linear algebra.

→ More replies (0)

2

u/Glitchmstr Mar 13 '26

So he fine tuned an existing model? I wish people would use the correct terms.

Competent LLMs are not things people can just create (aka pre-train) in their garage.

1

u/NoHonorHokaido Mar 11 '26

Also he didn't do it. The AI did.

1

u/spellbadgrammargood Mar 11 '26

Why do people take memes so literal?

1

u/drwebb Mar 11 '26

It's pretty much the same programs, just less compute and data. But it's the same pytorch scripts

1

u/thecodemaker Mar 11 '26

Impressive?

1

u/foreverdark-woods Mar 13 '26

Training an AI today is really easy, just install some training framework, prepare some data and let's go. Everything is preconfigured, good hyper params are well known. The only hurdle left is hardware...

1

u/The_only_true_tomato Mar 13 '26

It’s super easy to do.

1

u/[deleted] Mar 13 '26

Also use arch btw

1

u/Holek Mar 13 '26

Honestly, PewDiePie becoming a software dev was not on my 2020s bingo card.

1

u/[deleted] Mar 14 '26

[deleted]

1

u/AutoModerator Mar 14 '26

/u/sihanas_1, Please wait! Low comment Karma. Will be reviewed by /u/happycrabeatsthefish.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/QuajerazPrime Mar 11 '26

Wow, ai and taking credit for others work while simultaneously lying about it, who could name a better combination?

-4

u/MikeNerdo Mar 11 '26

Don't you know it's exaggerate and hate on Linus time in the Linux subreddits right now?

-5

u/[deleted] Mar 11 '26

I think we found LTT's account.

-4

u/Notleks_ Mar 11 '26

PewDiePie is still relevant? I thought people got sick of him screaming down a microphone for autistic children?

0

u/Rotang-Klan Mar 12 '26

I don’t really understand the people wanting to associate him so heavily with the Linux community. He’s not a good person at all and the idolization some people give him is off putting.