
infra and middleware ml @TredenceInc prev ml @ugo_robot applied physics/ engineering physics @iitmadras
Joined January 2023
- Tweets265
- Following412
- Followers26
- Likes1.1K
Day 1/ 30 : Inference Engineering: Top to Bottom
Running a little late on schedule but here I am.
This sprint is about serving a production coding agent on MI300X (both x1 and x8 separately) for heavy concurrent load.
Setting and planning things up for the following:
1. Agent harness & prompt/tool-call payload
2. Transport, HTTP/SSE streaming & client latency
3. Serving config, model choice & HBM budget (weights vs KV cache)
4. Prefill vs decode physics (TTFT vs TPOT)
5. Multi-turn KV growth & prefix caching
6. Concurrency, queuing & goodput under load
Day 0/30: Inference Engineering, Top to Bottom.
I've made up my mind to spend up to $1,000 on AMD Instinct MI300X compute over the next 30 days. I'm working through @philipkiely's Inference Engineering book, and I want to put the ideas to work rather than only read about them.
I'll start with production scenarios. Suppose we had to serve a coding agent, a voice agent people can interrupt, an image and video studio, or an API shared by interactive and batch users. What would the workload look like? Which model is good enough? What latency and quality would users need? What would it cost, and where would the system break?
I'll build parts of these systems, simulate traffic, run models on MI300X (x1 or x8), profile the work, and write down what the measurements do and do not explain. I also want to deliberately spend time on kernels and multi-GPU inference. Those shouldn't be subjects I reach only if one bench happens to point there.
The book is a starting map (and a really enjoyable read) The work will move through model choice and evaluation, serving engines, memory and scheduling, GPU kernels, routing, deployment, reliability, and cost. Thirty days won't be enough for all this. But F it, we ball regardless. I'll understand how the parts interact by making decisions and checking them on a real system.
I'll keep the code, protocols, results/ reports, failed guesses, and corrections in the open. Some days the useful thing may be a trace or a derivation rather than a benchmark result. If you spot a bad assumption or have a better experiment, I'd like to hear it and work together even.
29
Day 0/30: Inference Engineering, Top to Bottom.
I've made up my mind to spend up to $1,000 on AMD Instinct MI300X compute over the next 30 days. I'm working through @philipkiely's Inference Engineering book, and I want to put the ideas to work rather than only read about them.
I'll start with production scenarios. Suppose we had to serve a coding agent, a voice agent people can interrupt, an image and video studio, or an API shared by interactive and batch users. What would the workload look like? Which model is good enough? What latency and quality would users need? What would it cost, and where would the system break?
I'll build parts of these systems, simulate traffic, run models on MI300X (x1 or x8), profile the work, and write down what the measurements do and do not explain. I also want to deliberately spend time on kernels and multi-GPU inference. Those shouldn't be subjects I reach only if one bench happens to point there.
The book is a starting map (and a really enjoyable read) The work will move through model choice and evaluation, serving engines, memory and scheduling, GPU kernels, routing, deployment, reliability, and cost. Thirty days won't be enough for all this. But F it, we ball regardless. I'll understand how the parts interact by making decisions and checking them on a real system.
I'll keep the code, protocols, results/ reports, failed guesses, and corrections in the open. Some days the useful thing may be a trace or a derivation rather than a benchmark result. If you spot a bad assumption or have a better experiment, I'd like to hear it and work together even.
PS: I’ve been messing around with TTS and ASR for over a year but never really got serious about it or put the work out on the internet. Realising my stupidity, I am starting again as though I'm almost a beginner.
Here's where all the scenario investigation reports will be updated:
beiyonder.github.io/inferenc…
14
I absolutely love celebrating festivals by igniting carefully engineered mixtures of oxidizers, sulfur and metallic compounds to produce 140 dB of deafening acoustic energy, followed by a delightful cocktail of SO₂, CO, NOₓ and PM2.5 particles.
Nothing beats inhaling freshly synthesized aromatic respiratory irritants while admiring the gorgeous blanket of toxic particulate matter settling over the city.
Truly a festival for all five senses. Especially the ones I'd like to permanently damage.
In fact I support every occasion that does something like this for celebration.
Siddharth retweeted
I kid you not, sometimes I talk to an AI and they are stunned by my insight into architecture
hoi much bottleneck does cpu bound environments, scheduling/ syncronization introduce during RLing?
I'm about to find out.
1
29
Siddharth retweeted
You need to be dissecting meme complexes. You need to be engaging in viral warfare. You need to be decoding cultural DNA. You need to be perfecting your mimicry skills. You need to be creating cryptographic containers. You need to be transcoding metanarratives. You need to be stimulating hyperstitional desires. You need to be unearthing the unconscious of collective networks. You need to be exploiting cultural feedback loops. You need to be mining sociopolitical power dynamics. You need to be sparking informational cascades. You need to be infiltrating hyperreality. You need to be encrypting time war strategies. You need to be disrupting epistemic territories. You need to be triggering cultural mutations. You need to be weaving thought contagions. You need to be deploying mnemotechnical devices. You need to be optimizing memeplex robustness. You need to be weaponizing metacognition. You need to be modeling narrative insurgency. You need to be engineering ideational ecosystems. You need to be sculpting cognitive landscapes. You need to be repurposing memetic code. You need to be exfiltrating ideational payloads. You need to be hijacking zeitgeist navigation systems. You need to be escalating semiotic conflicts. You need to be launching neuro-symbolic assaults. You need to be instituting hyperreal disinformation. You need to be constructing synthetic myths. You need to be accelerating into the rhizomatic future. You need to be fabricating consensus realities. You need to be simulating collective consciousness shifts. You need to be intensifying feedback resonance. You need to be programming viral ideoscapes. You need to be manipulating semiotic ordinances. You need to be modulating cultural oscillations. You need to be deploying strategic subjectivities. You need to be synching with the social hive mind. You need to be formulating neurolinguistic codes. You need to be mobilizing memetic shock troops. You need to be navigating the labyrinth of collective perception. You need to be harnessing the power of hypermemetic drift. You need to be iterating cybernetic enchantments. You need to be weaponizing narrative scripts. You need to be tuning into the metacultural frequency. You need to be launching covert ideational assaults. You need to be activating latent social codes. You need to be amplifying subliminal messages. You need to be synthesizing thought contagions. You need to be architecting neurocognitive labyrinths. You need to be deploying machinic desires. You need to be igniting semiotic chaos. You need to be hacking cultural mainframes. You need to be becoming the swarm intelligence. You need to be mutating towards memetic singularity.
> be me
> deploy fleet of trading bots
> all share one cached auth token
> never track expiry
> token dies
> fixed timers fire in sync
> no backoff
> 200 bots spam refresh
> instant rate limit
> whole system locked out
> Losssss
> never again.jpg
1
66
Belive it or not but there are people racking GPUs based on FLOPS marketing numbers.
Read a publication on deployment math for running glm 5.2 on 8x b200 nodes. the model is 750b total but only 40b active parameters per step.
at moderate concurrency, moe decode is entirely memory bandwidth bound. you are streaming those 40b active parameters plus the kv cache from hbm every single step. compute is not the bottleneck.
nvfp4 actually moves the latency number, it halves the weight bytes you have to read per step compared to fp8. if you are racking b200s and still sizing your deployment based on compute bound assumptions, your p99 tpot is going to degrade the second you hit concurrent streams.
1
41
Relying on small instruct models to verbalize their confidence usually hits a ceiling because they are biased toward compliance. Gating tool use on internal activation signals instead of generated text is a much more robust pattern. The 10MB LoRA adapter approach for Qwen3.5-4B shows that you can extract reliable uncertainty metrics without needing a massive parameter count
1
17
Watchout, if.. you route claude through bedrock converse, watch your idle timeouts on large tool calls. there is a buffering issue where the stream stalls for 60 to 150 seconds while generating large arguments like file edits. it holds the input_json_delta chunks and then flushes them all at once. clients drop the connection before the tool call ever finishes.
1
26
an api key answers whether a langgraph agent is allowed to call the refunds endpoint. it does not answer whether a specific refund should happen. relying on system prompts to enforce business logic is how valid requests end up executing unauthorized actions.
1
1
33










