Ryan Qi | ryanqi.dev (@Lushenwar) header
Ryan Qi | ryanqi.dev (@Lushenwar) profile picture

building infra in go + python. llm inference server from scratch. data sci @UWaterloo

Toronto
Joined January 2026
Photo by Ryan Qi | ryanqi.dev (@Lushenwar)Photo by Ryan Qi | ryanqi.dev (@Lushenwar)Photo by Ryan Qi | ryanqi.dev (@Lushenwar)Photo by Ryan Qi | ryanqi.dev (@Lushenwar)
i like badminton
1
116
I trained a transformer on thousands of pro badminton rallies, and now it predicts the next shot before it happens.
1
1
71
the clip is Momota vs Axelsen, a match it never saw in training results on held-out matches: - shot type: 53% vs 48% for a frequency baseline - landing zone: 29% vs 20% - remove player identity and it drops to 51%, so it's actually learning who plays how
1
7
LLM serving used to work like a restaurant that won't seat anyone new until the whole table finishes eating one long answer and every short request waits behind it continuous batching seats someone the moment a chair opens. the Orca paper measured up to 36.9x throughput
10
Ryan Qi | ryanqi.dev retweeted
Yesterday, OpenRouter users spent more on models from Google than from Anthropic for the first time in 2026. Google was also the top model maker by total spend across the platform. If you'd like to try Gemini 4 Neon, you can get started here: openrouter.ai/google/gemini-…
323
639
495
6,133
846,026
i assumed connecting straight to kalshi's origin would be faster than going through their CDN it wasn't. CloudFront sockets were first on 97% of updates. the direct ones trailed by ~4-5ms median which edge IP didn't matter, the individual socket did. TCP_NODELAY: no effect
1
24
which is why every market in my collector rides on two websockets. one gets written, the other is a hot spare if the active one dies or lags, the spare writes a full snapshot before any of its deltas 6h live soak: 175k markets, 736M deltas, 0 seq gaps github.com/Lushenwar/Challen…
20
Optimizing code is easy; it’s the edge cases that break things. I just deployed the landing along with a Claude MCP server to bring adversarial testing directly into your LLM workflow Find exactly where your math shatters before it hits prod #BuildInPublic #Python #OpenSource
1
1
2
57
I built a tool that "breeds" worst-case scenarios for Python math models. BlackSwan uses evolutionary search to find the one input that shatters your logic. It's caught some scary bugs in my own models and code already. #BuildInPublic #Python #OpenSource #VSCode
1
2
92