Better HN
topnewbestaskshowjobs
Log inSign up

bytepoet

23 karma · joined Jul 18, 2024 (2y ago) · 10 submissions

I teach systems undergraduate courses at Plaksha University, India. My research is on benchmarking reasoning abilities of LLMs and speeding up their inference and training using hardware/software optimizations.

https://pankajpansari.github.io/

Submissions

comment 3mo ago · link · parent

Thanks for tiny-vllm! The documentation is amazing. I'm using it as a resource for a university course I'm teaching.

comment 1y ago · link · parent

Wonderful! Great, detailed explanation. I look forward to reading the vLLM post as well.

comment 1y ago · link · parent

Thanks for the inputs. It's very helpful to know.

I look forward to following mirage development.

comment 1y ago · link · parent

This is very cool. I enjoyed going through the writeup and GitHub README.

I was wondering if these same optimizations can be brought to bear on training as well, rather than only inference. I guess the challenge here is fusing backward computations with gradient communication.

I also saw that this currently does not handle dynamic workloads such as MoE. I recently came across this paper that does exactly this:

FlashDMoE: Fast Distributed MoE in a Single Kernel - https://arxiv.org/pdf/2506.04667

comment 1y ago · link · parent

I really enjoyed reading this, particularly the first part where the author was specific about why we invariably (and often vaguely) find LLM generated text slightly off.

I cherish writing and find it a wonderful tool for thinking. So far, I've tried to do technical writing without much LLM help. I do run the final writing through a good model to point out factual inaccuracies.

comment 1y ago · link · parent

I enjoyed reading this paper. The experiments are well-designed and it's well-written.

Much work on generalization of ML models deals with asymptotic bounds. Here, there's a precise way of measuring these, even for relatively large models with millions of parameters.

comment 1y ago · link · parent

Such a well-written and thoughtful blog post. Loved it!

comment 1y ago · link · parent

The inability of LLMs of ask for clarification was exactly the flaw we encountered when testing them on open-ended problems, stated somewhat ambiguously. This was in the context of paradoxical situations, tested on DeepSeek-R1 and Claude-3.7-Sonnet. Blog post about our experiments: https://pankajpansari.github.io/posts/paradoxes/

comment 1y ago · link · parent

The blog post is really good. I see that there's a follow-up piece 'The Fifth Kind of Optimisation' about parallelism.

Something that I'd like to add is that it's helpful to understand the optimization capabilities of our compiler. Ideally, we would like to write program that doesn't have what are called 'optimization-blockers' - these make it hard for the compiler to generate optimized executables.

I like the pointer to the blog on accidentally quadratic implementations. I find that the following pattern is often a landmine:

for (int i = 0; i < strlen(s); i++) // code in loop

strlen(s) gets computed every iteration, incurring O(n) time.

Finally, being aware that I/O latencies are major source of bottlenecks leads to nice optimizations. One advantage of multiple threads is that they can sometimes hide the I/O latency. In general, writing programs with good memory locality is one of the better levers for optimization.

comment 2y ago · link · parent

Thanks a lot, Sasha, for creating these. I found your LLM training puzzles to be excellent as well.