Junu Park (@junupark_) profile picture

LOCKED IN.

Joined September 2023
Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)Photo by Junu Park (@junupark_)
i was/am very busy but couldn't miss @vllm_project meetup! it was really inspiring and encouraging to meet developers, researchers, and students(!) all together who share the same enthusiasm for vllm. (in fact, there were so many applicants that only 1/3 of the people could be accepted, and thankfully i was one of them 😀) also enjoyed the talks on: - speculative decoding in production, which talked about how they built a pipeline for training a speculative decoding model using a korean dataset and quantizing hidden states so they don't take too much memory during offline training. - i wasn't aware of vllm's semantic router (github.com/vllm-project/sema…) but got a chance to learn about it today. sounded very interesting. in fact i was building a similar prototype last year 😅 (to route hard math problems to a bigger model and easier ones to a smaller model): github.com/junuxyz/router
for anyone who are in korea 🇰🇷 on 26 Nov, you might consider joining the @vllm_project korea meetup! link in the comment. last time i missed it because it was only posted on linkedin (why are they still not posting this on x!) glad i randomly opened linkedin today teapaw.org/junupark_/status/20422…
1
5
61
2,527
thanks to @RedHat_AI, @Rebellions_inc, and Squeezebits for preparing and moderating the meetup!! (especially for this kimbap + fried chicken)
1
59
i was sleeping on @SemiAnalysis_ inference x benchmark/blogs.. they are very informative and highly recommend reading them if you want to understand how production workloads (agents) are optimized.
1
1
187
why do models like to use "·" so much
2
3
168
also all my previous notes can be found here: junupark.xyz/mlsys-notes/ind…
inside dflash in this note, we walk through the code (from teapaw.org/zhijianliu z-lab) to see how a dflash decode step works end-to-end. this was supposed to be part of a bigger article i was planning to publish, but my thoughts on speculative decoding have changed after reading eagle-4, so i'm releasing this as a standalone note instead. hope this helps anyone looking to understand how dflash / dflash-based speculators work under the hood.
1
22
620
inside dflash in this note, we walk through the code (from teapaw.org/zhijianliu z-lab) to see how a dflash decode step works end-to-end. this was supposed to be part of a bigger article i was planning to publish, but my thoughts on speculative decoding have changed after reading eagle-4, so i'm releasing this as a standalone note instead. hope this helps anyone looking to understand how dflash / dflash-based speculators work under the hood.
2
1
1
15
1,078
for anyone who are in korea 🇰🇷 on 26 Nov, you might consider joining the @vllm_project korea meetup! link in the comment. last time i missed it because it was only posted on linkedin (why are they still not posting this on x!) glad i randomly opened linkedin today teapaw.org/junupark_/status/20422…
can't believe i missed a @vllm_project meetup in korea last week... why didn't they post it on X. 😭 kr.linkedin.com/posts/squeez…
1
1
14
2,941
ok, let me go monk mode rn
fun fact: last year when i published my matmul blog, i spent 25 consecutive days in "monk mode" (~9 hours/day of deep work, zero social media) researching and writing it (~6 days, stats attached) i've been logging every day of my life for the past ~5 years, so now with AIs it's kind of fun to do some analysis it was a side quest after leaving my prev startup - i've never even been a dedicated performance engineer in my life! :) after I published it, the Anthropic team reached out, excited to interview me for a performance engineering role i didn't really prepare since i wasn't planning on doing this, but it was fun to see my work recognized at that level after just a few weeks of deep work you can just do things ? :) i love deep work streaks! actually, day 1 of writing my matmul blog came right after the last day of working on my vLLM blog, so i went quite some time without taking a single day off aleksagordic.com/blog/matmul
1
15
612
weekly scaling book session. today was part 4: transformers jax-ml.github.io/scaling-boo… drawing things out and explaining them step by step is indeed a great way to revisit concepts and catch details you might have overlooked.
3
12
201
6,989
not sure if i have any korean mutuals here on x, but here are my notes on the scaling book (parts 1–4 so far), written in korean: junuxyz.notion.site/scaling-… for english ver, i'm planning to write the gist what i've learned in a single note (especially from this book) once i finish the entire chapter.
1
7
611
sharing some clearer insights on weight absorption in MLA that isn't explicitly documented anywhere (i needed to dig through old github discussions and do some experiments to find things) tldr is: 1. weight absorption is fundamentally a linear algebra trick where you can reorder 2 or more matmuls. e.g. (AB)C = A(BC). 2. weight absorption is not always a winner. it is not used during prefill and only used during decode. we'll see why below. 3. we call this method weight absorption, but actually this is an ambiguous term (where are we absorbing it to?). in fact, there are two ways to do this -- projecting Q first vs. merging weights. we'll compare both methods and see why projecting Q first wins in decode. more on 🧵 including experiments & results.
1
7
306
1/ what is weight absorption? if we only think about attention score calculation (leaving out the separate RoPE contribution), it is: S = QK^T = C_q W_uq (C_kv W_uk)^T the most straightforward way is to reconstruct Q and K then do QK^T. we'll call this the standard method. the problem with standard method is you have to load the projected K from memory every forward pass. this isn't a big deal during prefill (mostly compute-bound) but during decode which is usually memory-bound, reconstructing KV and loading them increases the amount of KV data to read and write.
1
2
126
been a big fan of lilian and lil’log since i started learning ai. really looking forward to the talk! 👀
We’re excited to welcome @lilianweng to SGLang Summit for a fireside chat on Recursive Self-Improvement! She’ll explore how AI can help build its own successors, what it takes to make that work, and where the process runs into limits. If you’ve followed her writing on Lil’Log, come hear her live on Nov 12. We can’t wait to see you there! 🗓️ Nov 12-13 📍 Fort Mason, SF 🎟️ Get your pass: sglang.io/summit
1
5
258
i was not expecting eagle to come back stronger .. 🤯 mad week for inference
EAGLE-4 is here. From EAGLE-1 to EAGLE-3, we’ve kept making inference faster. EAGLE-4 is our fastest yet. 961.6 tokens/s on @Alibaba_Qwen’s Qwen3.8-27B with TokenSpeed (BF16, 4× @NVIDIA B300, TP4, one request, T=0). Github: github.com/eagle-hq/EAGLE-4
4
1
70
6,995
additional reference: the plot is used for batch size = 1 throughput which may differ from production serving teapaw.org/ssahoo_/status/2112792… thanks @ssahoo_ for clarifying!
⚠️The advertised speedup of 3.6x is with Temp=0 sampling (BS=1), where there is a severe degradation in downstream performance. At the largest batch size and Temp=1 sampling, the method is only 1.3x faster than the base AR model ‼️ For agentic workloads, system throughput is a better indicator of speed than BS=1 throughput
1
4
462
learning things visually with @claudeai is such a satisfying experience.
1
6
481
i've recently built an @obsdmd plugin called "Annotate", where you can highlight, comment, and ask to your agents giving all the context of that note (link in thread!) you don't have to talk in one giant chat ui but create a thread, ask questions there, close and move on if you're done!
2
8
355
my recommended workflow is: 1. use obsidian web clipper (obsidian.md/clipper) to fetch any content ranging from random blogs to youtube transcripts (yes, it works on youtube, too) 2. highlight, comment, and ask questions to your favorite agent with all the context of that file + the question you want to ask.
1
1
80
as a complementary resource, i've been using @pradheepraop's transformer-lab (github.com/Mantissagithub/tr…). the design is minimal and modular which is really nice for exploring different modules in transformers. highly recommend if you want to catch up on recent transformer methods hands-on!
late to the party but finally diving into recent hybrid attention methods, starting from mla. here are my notes: github.com/junuxyz/mlsys-not… more to come!
1
1
24
847
late to the party but finally diving into recent hybrid attention methods, starting from mla. here are my notes: github.com/junuxyz/mlsys-not… more to come!
1
1
14
1,247
ngl gcp is such a pain to use as an individual dev
8
261
While I know most people know and understand what the roofline model means, wanted to share some clearer insights and thoughts on the roofline model that I’ve gained while reading and solving problems from the Scaling book:
2
11
735
1/ Performance-wise, any computer program is either compute-bound or memory-bound, because every program is ultimately about moving bytes from one place to another and performing operations on them. (to be more concrete: load data from memory -- HBM, DRAM, etc-- to the compute unit, perform the operation, then write it back to memory.) The roofline model is a simple and efficient way to describe which regime an algorithm sits in.
1
3
213
asked chatgpt for the best matcha place in sapporo and went to the shop it recommended. while i was there, the owner told me that @JensenHuang visited a few months ago and showed me this pic lol.
2
12
522
favourite time of the week: 2 hours of whiteboarding on jax-ml.github.io/scaling-boo…. i should write more neatly next time ..😅
1
2
20
537
i find so much alpha and enjoyment in reading @datavorous_’s blogs datavorous.github.io/blog/un…
1
6
91
6,832