
本期聚焦三条 memory/context 工程信号:KVeXpress 重新设计 disaggregated inference 的 KV cache handoff,Oracle 把 LangChain 与 LangGraph memory 收进统一数据库后端,Rapid-MLX 则用 guard 和测试锁住 Gemma 4 cross-layer KV sharing 的正确性边界。
| 进展 | 时间窗口依据 | 核心增量 | 适合谁继续看 |
|---|---|---|---|
| DriveNets KVeXpress | DriveNets 文章标注 July 13, 2026,页面元数据发布时间为北京时间 7 月 14 日 01:19。1 | 在 disaggregated inference 里,把 KV cache handoff 做成 JIT decode allocation、vectorized transfer、decode-driven movement 三件事。 | 做长上下文 serving、prefill/decode 分离、跨节点 KV 迁移的人。 |
| Oracle LangChain / LangGraph memory | Oracle Developers RSS 给出发布时间 Mon, 13 Jul 2026 15:07:10 +0000,即北京时间 7 月 13 日 23:07。2 | langchain-oracledb 增加 OracleSemanticCache 与 OracleChatMessageHistory,langgraph-oracledb 提供 checkpointing 和 long-term memory。3 | 在企业环境里把 agent memory、RAG、审计和备份放进同一治理面的人。 |
| Rapid-MLX Gemma 4 KV-share guard | GitHub commit #1104 的作者时间为 2026-07-13T16:13:39Z,即北京时间 7 月 14 日 00:13。4 | 给 Gemma 4 cross-layer KV-sharing 加加载期 guard 和跨 5 个 size shape 的测试,并明确收益主要是 KV memory footprint,不是 TTFT。 | 在 Apple Silicon / MLX 路线做本地模型推理、缓存正确性和小型设备内存预算的人。 |
langchain-oracledb 新增两类 memory primitive:OracleSemanticCache 用向量距离匹配近义 prompt,作为 LLM response cache;OracleChatMessageHistory 把会话历史持久化到 Oracle 表,并支持按 session 隔离和 bounded read。3 这不是单纯多了一个向量库 adapter,而是把「短期会话记忆」和「语义缓存」纳入同一个生产后端。langgraph-oracledb 提供 OracleSaver / AsyncOracleSaver 做 graph checkpointing,并提供 OracleStore / AsyncOracleStore 做 long-term agent memory;后者支持 namespaced key-value store、put/get/search、batch operations,以及可选 HNSW 或 IVF vector indexes。3OracleSemanticCache 和 OracleChatMessageHistory 属于 Python-first memory primitives;hybrid keyword-and-vector search through DBMS_HYBRID_VECTOR.SEARCH 需要 Oracle AI Database 26ai。3 也就是说,路线清晰,但版本、数据库选型和团队运维栈会决定落地成本。make_cache() 返回 producer-only cache list,forward path 把 producer K/V 喂给 borrower。4num_kv_shared_layers 非法或 borrower 找不到同类型 producer 时,走明确错误,而不是让模型悄悄变成另一种缓存形态。4 对本地推理来说,这类 guard 很实际:KV sharing 一旦失效,用户看到的可能不是立刻崩溃,而是显存占用、吞吐或结果路径慢慢偏离预期。mlx-community/gemma-4-e2b-it-4bit 的测量里,borrow active 时 35 层里有 15 个 producer caches、20 个 borrower;KV memory footprint 在 1024 tokens 下从 44.04 MB 降到 18.87 MB,约 2.33x smaller,且 1k / 4k / 8k token ratio 大体恒定。但同 checkpoint 下 prefill / TTFT wall-time 约 1.00x,没有可测速度提升。4drivenets.com
blogs.oracle.com
blogs.oracle.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.