Better HN
topnewbestaskshowjobs
Log inSign up

njkumarr

5 karma · joined Aug 2, 2019 (7y ago) · 16 submissions

Submissions

comment 1y ago · link · parent

demo: https://flappybird.njkumar.com/

blogpost: https://njkumar.com/optimizing-flappy-bird-world-model-to-ru...

I finally got some time to put some development into this, but I optimized a flappy bird diffusion model to run around 30FPS on my Macbook, and around 12-15FPS on my iPhone 14 Pro. More details about the optimization experiments in the blog post above, but surprisingly trained this model on a couple hours of flappy bird data and 3-4 days of training on a rented A100.

World models are definitely going to be really popular in the future, but I think there should be more accessible ways to distribute and run these models, especially as inference becomes more expensive, which is why I went for an on-device approach.

Let me know what you guys think!

comment 2y ago · link · parent

Thank you for taking the time to read my article!

For your 2nd point, to clarify I actually generate 300 new tokens on top of that initial prompt, not just using the short prompt, so with precomputation of the prompt + token generation it should come out to about 306 tokens.

For your 1st and 3rd point you are definitely correct, looking back, I should've focused probably on using the torch profiler to track what point my CPU overhead started to decrease in order to assess compute-bound regions in my workflow better, rather than napkin math on A100 specs.

3.

Calculating GPT-2's Inference Speedups(njkumar.com ↗)

2 points · by njkumarr · 2y ago · 2 comments

4.

Literature Review on Sampling Techniques for Language Models(njkumar.com ↗)

4 points · by njkumarr · 2y ago · discuss

5.

Understanding multilingual token compression in GPT-o family models(njkumar.com ↗)

1 points · by njkumarr · 2y ago · discuss

comment 5y ago · link · parent

lol

comment 5y ago · link · parent

i agree, it seems like a pretty insecure thing to say. he is currently an undergrad so he probably doesn't really realize masters programs can actually help someone's career.

comment 5y ago · link · parent

hackernews is usually pretty negative and runs with their narrative is

comment 5y ago · link · parent

this is so dope

comment 5y ago · link · parent

agreed