Prakhar Upadhyay (@404notacoder) header
Prakhar Upadhyay (@404notacoder) profile picture

Senior AI/ML Engineer Β· GenAI builder | Learning inference engineering (vLLM, PagedAttention, speculative decoding) | Open to roles in inference engineering πŸš€

Gurgaon
Joined October 2022
Replying to @nabendu82
Sure thanks will do πŸ™
1
5
Do you remember when you joined X? I do! #MyXAnniversary
1
29
Millions of senior citizens in India can’t use quick-commerce apps on their own. Too many buttons, too much typing, too much confusion. I know this because it’s my own problem. My parents live in another city, and every time they need groceries, they call me to place the order. When I’m busy, I miss the call. So I built Bolkelo, a WhatsApp agent. πŸŽ™οΈ Send a voice note, like β€œhalf kg besan and one kg rice” πŸ›’ It builds the cart and reads back the items and total βœ… You confirm, and the order is delivered to your door πŸ’΅ Cash on delivery now, more payment options soon No app to install. No typing. Just WhatsApp. We’re launching soon. If you have parents who struggle with these apps, join the waitlist πŸ‘‡ bolkelo.com #BuildInPublic #IndieHackers #StartupIndia #AI #WhatsApp #SeniorCare
3
2
2
168
πŸš€ Shipped my first marketing sprint for proheadshotphotos.com today Built in public update 🧡 What I did in one session: βœ… Verified Google Search Console βœ… Built + deployed sitemap.xml (6 pages indexed) βœ… Fixed canonical tags across 12 pages (www vs apex β€” this matters for SEO) βœ… Added robots.txt with proper crawl rules βœ… noindex on auth pages (login/signup shouldn't waste crawl budget) βœ… Launched first SEO landing page: /professional-headshots βœ… Requested indexing for all core pages The target keyword: "professional headshots" β€” 49,500 monthly searches in the US We're going after the $420M AI headshot market Day 1 of aggressive SEO. Let's see where we are in 90 days πŸ“ˆ proheadshotphotos.com β€” AI professional headshots from $19, no photographer needed #buildinpublic #indiehacker #SEO #SaaS #AIheadshots
10
4
270
Replying to @Aradhyaisded @X
Just done with this ...cheat meal after 3 months πŸ˜¬πŸ™Œ
1
47
Update from the engine room: Replicate support officially confirmed the platform issue causing predictions to hang indefinitely in the "Starting" state is resolved. Our inference pipeline for proheadshotphotos.com is unblocked and back online. Wrestling with upstream GPU hiccups taught us a crucial lesson: you can't control third-party infrastructure, but you can build a resilient system and an effortless user experience. Here is what we’re shipping next before our public launch: 1-Click Inference Re-render: If an upstream GPU worker stalls after LoRA training finishes, the customer never has to re-upload photos or wait 20 minutes to retrain. Their AI model weights are preserved, allowing a 1-click instant re-dispatch of all 50 portraits. Calm, Async-First UX: No raw technical errors, confusing logs, or anxiety-inducing progress bars. Once photos are uploaded, the UI gives one clear message: "Your headshots are being generated. We’ll notify you by email as soon as they're ready to download." Visual Upload Guidelines: Adding side-by-side visual examples (lighting, angles, expressions) directly into the upload flow to help users submit the best possible training set. Pre-Flight Face & Blur Detection: Implementing automated pre-screening (face detection, blur analysis, and landmark verification) before images ever hit a GPU. If a photo is blurry, filtered, or has multiple faces, it gets flagged in the browser before compute spend begins. The core pipeline works, the resilience layer is locked in, and we are dialing in the final UX polish. We are launching very soon. Let’s fucking go! πŸš€βš‘ #BuildInPublic #IndieHacker #AI #MachineLearning #GenerativeAI #ReplicateIssueFixed
2
3
167
Replying to @kasikcipsi
Ok let's get married then πŸ˜›πŸ˜…
28
Replying to @replicate
@replicate I am facing some issues with respect to my prediction pipeline since yesterday, could you plz help ?
1
33
Grouped Query Attention β€” the one architectural choice that quietly cuts your KV cache memory in half. Compared the original 2017 Transformer's attention design against Qwen2.5's, side by side (diagram attached): ORIGINAL TRANSFORMER: every attention head is fully independent. 8 heads = 8 separate Query/Key/Value triplets. Nobody shares anything. QWEN'S GQA: 12 Query heads (more, not fewer!) β€” but only 2 shared Key/Value heads. Groups of 6 queries take turns reading from the same K/V pair. Why split it this way instead of just using fewer heads everywhere? πŸ”Ή Query = "what am I looking for" β€” benefits from diversity, different heads specialize in different patterns πŸ”Ή Key/Value = "here's my actual content" β€” turns out you can get away with way fewer distinct versions of this, as long as plenty of diverse queries are still searching against it The part that actually matters for serving these models: the KV CACHE only ever stores Keys and Values β€” never Queries (queries get used once per token, then discarded). So the per-token memory cost is directly proportional to K/V head count: Original-style (8 heads, no sharing): 8 Γ— 64 dims Γ— 2 (K+V) = 1024 values/token Qwen's GQA (2 shared heads): 2 Γ— 128 dims Γ— 2 (K+V) = 512 values/token HALF the memory-bandwidth cost, per token, from one design choice β€” directly attacking the exact bottleneck I measured with real numbers earlier this week (decode is memory-bandwidth-bound, remember the 10.3ms floor?). This is a deliberate compromise, not a blunt cut: keep the model's actual reasoning diversity (Queries) fully intact, shrink only the part that has to be read/stored every single token (Keys/Values). #InferenceEngineering #LLMs #BuildInPublic
1
72
12/Flash Attention in three ideas ("the trifecta"): Tiling β€” process the matrices in small blocks that fit in fast on-chip memory Online softmax β€” running max/sum with a correction factor, so softmax can be computed safely one block at a time Recomputation β€” during backprop, recompute the small blocks on the fly instead of storing them, trading a little extra compute for a lot less memory traffic
1
10
11/That was the proof I actually needed to see with my own numbers to believe it: tiling + a running softmax gives you the exact same answer as the naive version, just without ever materializing the big matrix in slow memory. That's the entire trick. #LLMs #LLMinference #Inferenceengineering #LLMOps #MLOPs #Buildinpublic
1
8