Vishal (@KyrieBlunders)

@KyrieBlunders reposted
shafu @shafu0x 2026-11-26T13:01:00.000Z

interviews are completly broken. one week trial is by far the best way to hire someone now. I just need to know that you are cool to hang out with, high agency and you know what you are talking about. Like what, I'm gonna sit there for an hour and watch you prompt the machine? or god forbid make you write code? oh man, you were using the wrong prompt technique. sorry man this is not the best model for the task (we switched 2 days ago). the cost to create new software is rapidly going to zero. we solved riemann guys! but somehow the interview process stayed the same

1637 70 112875 177 36
Vishal @KyrieBlunders 2026-11-26T17:45:00.000Z

i'm building capstan to check two things in RL post-training: where rollout time goes, and whether the trainer actually agrees with the rollout on its own samples ran the stock Qwen-Image OCR LoRA recipe on 4x H100 (Modal, verl-omni): profile: 758s per step, rollout is 58% of it, and transformer forwards are 97.4% of rollout GPU time drift: failed. 7.2% of rollout vs trainer log-prob entries are already past the 1e-4 threshold (the recipe's own PPO clip, 1% allowed) before any update. it gets worse as denoising proceeds, 44% of entries over at t = 673 the stock recipe is silently off-policy

14 1 538 4 0
maharshi @maharshii 2026-11-26T09:41:40.000Z

AI agents can write code that can help us understand code: found a really good SKILL.md for that https://t.co/cnPwlSJ4jr

@maharshii

a real risk i noticed after spending time with AI agents is because 'verification' starts being the first step i.e. you specify the check, and let the agent do its thing, 'understanding' really gets deferred. it shrinks from 'enough to build' to 'enough to judge'

493 12 18838 28 1
@KyrieBlunders reposted
maharshi @maharshii 2026-11-26T09:41:40.000Z

AI agents can write code that can help us understand code: found a really good SKILL.md for that https://t.co/cnPwlSJ4jr

@maharshii

a real risk i noticed after spending time with AI agents is because 'verification' starts being the first step i.e. you specify the check, and let the agent do its thing, 'understanding' really gets deferred. it shrinks from 'enough to build' to 'enough to judge'

493 12 18838 28 1
Vishal @KyrieBlunders 2026-11-25T17:00:01.000Z

Follow-up on my fused KL kernel: the profiler showed one line eating 18% of GPU time. grad_w += (grad_s.T @ h).float() = matmul + fp32 copy + add, per chunk. Swapped it for one torch.addmm(...,out_dtype=torch.float32): 143 0 -> 128 ms, 3.2 -> 1.9 GB Now 1.5x faster than PyTorch, 36x less memory.

@KyrieBlunders

wrote a triton kernel for exact reverse KL over the full 151k vocab (fwd + bwd), for on-policy distillation. it never builds the full logits. 16k tokens, h100: pytorch: 187 ms, 66 GB fused: 143 ms, 3.2 GB 21x less memory. next: a 22 ms glue bottleneck, then tuning. https://t.co/nvHJ7VYJVc

39 4 2616 6 2
Vishal @KyrieBlunders 2026-11-26T04:59:52.000Z

after tuning the kernel, these are the final numbers we are much better than vanilla pytorch i would say https://t.co/TVJ7fC2n13

@KyrieBlunders

Follow-up on my fused KL kernel: the profiler showed one line eating 18% of GPU time. grad_w += (grad_s.T @ h).float() = matmul + fp32 copy + add, per chunk. Swapped it for one torch.addmm(...,out_dtype=torch.float32): 143 0 -> 128 ms, 3.2 -> 1.9 GB Now 1.5x faster than PyTorch, 36x less memory.

18 1 497 1 0
Vishal @KyrieBlunders 2026-11-25T07:13:25.000Z

wrote a triton kernel for exact reverse KL over the full 151k vocab (fwd + bwd), for on-policy distillation. it never builds the full logits. 16k tokens, h100: pytorch: 187 ms, 66 GB fused: 143 ms, 3.2 GB 21x less memory. next: a 22 ms glue bottleneck, then tuning. https://t.co/nvHJ7VYJVc

88 3 4711 10 2
Nabil Omi @nabil_omi2 2026-11-25T20:56:30.000Z

I wonder if it's worth looking into some ML compiler research directions to let the compiler figure this out automatically. For example, similar no-mat fused kernels exist: https://deepwiki.com/marin-community/marin/11.3-optimized-kernels-and-optimizers https://arxiv.org/abs/2411.09009?context=cs You can also recover a lot of the memory overhead with chunking which removes some complexity (e.g., jax.checkpoint, not sure what PyTorch does since I haven't been on it in ages). Intuitively, this does seem like something the compiler should do for you. Might be worth looking into if you're interested in that...

3 0 119 2 0
Vishal @KyrieBlunders 2026-11-25T18:51:00.000Z

Fused KL kernel, round 3: made the forward one pass. The online softmax rescales the KL accumulator too, so the logits are read once, not twice. Forward kernel: 9.6 -> 5.6 ms 16k tokens, H100: PyTorch: 185 ms, 66 GB Fused: 123 ms, 1.9 GB https://t.co/fSuuYc3xky

@KyrieBlunders

Follow-up on my fused KL kernel: the profiler showed one line eating 18% of GPU time. grad_w += (grad_s.T @ h).float() = matmul + fp32 copy + add, per chunk. Swapped it for one torch.addmm(...,out_dtype=torch.float32): 143 0 -> 128 ms, 3.2 -> 1.9 GB Now 1.5x faster than PyTorch, 36x less memory.

23 3 832 2 0
Vishal @KyrieBlunders 2026-11-24T18:26:00.000Z

been using agents to write all my code for a couple of months and i have reached a beautiful stage in my career where i open my editor with full confidence, write a comment like "now implement the kernel", and then genuinely wait. wait for what, exactly? divine intervention? the comment is not a prompt. the editor is not impressed. it is just me, a blank file, and the slow realisation that i have outsourced the part of my brain that knew how to finish a function. so i write half a line and hit tab, because surely something will complete it. tab, very helpfully, indents the line. thank you tab. that is exactly what i needed, more space before the code i cannot write. then the code errors, obviously, and my first instinct is not to debug it. my first instinct is to copy the error and look for a chatbox to dump it into with a "fix this pls". fix this pls to myself. i am the one who wrote it. i am also the one begging for help. we are both useless and we are the same person. today i am a project manager for multiple agents that are not even open, supervising a file that does not exist, written by nobody incredible career progression.

29 2 759 1 1