# Daily Dose of Data Science

A free newsletter for continuous learning about data science and ML, lesser-known techniques, and how to apply them in 2 minutes. We keep things no-fluff. Join 100,000+ data scientists from top companies like Google, NVIDIA, Microsoft, Uber, etc.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## K-means vs. E-means, clearly explained

DevFeed: [K-means vs. E-means, clearly explained](<https://devfeed.tech/articles/k-means-vs-e-means-clearly-explained-147470.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/k-means-vs-e-means-clearly-explained>)

Author: Avi Chawla

Published: 2026-11-20T23:47:29Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [clustering](<https://devfeed.tech/topics/clustering.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [data](<https://devfeed.tech/topics/data.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batches](<https://devfeed.tech/tags/batches.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [google](<https://devfeed.tech/tags/google.md>), [means](<https://devfeed.tech/tags/means.md>), [paper](<https://devfeed.tech/tags/paper.md>), [rsi](<https://devfeed.tech/tags/rsi.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

e-means speeds up Lloyd's k-means by assigning points in small batches and nudging centroids after each batch, rather than waiting for a full data pass. It uses a scheduled exponential moving average, revives empty clusters every five batches by splitting a crowded cluster, and derives batch size and step schedule from scaling rules. The article reports reaching Lloyd's 25-epoch loss in 1.4-2.6 epochs and GPU speedups of 10-45x; on the 10-billion-vector DINO10B set, it clustered into 16 million groups in 2.5 epochs. It is available in Faiss: CPU use is shown with `faiss-cpu` and NumPy, while GPU execution uses PyTorch with Triton or CuTe kernels selected through `assignment_backend`. The reported scaling rules were fitted on one dataset, DEEP, then applied to others without a hyperparameter sweep.

### Source excerpt

...explained visually (and a Google paper on RSI worth bookmarking).

## Vibe Coding Has a Blind Spot

DevFeed: [Vibe Coding Has a Blind Spot](<https://devfeed.tech/articles/vibe-coding-has-a-blind-spot-146559.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/vibe-coding-has-a-blind-spot>)

Author: Avi Chawla

Published: 2026-11-20T00:43:42Z

Content type: opinion

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Vibe coding](<https://devfeed.tech/topics/vibe-coding.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [codex](<https://devfeed.tech/topics/codex.md>), [cursor](<https://devfeed.tech/topics/cursor.md>), [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>)

Tags: [access-controls](<https://devfeed.tech/tags/access-controls.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [apps](<https://devfeed.tech/tags/apps.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [data](<https://devfeed.tech/tags/data.md>), [vibe-coding](<https://devfeed.tech/tags/vibe-coding.md>)

### AI overview

AI-built internal apps can each implement data access checks differently or omit them, making access hard to audit and update across a company. In the Retool demonstration, Claude Code, Codex and Cursor built apps querying the same PostgreSQL resource. Retool's Data Access Enforcement applied policies at that resource: HR and admin users saw all 15 employees, while an Engineering Manager saw only five Engineering rows. The apps kept sending the same unfiltered query; Retool narrowed results server-side, with no app code changes. The excerpt also describes Deepnote's separate approach for shared data apps, using notebooks for SQL/Python execution, credentials kept behind the page, refreshes, OAuth-based viewer permissions, version history and shared links. These are described product examples; the excerpt does not establish broader comparative performance or security guarantees.

### Source excerpt

...plus a Deepnote upgrade that lets coding agents share one live data app.

## GPU architecture, clearly explained

DevFeed: [GPU architecture, clearly explained](<https://devfeed.tech/articles/gpu-architecture-clearly-explained-141433.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/gpu-architecture-clearly-explained>)

Author: Avi Chawla

Published: 2026-11-19T00:13:29Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Multi-GPU](<https://devfeed.tech/topics/multi-gpu.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [quantization](<https://devfeed.tech/topics/quantization.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [addition](<https://devfeed.tech/tags/addition.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [attention](<https://devfeed.tech/tags/attention.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [block](<https://devfeed.tech/tags/block.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compute](<https://devfeed.tech/tags/compute.md>), [data](<https://devfeed.tech/tags/data.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-architecture](<https://devfeed.tech/tags/gpu-architecture.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-bandwidth](<https://devfeed.tech/tags/memory-bandwidth.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

For single-response LLM generation, memory bandwidth can limit token rate because each 16-bit weight read transfers two bytes for only two arithmetic operations. Batching requests improves reuse by applying each loaded weight across several requests. GPU execution is organized as threads grouped into 32-thread warps, blocks of cooperating warps, and SMs that run blocks. Registers, shared memory and L1, and the shared L2 cache keep data closer to compute; model weights and large arrays reside in HBM, which takes longer to access. Algorithms can reduce HBM traffic by reusing local data: FlashAttention processes smaller pieces and keeps intermediate results near compute instead of writing and rereading a full attention-score table. Thus compute ratings alone do not predict token speed; data movement and reuse also matter.

### Source excerpt

...and why memory bandwidth, not compute, sets your token rate.

## The next AI inference architecture, clearly explained (4x faster than GPUs)

DevFeed: [The next AI inference architecture, clearly explained (4x faster than GPUs)](<https://devfeed.tech/articles/the-next-ai-inference-architecture-clearly-explained-4x-faster-than-gpus-139644.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/the-next-ai-inference-architecture>)

Author: Avi Chawla

Published: 2026-11-17T23:40:37Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-chip](<https://devfeed.tech/tags/ai-chip.md>), [ai-inference](<https://devfeed.tech/tags/ai-inference.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [artificial-analysis](<https://devfeed.tech/tags/artificial-analysis.md>), [attention](<https://devfeed.tech/tags/attention.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [bandwidth](<https://devfeed.tech/tags/bandwidth.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [inference](<https://devfeed.tech/tags/inference.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>)

### AI overview

For single-request LLM decode, repeatedly loading weights from HBM makes memory bandwidth the bottleneck. The excerpt explains that GPU kernel boundaries add stalls; fusion can help, but large intermediate results and limited SRAM constrain it. SambaNova's RDU maps decoder operations across the chip and passes activations through on-chip SRAM while loading weights for upcoming steps. The excerpt reports Llama 3.1 8B rising from 100 to 1,100 tokens/s across successive RDU optimizations on 16 SN40L chips, and a GLM-5.3 cloud run at 179 tokens/s; these are reported results, not a general comparison across deployments. It also describes splitting prefill and decode across different hardware, with SambaNova reporting a 2x speedup over B200-only in a demo. The tradeoff noted is reduced flexibility because the compiler maps a fixed graph ahead of time. A separate excerpt contrasts autoregressive generation, typically one sequential step per token, with masked diffusion, which can finalize multiple positions per step. Diffusion's step count affects speed and quality; bidirectional updates complicate KV caching, though block diffusion can cache completed blocks. Fewer steps do not by itself

### Source excerpt

...plus autoregressive LLMs vs. diffusion LLMs (a popular LLM interview question).

## How Top AI Teams Scale to 1,000+ Agents

DevFeed: [How Top AI Teams Scale to 1,000+ Agents](<https://devfeed.tech/articles/how-top-ai-teams-scale-to-1-000-agents-131358.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/how-top-ai-teams-scale-to-1000-agents>)

Author: Avi Chawla

Published: 2026-11-12T22:52:10Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [versioning](<https://devfeed.tech/topics/versioning.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [codex](<https://devfeed.tech/topics/codex.md>), [AI tools for developers](<https://devfeed.tech/topics/ai-tools-for-developers.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [403](<https://devfeed.tech/tags/403.md>), [added](<https://devfeed.tech/tags/added.md>), [after](<https://devfeed.tech/tags/after.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agent-skill](<https://devfeed.tech/tags/agent-skill.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [alarm](<https://devfeed.tech/tags/alarm.md>), [all](<https://devfeed.tech/tags/all.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [code](<https://devfeed.tech/tags/code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [scale](<https://devfeed.tech/tags/scale.md>), [teams](<https://devfeed.tech/tags/teams.md>), [top](<https://devfeed.tech/tags/top.md>)

### AI overview

The excerpt presents two agent workflows. Rowboat is described as a self-hostable layer that coordinates Claude Code, Codex, Hermes, and MCP-compatible agents: a user sends one request, and a coordinating agent assigns tasks, passes work through threads, and combines results on a shared whiteboard. In the example, Hermes locates user drop-off in PostHog, Claude Code examines feedback for causes, and Codex builds a dashboard. The longer Omnigraph walkthrough addresses lost updates in shared agent memory. Agents work on separate branches; diffs support review, and merges compare changes with their shared base, refusing stale changes to a modified record. A conflict can require a retry even when agents changed different fields, since checks are per record. The demonstration uses separate agent tokens and a Cedar policy so only a reviewer can merge into main; local use without server authorization does not enforce that restriction. The evidence describes a local run with one developer and two agents, while larger-scale applicability is asserted rather than demonstrated.

### Source excerpt

...explained visually, plus a Claude Code and Codex walkthrough.

## Find Production Agent Failures Before Users Do

DevFeed: [Find Production Agent Failures Before Users Do](<https://devfeed.tech/articles/find-production-agent-failures-before-users-do-129668.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/find-production-agent-failures-before>)

Author: Avi Chawla

Published: 2026-11-11T23:33:57Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [google-adk](<https://devfeed.tech/topics/google-adk.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [actions](<https://devfeed.tech/tags/actions.md>), [after](<https://devfeed.tech/tags/after.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [arena](<https://devfeed.tech/tags/arena.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [best](<https://devfeed.tech/tags/best.md>), [building](<https://devfeed.tech/tags/building.md>), [can](<https://devfeed.tech/tags/can.md>), [failures](<https://devfeed.tech/tags/failures.md>), [production](<https://devfeed.tech/tags/production.md>), [users](<https://devfeed.tech/tags/users.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Harness Arena compares harness and model configurations on the same task inputs and evaluation checks, reporting cost, runtime, pass status, and artifacts. Cost and speed are compared only among successful runs. In the cited test, Hermes + GPT-5.2 passed 5/5 runs at 0.47 credits; Claude Code + Opus 4.8 passed 3/5 at 223 credits. PlurAI Simulation reconstructs an agent, its tools, and environment from code, uses simulated users to probe edge cases, and checks actions with agent-specific evals. Each failure includes a run and a verifiable fix; production failures can become replayable simulations for later versions. The excerpt presents both as ways to evaluate agent setups before deployment, but gives only one benchmark example.

### Source excerpt

...explained with a hands-on walkthrough!

## 16 Policy Optimization Methods for LLM Training

DevFeed: [16 Policy Optimization Methods for LLM Training](<https://devfeed.tech/articles/16-policy-optimization-methods-for-llm-training-129667.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/16-policy-optimization-methods-for>)

Author: Avi Chawla

Published: 2026-11-11T00:07:01Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [post-training](<https://devfeed.tech/topics/post-training.md>), [grpo](<https://devfeed.tech/topics/grpo.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Nemotron](<https://devfeed.tech/topics/nemotron.md>), [dpo](<https://devfeed.tech/topics/dpo.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2023](<https://devfeed.tech/tags/2023.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [actor](<https://devfeed.tech/tags/actor.md>), [after](<https://devfeed.tech/tags/after.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [aggregation](<https://devfeed.tech/tags/aggregation.md>), [aime](<https://devfeed.tech/tags/aime.md>), [cache](<https://devfeed.tech/tags/cache.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-training](<https://devfeed.tech/tags/llm-training.md>), [llms](<https://devfeed.tech/tags/llms.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [plus](<https://devfeed.tech/tags/plus.md>), [policy](<https://devfeed.tech/tags/policy.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

The 16 methods are organized around two choices: what baseline estimates a response's advantage and how policy updates handle drifting importance ratios. Critic-based PPO and VAPO use value models, while VinePPO adds rollouts from partial answers to estimate values without a critic. REINFORCE variants replace the critic with reward baselines; group-relative methods such as GRPO compare responses to others from the same prompt, with variants changing normalization, sampling, or loss weighting. GSPO, GMPO, CISPO, and SAPO redesign ratio handling, from sequence-level clipping to smooth token-level gates. The excerpt reports benchmark or training-efficiency gains for several methods, but these are specific to the cited studies and setups. It also notes tradeoffs: critics can be costly or inaccurate, GRPO defaults can bias response length, and sequence-level suppression can discard useful token gradients.

### Source excerpt

...explained visually, plus how hybrid LLMs shrink the KV cache.

## Pages in Grok Bot, clearly explained:

DevFeed: [Pages in Grok Bot, clearly explained:](<https://devfeed.tech/articles/pages-in-grok-bot-clearly-explained-127441.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/pages-in-grok-bot-clearly-explained>)

Author: Avi Chawla

Published: 2026-11-09T23:04:15Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Bot](<https://devfeed.tech/topics/bot.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [quantization](<https://devfeed.tech/topics/quantization.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [atlas](<https://devfeed.tech/tags/atlas.md>), [audio](<https://devfeed.tech/tags/audio.md>), [board](<https://devfeed.tech/tags/board.md>), [bots](<https://devfeed.tech/tags/bots.md>), [browser](<https://devfeed.tech/tags/browser.md>), [build](<https://devfeed.tech/tags/build.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [demo](<https://devfeed.tech/tags/demo.md>), [grok](<https://devfeed.tech/tags/grok.md>), [grok-bot](<https://devfeed.tech/tags/grok-bot.md>), [pages](<https://devfeed.tech/tags/pages.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

MongoDB Atlas Ephemeral Clusters let a coding agent provision a live database through one API call; a human must claim it to keep it, otherwise it pauses after 48 hours and is deleted after 7 days. Claiming turns it into a permanent free Atlas cluster with the same data and connection string. Grok Bot Pages are interactive dashboards at a persistent link that bots can update, including through routines; they complement chat by giving agent work a place to revisit and share. A local video search demo uses EmbeddingGemma 2 to match text queries to indexed video frames. On an Apple M3 Pro CPU, indexing a 60-second video took 29 seconds, while searches averaged 25 ms across nine queries. The excerpt notes that Unsloth's 176 MB 4-bit text embedding checkpoint lacks the full multimodal pipeline needed for video search. Search runs locally, but the retrieval index grows with added videos; one-bit vectors can reduce raw vector payload by 32 times versus float32.

### Source excerpt

...covered with a full hands-on video demo.

## 7 MoE routing strategies in production, clearly explained

DevFeed: [7 MoE routing strategies in production, clearly explained](<https://devfeed.tech/articles/7-moe-routing-strategies-in-production-clearly-explained-122297.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/7-moe-routing-strategies-in-production>)

Author: Avi Chawla

Published: 2026-11-07T01:58:32Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Mixture of Experts (MoE)](<https://devfeed.tech/topics/mixture-of-experts-moe.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>)

Tags: [ai-engineering](<https://devfeed.tech/tags/ai-engineering.md>), [learn](<https://devfeed.tech/tags/learn.md>), [moe](<https://devfeed.tech/tags/moe.md>), [moe-routing-strategies](<https://devfeed.tech/tags/moe-routing-strategies.md>), [practical](<https://devfeed.tech/tags/practical.md>), [production](<https://devfeed.tech/tags/production.md>), [routing](<https://devfeed.tech/tags/routing.md>)

### AI overview

MoE routing strategies balance expert selection against workload distribution, token coverage, and communication cost. Token-choice routing gives each token a fixed top-k but can overload popular experts; expert-choice routing caps each expert's assignments but may leave tokens with no expert and has cautions for autoregressive generation and small batches. Dynamic routing varies expert count with router confidence, which is not a direct measure of token difficulty. Global balanced assignment respects expert capacity but adds overhead and may bypass a token's top choice. Hash routing simplifies selection but adapts less to context and does not ensure balanced traffic. Soft MoE sends weighted mixtures through expert slots; its cited work focuses on vision, and decoder use must preserve causality. Group-limited routing can reduce cross-device traffic when groups match hardware placement; DeepSeek-V3 is cited as limiting each token to four nodes. These are distinct design approaches, not interchangeable serving settings. Profiling should separate routing, token movement, expert computation, and output combination, since balanced assignments alone do not guarantee low latency.

### Source excerpt

+ a practical learning checklist to learn AI engineering.

## Finding Every Vulnerability Made Security Harder

DevFeed: [Finding Every Vulnerability Made Security Harder](<https://devfeed.tech/articles/finding-every-vulnerability-made-security-harder-121691.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/finding-every-vulnerability-made>)

Author: Avi Chawla

Published: 2026-11-05T22:54:55Z

Content type: news

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [snyk-code](<https://devfeed.tech/topics/snyk-code.md>), [DevSecOps](<https://devfeed.tech/topics/devsecops.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2026](<https://devfeed.tech/tags/2026.md>), [about](<https://devfeed.tech/tags/about.md>), [account](<https://devfeed.tech/tags/account.md>), [added](<https://devfeed.tech/tags/added.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-software](<https://devfeed.tech/tags/agentic-software.md>), [agentic-software-development](<https://devfeed.tech/tags/agentic-software-development.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [all](<https://devfeed.tech/tags/all.md>), [bot](<https://devfeed.tech/tags/bot.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [grok](<https://devfeed.tech/tags/grok.md>), [grok-bot](<https://devfeed.tech/tags/grok-bot.md>), [security](<https://devfeed.tech/tags/security.md>), [team](<https://devfeed.tech/tags/team.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The CodeRabbit Deep Scan connected security-sensitive paths across files and returned six findings in a test repository modeled on an OpenCode update bug: five medium and one low. For the self-update issue, it traced an unauthenticated POST field from `/api/update` to `pip install`, showing how an attacker-controlled target could cause code to run under the dashboard's user account. A separate CSRF finding was reproduced with a plain-text form from another port. Other findings covered SSRF, denial of service, and an authorization gap. Each report included the entry point, code path, reachability, and exploit conditions, making the findings easier to verify. CodeRabbit drafted a fix that validates the package target and added regression tests. The excerpt distinguishes PR reviews of changed code from Deep Scans of committed code; scan conclusions may still need external context.

### Source excerpt

+ building an agent engineering team with Grok Bot!

## Grok Bot Masterclass

DevFeed: [Grok Bot Masterclass](<https://devfeed.tech/articles/grok-bot-masterclass-119601.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/grok-bot-masterclass-081>)

Author: Avi Chawla

Published: 2026-11-04T23:24:08Z

Content type: tutorial

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Bot](<https://devfeed.tech/topics/bot.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [ai](<https://devfeed.tech/tags/ai.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [apps](<https://devfeed.tech/tags/apps.md>), [arena](<https://devfeed.tech/tags/arena.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [best](<https://devfeed.tech/tags/best.md>), [bot](<https://devfeed.tech/tags/bot.md>), [grok](<https://devfeed.tech/tags/grok.md>), [grok-bot](<https://devfeed.tech/tags/grok-bot.md>), [masterclass](<https://devfeed.tech/tags/masterclass.md>), [video](<https://devfeed.tech/tags/video.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Harness Arena compares agent harness and model configurations by running the same task with identical prompts, files, tools, skills, and evaluation checks, then reporting cost, runtime, pass/fail, and produced artifacts. A run must pass before cost and speed are compared: the cited results show Hermes + GPT-5.2 passed 5/5 runs for 0.47 credits, while Claude Code + Opus 4.8 passed 3/5 for 223 credits. HarnessRouter supports Codex, Hermes, Claude Code, DeepSeek Harness, System One, and others; the same UHP interface handles sessions, streaming, files, artifacts, cancellation, and failures. The excerpt also describes a 38-minute Grok Bot masterclass based on building a 14-bot organization. It covers setup, scheduled routines, connected apps, skills and screen-recording-based task teaching, organizing bots into executive and worker roles, a Notion task board, and examples spanning inbox triage, content analysis, design drafts, GitHub issues, and Claude Code.

### Source excerpt

...covered with a full hands-on video demo.

## Agent Framework vs. Agent Harness, clearly explained!

DevFeed: [Agent Framework vs. Agent Harness, clearly explained!](<https://devfeed.tech/articles/agent-framework-vs-agent-harness-clearly-explained-117804.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/agent-framework-vs-agent-harness>)

Author: Avi Chawla

Published: 2026-11-03T21:36:04Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Model Routing](<https://devfeed.tech/topics/model-routing.md>), [Langgraph](<https://devfeed.tech/topics/langgraph.md>), [LangChain](<https://devfeed.tech/topics/langchain.md>), [agent orchestration](<https://devfeed.tech/topics/agent-orchestration.md>)

Tags: [abstractions](<https://devfeed.tech/tags/abstractions.md>), [actions](<https://devfeed.tech/tags/actions.md>), [affinity](<https://devfeed.tech/tags/affinity.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agent-orchestration](<https://devfeed.tech/tags/agent-orchestration.md>), [agent-tools](<https://devfeed.tech/tags/agent-tools.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [attention](<https://devfeed.tech/tags/attention.md>), [faster](<https://devfeed.tech/tags/faster.md>), [framework](<https://devfeed.tech/tags/framework.md>), [harness](<https://devfeed.tech/tags/harness.md>), [has](<https://devfeed.tech/tags/has.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

Frameworks provide components for models, tools, state, and orchestration; harnesses package an agent loop with an execution environment and operating conventions such as file access, context management, progress tracking, and delegation. The choice depends on what must be controlled: explicit workflows suit known sequences and approval rules, while a configurable harness can reduce work when an agent's next action depends on evidence it gathers during a task. Many systems combine both, using a workflow for authorization and outcome checks and a harness for investigation. For long-running tasks, keep progress inspectable through separate artifacts such as commits, test results, and task files. Evaluate recovery after tool failures, restart behavior, completion checks, and approval limits, including for delegated agents. The text names LangGraph as supporting deterministic and model-driven steps, and Deep Agents as adding filesystem tools, context offloading, and subagent support on top of LangChain and LangGraph.

### Source excerpt

+ a technique for 23x faster attention!

## 12 Optimizers for Training Neural Networks, clearly explained!

DevFeed: [12 Optimizers for Training Neural Networks, clearly explained!](<https://devfeed.tech/articles/12-optimizers-for-training-neural-networks-clearly-explained-115555.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/12-optimizers-for-training-neural>)

Author: Avi Chawla

Published: 2026-11-02T21:30:36Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [accounting](<https://devfeed.tech/tags/accounting.md>), [adapting](<https://devfeed.tech/tags/adapting.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [addition](<https://devfeed.tech/tags/addition.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [costs](<https://devfeed.tech/tags/costs.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-memory](<https://devfeed.tech/tags/gpu-memory.md>), [memory](<https://devfeed.tech/tags/memory.md>), [networks](<https://devfeed.tech/tags/networks.md>), [neural](<https://devfeed.tech/tags/neural.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [one](<https://devfeed.tech/tags/one.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

The excerpt explains 12 optimizers through their gradient updates, state memory, and computational tradeoffs. Momentum smooths gradients; AdaGrad adapts steps but its accumulated squared gradients can shrink them excessively; RMSprop discounts older gradients, and Adam combines direction and magnitude averages without estimating curvature. AdamW decouples weight decay from adaptive scaling. Adam's two FP32 moment buffers use about 8 GB for one billion parameters; Adafactor factors matrix statistics to reduce state, while Lion drops second-moment storage and calls for a smaller learning rate. AdEMAMix adds fast and slow averages at additional state cost. Shampoo and SOAP use matrix statistics and incur storage or basis-computation overhead; Muon approximately orthogonalizes matrix updates and is typically paired with another optimizer for other parameters; Sophia periodically refreshes a diagonal curvature estimate and clips updates. The excerpt recommends comparing alternatives against a consistent workload, tuning each learning rate, and measuring validation quality, peak memory, step time, and time to target quality: fewer steps may still mean a slower run.

### Source excerpt

...and what each one costs in GPU memory!

## Why Other Requests Change Your LLM's Output

DevFeed: [Why Other Requests Change Your LLM's Output](<https://devfeed.tech/articles/why-other-requests-change-your-llm-s-output-110132.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/why-other-requests-change-your-llms>)

Author: Avi Chawla

Published: 2026-10-31T20:21:59Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [llamaindex](<https://devfeed.tech/topics/llamaindex.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [a2a](<https://devfeed.tech/tags/a2a.md>), [ag-ui](<https://devfeed.tech/tags/ag-ui.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agent-tasks](<https://devfeed.tech/tags/agent-tasks.md>), [alibaba](<https://devfeed.tech/tags/alibaba.md>), [api](<https://devfeed.tech/tags/api.md>), [arena](<https://devfeed.tech/tags/arena.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [attention](<https://devfeed.tech/tags/attention.md>), [backend](<https://devfeed.tech/tags/backend.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batching](<https://devfeed.tech/tags/batching.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [harness](<https://devfeed.tech/tags/harness.md>), [harness-engineering](<https://devfeed.tech/tags/harness-engineering.md>), [llm](<https://devfeed.tech/tags/llm.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Identical prompts can produce different outputs at temperature 0 because GPU kernels change the order of floating-point reductions according to batch size; near-tied token scores can then select different next tokens, causing completions to diverge. The forward pass remains repeatable for an identical batch, but production continuous batching changes batch composition across decoding steps. Batch-invariant kernels use a fixed reduction order to make outputs independent of batch composition. Thinking Machines Lab reports that this made all 1,000 sampled Qwen3-235B completions identical. The tradeoff is lower throughput: SGLang's cited benchmarks show typical slowdowns of 25-45%; vLLM's option is in beta, and DeepSeek's DeepInfer option supports NVIDIA GPUs only. For reproducible evaluations or RL rollouts, the text recommends enabling the relevant engine flag and treating batch composition as part of the experimental setup.

### Source excerpt

+ an update on Harness Engineering 2.0.

## RAG vs. Vectorless RAG, clearly explained!

DevFeed: [RAG vs. Vectorless RAG, clearly explained!](<https://devfeed.tech/articles/rag-vs-vectorless-rag-clearly-explained-109673.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/rag-vs-vectorless-rag-clearly-explained>)

Author: Avi Chawla

Published: 2026-10-30T20:22:09Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [apple](<https://devfeed.tech/tags/apple.md>), [apple-silicon](<https://devfeed.tech/tags/apple-silicon.md>), [assets](<https://devfeed.tech/tags/assets.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [building](<https://devfeed.tech/tags/building.md>), [call](<https://devfeed.tech/tags/call.md>), [can](<https://devfeed.tech/tags/can.md>), [chat](<https://devfeed.tech/tags/chat.md>), [code](<https://devfeed.tech/tags/code.md>), [company](<https://devfeed.tech/tags/company.md>), [contents](<https://devfeed.tech/tags/contents.md>), [context](<https://devfeed.tech/tags/context.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cost](<https://devfeed.tech/tags/cost.md>), [production](<https://devfeed.tech/tags/production.md>), [rag](<https://devfeed.tech/tags/rag.md>), [tradeoffs](<https://devfeed.tech/tags/tradeoffs.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

Vectorless RAG uses document structure and LLM reasoning to find evidence in long, structured files, while standard RAG retrieves chunks by embedding similarity. Similarity search can return the wrong year in recurring reports or miss a table referenced by a retrieved passage. The described PageIndex approach builds a table-of-contents tree with section titles, page ranges, and summaries; at query time an LLM selects sections, checks their full text, and opens more sections if needed. In PageIndex's team-run test on 63 NVIDIA annual-report questions, tree retrieval answered all correctly at about $110 per 1,000 queries; the best vector setup reached 92.1% using the top 100 chunks at about $134, while top-10 vector search cost about $15 and stayed below 76.2% accuracy. These results are benchmark-specific. Tree retrieval adds LLM calls and index-building cost, and is suited to structured documents; vector search is cheaper at typical retrieval sizes and better fits many short, unrelated texts.

### Source excerpt

...explained visually (with tradeoffs in production).

## Prefix-Aware LLM Routing, clearly explained

DevFeed: [Prefix-Aware LLM Routing, clearly explained](<https://devfeed.tech/articles/prefix-aware-llm-routing-clearly-explained-106806.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/prefix-aware-llm-routing-clearly>)

Author: Avi Chawla

Published: 2026-10-29T20:42:27Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Model Routing](<https://devfeed.tech/topics/model-routing.md>), [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>), [TensorRT-LLM](<https://devfeed.tech/topics/tensorrt-llm.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-skills](<https://devfeed.tech/tags/agent-skills.md>), [ai](<https://devfeed.tech/tags/ai.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-sagemaker](<https://devfeed.tech/tags/amazon-sagemaker.md>), [amazon-sagemaker-ai](<https://devfeed.tech/tags/amazon-sagemaker-ai.md>), [analysts](<https://devfeed.tech/tags/analysts.md>), [article](<https://devfeed.tech/tags/article.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [attention](<https://devfeed.tech/tags/attention.md>), [first](<https://devfeed.tech/tags/first.md>), [llm](<https://devfeed.tech/tags/llm.md>), [routing](<https://devfeed.tech/tags/routing.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

Prefix-aware routing can sharply reduce first-token latency by sending each request to a GPU that already holds its shared prompt prefix in KV cache. In the described approach, the router hashes prompt blocks, tracks which workers hold each block using cache creation and eviction events, and sends the request to the worker with the longest matching prefix. NVIDIA Dynamo balances cache reuse against worker load, so a less busy worker can win despite having fewer cached blocks; increasing cache credit favors first-token latency, while reducing it spreads load and can lower inter-token latency. In llm-d's 8-pod test, precise prefix-aware routing achieved 0.54s p90 time to first token versus 92.6s for random routing, though a later rerun showed a smaller gap. Cache hits require stable prompt prefixes: an early change such as a timestamp invalidates hashes for later blocks, so variable content belongs at the end.

### Source excerpt

...explained visually (the trick to get the first LLM token 170x sooner).

## Why DeepSeek stores its KV cache on disk

DevFeed: [Why DeepSeek stores its KV cache on disk](<https://devfeed.tech/articles/why-deepseek-stores-its-kv-cache-on-disk-106807.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/why-deepseek-stores-its-kv-cache>)

Author: Avi Chawla

Published: 2026-10-28T22:56:03Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [deepinfer](<https://devfeed.tech/tags/deepinfer.md>), [deepseek](<https://devfeed.tech/tags/deepseek.md>), [faster](<https://devfeed.tech/tags/faster.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [time-to-first-token](<https://devfeed.tech/tags/time-to-first-token.md>)

### AI overview

DeepSeek can serve cached prompt prefixes from SSDs because Multi-head Latent Attention (MLA) compresses each token's KV cache; DeepSeek's V2 paper reports a 93.3% reduction versus its earlier 67B model. Its distributed 3FS filesystem spreads cache chunks across thousands of SSDs for parallel reads. On a cache hit, matching blocks are fetched into host memory, then copied to the GPU layer by layer while the model runs. DeepSeek reported a 128K-token cached prompt reaching its first token in 500 ms instead of 13 seconds, and 56% of input tokens in one day of production traffic served from disk. Docs cited in the excerpt give cache retention of three days for agent traffic and seven for chat. API cache hits require an exact match from the first token, so stable prompt content should come first. The excerpt says a DeepSeek Flash cache hit costs 50 times less than a miss.

### Source excerpt

DeepSeek's engineering behind 26x faster time to first token.

## Which OCR Solution Works Best for Your Documents?

DevFeed: [Which OCR Solution Works Best for Your Documents?](<https://devfeed.tech/articles/which-ocr-solution-works-best-for-your-documents-105464.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/which-ocr-solution-works-best-for>)

Author: Avi Chawla

Published: 2026-10-27T23:58:18Z

Content type: comparison

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [document ai](<https://devfeed.tech/topics/document-ai.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [22](<https://devfeed.tech/tags/22.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [adapter](<https://devfeed.tech/tags/adapter.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-systems](<https://devfeed.tech/tags/agentic-systems.md>), [agents](<https://devfeed.tech/tags/agents.md>), [align](<https://devfeed.tech/tags/align.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [best](<https://devfeed.tech/tags/best.md>), [deepseek](<https://devfeed.tech/tags/deepseek.md>), [ocr](<https://devfeed.tech/tags/ocr.md>), [pages](<https://devfeed.tech/tags/pages.md>), [solution](<https://devfeed.tech/tags/solution.md>), [vs](<https://devfeed.tech/tags/vs.md>), [works](<https://devfeed.tech/tags/works.md>)

### AI overview

On a 150-page comparison, Datalab scored highest overall (88.2), but DeepSeek-OCR led on tables (87.2), and Datalab passed 5 of 6 handwriting tests while the other parsers passed none. On a filled 1040 form, PaddleOCR-VL returned only the title; Datalab passed 8 of 8 tests and DeepSeek-OCR 6 of 8. The results show that average scores can hide document-specific failures, so parser choice depends on the types of pages being processed. The open-source OmniParse Bench evaluates text, tables, and layout with pass/fail tests, records failure reasons, and lets users filter scores by traits such as handwriting, rotation, language, and script. Datalab created the benchmark and also makes Surya, so its open scorer and rerunnable tests provide a way to inspect the results directly. The excerpt recommends testing on document-matched slices and reviewing failures.

### Source excerpt

...DeepSeek-OCR vs. PaddleOCR-VL vs. Datalab Surya, tested on the same 150 pages.

## Why Temperature 0 Isn't Deterministic in LLM Inference

DevFeed: [Why Temperature 0 Isn't Deterministic in LLM Inference](<https://devfeed.tech/articles/why-temperature-0-isn-t-deterministic-in-llm-inference-102564.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/why-temperature-0-isnt-deterministic>)

Author: Avi Chawla

Published: 2026-10-26T23:12:43Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Temperature settings in AI](<https://devfeed.tech/topics/temperature-settings-in-ai.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [000](<https://devfeed.tech/tags/000.md>), [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [a-system-perspective](<https://devfeed.tech/tags/a-system-perspective.md>), [about](<https://devfeed.tech/tags/about.md>), [addition](<https://devfeed.tech/tags/addition.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [inference](<https://devfeed.tech/tags/inference.md>), [interview](<https://devfeed.tech/tags/interview.md>), [isn-t](<https://devfeed.tech/tags/isn-t.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [popular](<https://devfeed.tech/tags/popular.md>), [question](<https://devfeed.tech/tags/question.md>), [temperature](<https://devfeed.tech/tags/temperature.md>)

### AI overview

Temperature 0 removes sampling but does not guarantee identical LLM outputs: batch size can change floating-point addition order in GPU kernels, slightly shifting logits and flipping near-tied token choices. Because generation is autoregressive, one token flip can lead to widely different completions. The excerpt reports 80 completions across 1,000 Qwen3-235B runs; batch-invariant kernels made all 1,000 identical, at a speed cost. Reported Qwen3-8B timings were 26 seconds for default vLLM, 55 for its first deterministic version, and 42 after an attention-kernel improvement. It notes beta support via `VLLM_BATCH_INVARIANT=1` and an SGLang deterministic-inference flag with a reported 34.35% average slowdown. Reproducibility matters especially for evals, production debugging, and on-policy RL.

### Source excerpt

...explained visually (a popular LLM interview question).

## How CUDA Graph Replay Cuts Inference Overhead

DevFeed: [How CUDA Graph Replay Cuts Inference Overhead](<https://devfeed.tech/articles/how-cuda-graph-replay-cuts-inference-overhead-99036.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/how-cuda-graph-replay-cuts-inference>)

Author: Avi Chawla

Published: 2026-10-24T23:08:41Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [CUDA Graphs](<https://devfeed.tech/topics/cuda-graphs.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [CUDA](<https://devfeed.tech/topics/cuda.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [all](<https://devfeed.tech/tags/all.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [graph](<https://devfeed.tech/tags/graph.md>), [inference](<https://devfeed.tech/tags/inference.md>), [overhead](<https://devfeed.tech/tags/overhead.md>)

### AI overview

CUDA Graph replay reduces repeated CPU and driver work for LLM inference by recording a GPU operation sequence once and launching that saved plan on new inputs. After warm-up establishes kernels, buffers, shapes, and addresses, capture records operations and dependencies; each replay reruns them against updated input buffers rather than returning an old result. This cuts per-kernel dispatch and launch overhead while the model still performs nearly the same arithmetic. It can help when decoding repeats a compatible execution path and short kernels leave visible gaps in GPU utilization. The tradeoff is that replay expects compatible kernels, arguments, shapes, control flow, and memory addresses. Servers may capture graphs for common batch sizes, pad batches, or fall back to ordinary execution; broader graph coverage costs memory and startup time.

### Source excerpt

...explained visually.

## 6 KV Cache Quantization Approaches

DevFeed: [6 KV Cache Quantization Approaches](<https://devfeed.tech/articles/6-kv-cache-quantization-approaches-98503.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/6-kv-cache-quantization-approaches>)

Author: Avi Chawla

Published: 2026-10-23T23:01:51Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>), [ReAct agent Python](<https://devfeed.tech/topics/react-agent-python.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [attention](<https://devfeed.tech/tags/attention.md>), [auth](<https://devfeed.tech/tags/auth.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [block](<https://devfeed.tech/tags/block.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [cache](<https://devfeed.tech/tags/cache.md>), [collect](<https://devfeed.tech/tags/collect.md>), [combines](<https://devfeed.tech/tags/combines.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [connectors](<https://devfeed.tech/tags/connectors.md>), [context](<https://devfeed.tech/tags/context.md>), [data](<https://devfeed.tech/tags/data.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [quantization](<https://devfeed.tech/tags/quantization.md>)

### AI overview

KV cache quantization reduces storage for cached keys and values; quantizing model weights alone does not. FP8 halves raw storage versus 16-bit formats, while INT8 and INT4 use scales (sometimes zero-points) to represent values with fewer bits, at the cost of rounding error and dequantization work. Granularity controls how many values share a scale: smaller groups can limit outlier effects but add scale overhead. KIVI uses different grouping for keys and values and targets 2-bit storage without fine-tuning, though accuracy still needs evaluation on the served workload. Mixed precision keeps recent entries high precision and quantizes older blocks, trading memory savings against buffer size. Non-uniform or outlier-aware methods allocate levels to value distributions or store outliers separately, also with overhead. Actual savings are below raw bit-width ratios; compare total memory, decoding latency, and answer quality against an unquantized cache under the same workload.

### Source excerpt

...explained visually.

## Build a Jev-powered Agentic RAG

DevFeed: [Build a Jev-powered Agentic RAG](<https://devfeed.tech/articles/build-a-jev-powered-agentic-rag-96460.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/build-a-jev-powered-agentic-rag>)

Author: Sitam Meur

Published: 2026-10-22T23:00:56Z

Content type: tutorial

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [AI for customer service automation](<https://devfeed.tech/topics/ai-for-customer-service-automation.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI tools for developers](<https://devfeed.tech/topics/ai-tools-for-developers.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-rag](<https://devfeed.tech/tags/agentic-rag.md>), [build](<https://devfeed.tech/tags/build.md>), [jev](<https://devfeed.tech/tags/jev.md>), [rag](<https://devfeed.tech/tags/rag.md>)

### AI overview

The excerpt describes a multimodal support desk that answers from company documents only when a decision model judges the evidence sufficient, otherwise opening a ticket for human review. EmbeddingGemma 2 puts text and page images in a shared 768-dimensional space; Liquid AI's d1-3B reranks candidates and assesses answerability. Text chunks and rendered page images are searched separately, merged by page, and evaluated against independently configurable thresholds. The pipeline retries once with wider search before escalating; human replies can be saved as new searchable knowledge. InsForge supplies backend services, while the models run on Lightning AI Studio. In a 75-question evaluation across four cases, the decision gate had the highest accuracy and alone maintained full performance on image-only questions; the BGE reranker avoided wrong answers but often escalated image-based questions.

### Source excerpt

...explained step-by-step with code.

## Agents 2.0: Coordinating people and AI agents across providers

DevFeed: [Agents 2.0: Coordinating people and AI agents across providers](<https://devfeed.tech/articles/agents-2-0-is-here-90410.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/agents-20-is-here>)

Author: Avi Chawla

Published: 2026-10-19T22:53:04Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Loop Engineering](<https://devfeed.tech/topics/loop-engineering.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [llama.cpp](<https://devfeed.tech/topics/llama-cpp.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [all](<https://devfeed.tech/tags/all.md>), [apple-silicon](<https://devfeed.tech/tags/apple-silicon.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batching](<https://devfeed.tech/tags/batching.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

The newsletter covers three topics: Uzu's speculative decoding engine for local LLM inference on Apple Silicon, Switch's open-source coordination layer for people and agents from different providers, and continuous batching for LLM serving. It describes Switch coordinating parallel incident investigations through a shared workspace, and explains how continuous batching reassigns finished request slots to queued requests.

### Source excerpt

Fully open-source solution, explained step-by-step.

## Run Jev Inside an Open Agent Harness

DevFeed: [Run Jev Inside an Open Agent Harness](<https://devfeed.tech/articles/run-jev-inside-an-open-agent-harness-88870.md>)

Original publisher: [Read original article](<https://blog.dailydoseofds.com/p/run-jev-inside-an-open-agent-harness>)

Author: Avi Chawla

Published: 2026-10-16T22:23:13Z

Content type: article

Language: en

Sources: [Daily Dose of Data Science](<https://devfeed.tech/sources/daily-dose-of-data-science.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Process](<https://devfeed.tech/topics/process.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [all](<https://devfeed.tech/tags/all.md>), [claude-managed-agents](<https://devfeed.tech/tags/claude-managed-agents.md>), [code](<https://devfeed.tech/tags/code.md>), [command](<https://devfeed.tech/tags/command.md>), [context](<https://devfeed.tech/tags/context.md>), [data](<https://devfeed.tech/tags/data.md>), [daytona](<https://devfeed.tech/tags/daytona.md>), [decision-model](<https://devfeed.tech/tags/decision-model.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [inference](<https://devfeed.tech/tags/inference.md>), [jev](<https://devfeed.tech/tags/jev.md>), [language](<https://devfeed.tech/tags/language.md>), [language-model](<https://devfeed.tech/tags/language-model.md>)

### AI overview

The article describes using Jev, a decision model that scores a fixed set of choices, with the TrueForge agent harness to route client follow-up requests. It explains training a decision model with LoRA and a decision head, calibrating confidence, and sending low-confidence matches to Opus for review. In a 40-request test, matching accuracy equaled using Opus for every match at 150 times lower decision cost; a separate local training example reports accuracy rising from 37% to 65% in 60 steps.

### Source excerpt

...with 150x cheaper decision-making than LLM

[Next page](<https://devfeed.tech/sources/daily-dose-of-data-science.md?cursor=WyIyMDI2LTEwLTE2VDIyOjIzOjEzKzAwOjAwIiwgIjQxMDdiMzUxLTQyZGMtNDA5NC1hOWY3LTJmODljYzdmYzlmMiJd>)