Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics AI & ML

LLMs

Large language models: behaviour, prompting, architectures.

Search within LLMs, or combine it with other topics →

Last week

Hugging Face

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

Case study 9 min +90 XP

Agent-driven tuning of Inkling 2 Mini, a looped 26B-total/3B-active MoE, on a single RTX PRO 6000 raised single-user decode from 136 to 190.6 tok/s (+40%) and 8-user throughput from ~570 to 716 tok/s by switching from SGLang to vLLM nightly and enabling DSpark speculative decoding with 7 drafts and probabilistic draft sampling.

Week of Nov 16

Hugging Face

Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost

Research 21 min +210 XP

RL-training a LoRA adapter for a specific agent harness and task distribution makes a frozen base model both more accurate and cheaper: Qwen3.8-27B under the pi harness rises from 39% to 55% pass@1 on Terminal-Bench 2.1 while average token usage drops from 2.9K to 1.5K per task, mostly because the model reasons less and calls fewer tools.

When Can You Ship on Offline Evals Alone?

Research 11 min +110 XP

Shipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm.

Hugging Face

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers

Case study 11 min +110 XP

Streaming MoE experts from SSD through a bounded device-side slot pool lets Transformers run Qwen3.8-Flash-Next (121 GB of experts) on a 32 GB MacBook M5 at ~13.9 tok/s, within 6% of the specialized Strata engine on decode and slightly faster on prefill.

Week of Nov 9

Google Research

Using wearables to enable cardiovascular-kidney-metabolic (CKM) risk profiling for personalized coaching

Research 9 min +90 XP

A coachable health age (CHA) metric built only from modifiable wearable signals (resting heart rate, steps, sleep, Active Zone Minutes) predicted 8-year onset of hypertension, cardiovascular disease and type 2 diabetes in the All of Us cohort (n=22,748), and it fell when users sustained habit changes.

Evaluating the Evaluators: Investigating LLM Judges for Personalized Writing Style Assessment

Research 1 min +10 XP

LLM judges used to check whether generated text matches a user's preferred writing style (e.g., "upbeat") agree with human pairwise preferences only unevenly, and judge quality correlates weakly with general ability as measured by MMLU (Pearson's ρ ≤ 0.2).

Weighted State Souping for Efficient Long-Context Retrieval

Research 1 min +10 XP

Weighted state souping learns query-dependent weights for combining independently encoded, cached SSM states for chunks like documents, tool definitions or memory records, fixing the degradation that plain state souping and vanilla SSMs show on long, crowded contexts.

Week of Oct 26

Week of Oct 19

Cross-store product clustering across millions of stores

Case study 13 min +130 XP

Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

Week of Oct 12

Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM

Case study 7 min +70 XP

Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks.

Week of Sep 28

Mitigating memorization in LLMs

Research 6 min +60 XP

LLMs evaluated on historical prediction benchmarks can score well by recalling memorized outcomes from pretraining rather than reasoning, so an intern project measured and tried to mitigate this using a cricket match-preview dataset, comparing accuracy before and after the model's knowledge cutoff.

Week of Sep 21

Week of Sep 14

Week of Sep 7

Google Research

ToolGrad: Efficient tool-use dataset generation with textual "gradients"

Research 6 min +60 XP

ToolGrad generates synthetic tool-use training data answer-first: it builds a verified API chain iteratively, then has an LLM write the matching user query, instead of inventing a query and searching for a solution with a DFS agent as ToolBench and ToolACE do.

Week of Aug 31

Week of Aug 24

Hugging Face

Quantization-Aware Healing: a compressed, 4-bit model that outperforms its full-precision original

Research 12 min +120 XP

Quantization-Aware Healing (QAH) recovers structurally compressed, 4-bit LLMs by distilling directly from the original pre-compression model via KL divergence on logits, rather than from the recovered bfloat16 checkpoint or with a task loss as in QAT.

Week of Aug 17

Week of Aug 10

The quest for software engineering knowledge.

Look:
Layout: