Better HN
topnewbestaskshowjobs
Log inSign up

eugenhotaj

252 karma · joined Dec 29, 2017 (8y ago) · 62 submissions

Submissions

1.

Spelled out implementation of LLM parallelisms in pure C(github.com ↗)

3 points · by eugenhotaj · 2y ago · discuss

comment 2y ago · link · parent

This is because everyone is training with synchronous sgd. all gpus need to synchronize on each gradient step so tail latency will kill you.

3.

Zig GPT-2 inference engine(github.com ↗)

4 points · by eugenhotaj · 3y ago · 1 comment

comment 3y ago · link · parent

This is pretty cool. I had the same idea but in zig: https://github.com/EugenHotaj/zig_gpt2

Not fully finished yet, haven't gotten around to implementing bpe encoding/decoding and only some ops use BLAS.

comment 3y ago · link · parent

In my experience processes like these rarely work out as intended and usually add layers of bureaucracy for marginal benefit. It’s usually senior engineers or middle managers looking for “org wide impact” so they can get promoted.

comment 3y ago · link · parent

This post would sound so dumb if it didn’t come from the almighty pg.

comment 3y ago · link · parent

The issue is not that ChatGPT will kill things off, the issue is that ChatGPT 4.0 will kill things off. If you don’t think that’s a real possibility, you’re sleeping.

comment 3y ago · link · parent

Some of these are so odd. When Kylie Jenner launched her company she could have sold celery and still made $1B+. It wasn’t because of the effectiveness of her small team.

comment 3y ago · link · parent

My experience is exactly the opposite in almost all cases. Most software is much more complicated than it needs to be. Reads like the author is just butthurt at feedback they received about their work.

comment 3y ago · link · parent

I’ve likely had it all my life, but really started noticing about two years ago during the pandemic. Now I can’t unhear it. Went to a doctor a couple of times but nothing they tried really helped. Thankfully mine is not too bad and I’m mostly able to ignore it.

comment 4y ago · link · parent

The network communication overhead would be way too high to make this useful. At least for current methods of training large models.

comment 4y ago · link · parent

Source: trust me bro

comment 4y ago · link · parent

Now someone just needs to pipe the output into stable diffusion.

comment 4y ago · link · parent

Just take a look at big tech salaries on levels.fyi. Very senior engineers (L8/L9) easily make 10x the salary of entry to mid-level engineers (L3/L4/L5). For a lot of tech companies, L5 is a terminal level meaning most engineers will spend the rest of their careers there. Clearly the market thinks 10x engineers exist.

comment 4y ago · link · parent

Let me guess, someone pushed a bad config.

comment 5y ago · link · parent

This is neat for toy problems but I don't see it working well for "real" pipelines. The magical DAG creation is going to be super hard to wrap your head around and even worse to debug.

This reminds me of an internal Google tool for doing async programming in Java (ProducerGraph or something). The idea was that you'd just write annotated functions and the framework would handle all the async stuff. Wasted many thousands of engineering hours while giving an even worse experience than manipulating futures directly.

comment 5y ago · link · parent

> Since the bigger network contains the smaller network, it is perfectly capable of achieving the same performance, so the only reason why this does not happen is that SGD cannot find it.

This is maybe true in the limit of infinite data, but not true in any practical sense, and I don't think it has anything to do with SGD. E.g. polynomial basis functions also have this property, but you can't use an arbitrarily large polynomial order or you'll eventually overfit. You can get a closed-form solution for polynomial regression problems, so no SGD involved.

comment 5y ago · link · parent

If your pipeline uses only “classic” ml models, then this won’t make too much sense. It’s mostly applicable to NNs.

comment 5y ago · link · parent

I also don’t have any data, but I feel like these types of tactics don’t account for higher order effects of pushing people to more extreme platforms, and in general seem extremely short sighted.

comment 5y ago · link · parent

For kernel SVMs, one needs to keep around part of the training data (the support vectors) right? With DNNs, after training, all you need are the model parameters. For very large datasets, keeping around even a small part of your training data may not be feasible.

Furthermore, number of parameters do not (necessarily) grow with the size of the training data, can be reused if you get more data, can be quantized/pruned/etc. There's not really an easy way to do these things with SVMs as far as I understand.

comment 5y ago · link · parent

True, but it sounds like you’re just shifting computation from training to inference. And I’m not sure that’s a very good trade off to make, you’re likely to predict on much more data than you trained on (e.g. ranking models at google, fb, etc)

comment 5y ago · link · parent

Fair enough, but the number of support vectors for non trivial problems is still pretty large (as I understand but could be wrong), e.g. 20-30% of the dataset. Having to iterate over 30% of say imagenet on each batch of predictions seems unfeasible.

comment 5y ago · link · parent

Don’t kernel SVMs need a full pass through the data they were trained on to make predictions? How is that faster?

comment 5y ago · link · parent

It's also strange because what they've trained is essentially a recommender system. However, at inference time you're not trying to rank 2 different articles, but the same article with 2 different titles, which I guess you could do, but I'm not sure how well this correlates to your actual ranking on HN.

I guess something more interesting would be to take into account the current front page and see how your article would rank against those, or something along these lines.

In any case, neat idea.

25.

Understanding RL Vision(distill.pub ↗)

1 points · by eugenhotaj · 6y ago · discuss

26.

NYU DS-GA 1008 – Deep Learning(atcold.github.io ↗)

121 points · by eugenhotaj · 6y ago · 25 comments

123