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

Hugging Face

Making Knowledge Distillation Cheap Enough to Run at Scale

Research 8 min +80 XP

Two systems changes make LLM knowledge distillation far cheaper: caching the teacher's top-100 logits offline so the teacher never shares memory with the student, and a fused chunked KL loss that folds the output projection into the loss and recomputes chunks in the backward pass, so the full vocabulary × sequence logits grid is never materialized.

Week of Aug 3

Week of Jul 27

Together AI

ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

Research 6 min +60 XP

ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls.

Week of Jul 20

Week of Jul 13

Week of Jul 6

Week of Jun 29

Week of Jun 22

Week of Jun 15

Week of Jun 8

Modal

Making FlashAttention-4 faster for inference

Deep dive 14 min +140 XP

Modal engineers extended the FlashAttention-4 kernel for decode-heavy LLM inference on Blackwell GPUs through two kinds of change: new parallelism strategies, such as split-KV parallelism across the key/value dimension, and support for irregular memory access via cp.async in place of TMA bulk loads.

Week of Jun 1

Together AI

Serving MiniMax-M3 for efficient inference: Unlocking 1M-Token Context and Multimodality Without Regrets

Case study 7 min +70 XP

Serving MiniMax M3, a 1M-context multimodal model built on block-sparse MiniMax Sparse Attention (MSA), took several engine and kernel changes that together raised throughput 81–125% across concurrency levels on agentic traffic.

Week of May 25

Week of May 18

Week of May 11

Week of May 4

Together AI

Serving DeepSeek-V4: why million-token context is an inference systems problem

Deep dive 11 min +110 XP

DeepSeek-V4's 1M-token context comes from compressing the token axis of the KV cache: Compressed Sparse Attention (stride 4, top-k selection), Heavily Compressed Attention (stride 128, dense over ~8K entries) and a 128-token Sliding Window Attention path.

Week of Apr 27

Hugging Face

Granite 4.1 LLMs: How They’re Built

Deep dive 14 min +140 XP

Granite 4.1 is IBM's family of dense decoder-only LLMs (3B, 8B, 30B) trained on ~15T tokens through five pre-training phases that shift from web-heavy data to math/code, high-quality annealing with chain-of-thought and instruction data, and staged long-context extension to 512K with model merging after each stage.

Modal

Building an RL theorem-proving workflow on Modal

Case study 10 min +100 XP

AE Studio built a reinforcement-learning loop on Modal that trains an LLM to write Lean proofs, comparing Evolution Strategies (ES) against GRPO using Lean verification as the reward. vLLM generation runs on GPU workers fanned out with .map(), Lean verification runs in short-lived sandboxes so bad proofs can't crash the run, and model state is stored as a ~200-byte-per-iteration history of perturbation seeds and rewards that each worker replays onto base weights from a Volume.

Week of Apr 20

Hugging Face

DeepSeek-V4: a million-token context that agents can actually use

Deep dive 7 min +70 XP

DeepSeek-V4 (Pro: 1.6T total/49B active; Flash: 284B/13B active) is a MoE model family whose 1M-token context is made practical by a hybrid attention design that interleaves Compressed Sparse Attention (4x KV compression plus an FP4 lightning indexer selecting top-k blocks) with Heavily Compressed Attention (128x compression with dense attention), plus FP8 KV storage.

Together AI

Accelerate RL rollouts by up to 50% with distribution-aware speculative decoding

Research 5 min +50 XP

Distribution-aware speculative decoding (DAS) speeds up the rollout phase of LLM RL post-training, which can consume ~70% of training time due to long-tail straggler generations, while keeping outputs identical to standard decoding.

Google Research

ReasoningBank: Enabling agents to learn from experience

Research 5 min +50 XP

ReasoningBank is an agent memory framework that distills generalizable reasoning strategies from both successful and failed trajectories, stored as structured items (title, description, content) in a closed loop of retrieval, LLM-as-a-judge self-assessment, extraction and append-only consolidation.

Week of Apr 13

Hugging Face

Ecom-RLVE: Adaptive Verifiable Environments for E-Commerce Conversational Agents

Research 12 min +120 XP

EcomRLVE-GYM extends RLVE from single-turn reasoning puzzles to multi-turn, tool-using e-commerce conversations, offering 8 environments (product discovery, substitution, cart building, returns, order tracking, policy QA, bundle planning, multi-intent journeys) with procedural generation and fully programmatic rewards.

Week of Apr 6

Week of Mar 30

Together AI

Aurora

Research 7 min +70 XP

Aurora is an open-source framework that trains speculative decoding draft models online from live inference traces, framing drafting as asynchronous reinforcement learning: the drafter is the policy, the target verifier is the environment, and accepted and rejected tokens serve as positive and counterfactual rewards.

Week of Mar 23

Google Research

TurboQuant: Redefining AI efficiency with extreme compression

Research 7 min +70 XP

TurboQuant is a data-oblivious vector quantization algorithm that removes the per-block quantization-constant overhead of traditional methods by combining PolarQuant (random rotation plus recursive polar-coordinate transforms with a fixed angle grid) and a 1-bit Quantized Johnson-Lindenstrauss residual stage that removes bias in inner-product estimates.

Hugging Face

A New Framework for Evaluating Voice Agents (EVA)

Research 10 min +100 XP

EVA is an end-to-end benchmark for conversational voice agents that runs full multi-turn spoken conversations bot-to-bot (TTS user simulator, Pipecat-based agent, deterministic tool executor, validators) and jointly scores accuracy (EVA-A: task completion, faithfulness, speech fidelity) and experience (EVA-X: conciseness, conversation progression, turn-taking).

Week of Mar 16

The quest for software engineering knowledge.

Look:
Layout: