Sabitlenmiş Tweet
Junu Park
275 posts

Junu Park retweetledi

been on x for a while, but never properly introduced myself, so here goes :)
i'm pradheep. mostly just a curious person who loves math, c++ and reinforcement learning. alphago is what pulled me into rl in the first place, mainly because of how learning, search and mathematical ideas all came together so beautifully.
i usually understand things properly only after trying to build them myself, so most of what i share here ends up being projects, experiments, paper notes, and whatever i'm currently trying to figure out.
this is where i log most of what i build and write: pradheep.dev
i've posted enough stuff now that most of it gets buried after a while, so i'm keeping this thread for the things i've built and written. i'll keep adding more whenever something feels worth keeping here 🧵
English

[update]
- Currently reading about curriculum learning in RL. Basically the main idea is that in case of humans, you don't expect a child to directly be able to understand something complex like integrals. There is a proper education system which has been designed where they are taught things of increasing order of complexity instead of directly giving them difficult problems to solve. Similarly curriculum learning explores this idea but for teaching something to a model(Atleast this is what I've understood after reading the intro,I'm yet to actually read the rest of the stuff).
- Also I've been doing the cs336 lectures in my free time and after completing the first few lectures I'll do the assignment. Currently after each lecture I'm trying to internalize each idea properly instead of just speedrunning it coz imo the main reason for me to actually do this course is to be able to properly internalize a lot of ideas which I've seen before but haven't properly tried to understand them.

English

[update]
- So, I had generated some synthetic data using deepseek where I first pregenerated optimal solutions for some puzzles and then for each puzzle I kept on sending it moves one by one and also the state of the board and asked it to create a rationale behind the move. But then I noticed that because of the way that the prompt was structured it sometimes strting arguing about the solution even tho it was correct. So I've updated the prompt, now synthetic data is generating again and then we do SFT before moving to RL.
- Will be doing the CS336 course also in the side. Will also read additional stuff along with the lectures if I feel like going more in depth


English

@jino_rohit doing all this with full time job is crazy. really inspiring bro
English

over the last 6-8 months, ive been trying to move towards the ml systems and ai infra space. these are some of my favorite work ive done -
1. a small python inference engine which is mainly a testbed for me to implement the major inference techniques, its about 600 toks/s on an rtx 4060 ti with prefix caching - github.com/JINO-ROHIT/tac…
2. wrote a blog post that outperforms cublas on ada using cute dsl - jino-rohit.github.io/blogs/08_cute_…
3. a detailed post on ncccl collective communication - jino-rohit.github.io/blogs/11_colle…
4. a blog series on how torch compile works and internal mechanics - jino-rohit.github.io/blogs/
5. i maintain my notes and experiments of most of the work around ml systems here - github.com/JINO-ROHIT/ml-…
5. open source work in sglang and llm-compressor(vllm).
im trying to become a stronger ml systems and inference engineer. what should i spend my next months getting better on?
English

I think it might be a fit unfeasible for me to actually like go through all the lectures from CS336 but what I am planning on doing instead is use the curriculum from CS336 as reference and then go through relevant blogs/papers to fill in the gaps in my current knowledge/understanding.
Let's see how this goes.

English
Junu Park retweetledi

whatever happens with technology, and no matter how far ai goes, your ability to learn and think from first principles will always be your biggest asset.
tools will change.
frameworks will change.
models will change.
but the ability to understand, adapt, and learn from the ground up is something that never ever goes out of style.
English

will keep posting 1 or 2 videos per week consistently and also please give your genuine feedback too, it would be world to me.
-also I would make videos, because I genuinely want to learn more deeply, not for presence, it would be great way to revise my concepts more deeply and learning from feedbacks
English

if you are into ml inference,
please learn:
-gpu architecture, cuda, memory hierarchy & tensor cores
-high-performance cuda kernels, kernel fusion & profiling
-kv cache, flashattention, pagedattention & speculative decoding
-quantization (fp8, int8, int4), batching & continuous batching
-inference engines (vllm, sglang & llama.cpp)
-distributed inference (tensor parallelism, pipeline parallelism, expert parallelism & data parallelism)
-nccl, nvlink, nvswitch, infiniband & high-speed communication
-latency, throughput, memory optimization & performance benchmarking
I would teach all these thing in my videos (even it's more deeper than the above loll)
Here's the my youtube video link intro : youtube.com/watch?v=cuRpOF…

YouTube
English

Day 2/90 of Inference Engineering
I built a PyTorch roofline profiler because I want to prove and understand intuitively why decode is memory bound and prefill is compute bound.
Also went over GPU Lectures 1-3 as well while getting in my 10K steps in. Finished up on my notes on MHA.
I will polish up the Ridgeline over the coming weeks.
For the next 7 days, I want to:
- Finish the GPU Lectures
- Tinker with CUDA
- Read 3 papers for my next project:
- SGLang: 2309.06180
- Sarathi-Serve: 2403.02310
- PagedAttention: 2312.07104
github.com/maxxfuu/Ridgel…



English

the hardest part about inference engineering is not to go into random rabbit holes. this space is like at the intersection of a lot of things at once, that at some point you will see yourself learning things from hardware to systems to communications etc.
while exploring, the best thing would be to try and land a job in the field or at the intersection as soon as possible and from then, you could probably double down into a specific niche.
English









