←搜索结果

按匹配度 · 共 398 条结果 清除搜索

星期二

  1. vLLM 官方博客精选

    vLLM 上 Kimi K2 工具调用准确率的深度调试

    vLLM 与 Kimi 团队修复了 Kimi K2 的关键工具调用兼容问题,使成功解析的调用数从 218 个增至 971 个,提升 4.4x。问题涉及缺失 add_generation_prompt、空 content 的结构转换,以及历史工具调用 ID 不符合 functions.func_name:idx 格式。修复后仍出现 316 次 schema_validation_error_count,团队正协作将用于约束工具选择的 Enforcer 组件集成到 vLLM。

    fter commit 94a4053eb8863059dd8afc00937f054e1365abbd (Kimi-K2-0905) or commit 0102674b179db4ca5a28cd9a4fb446f87f0c1454 (Kimi-K2). The updates are committed per model. Introduction Agentic workflows are reshaping our interaction with Large Language Models, and robust tool-calling is the engine driving this revolution. Moonshot AI's Kimi K2 model is renowned for its exceptional tool-calling capabilities. To validate its performance on the high-performance vLLM serving engine, I turned to the offic

    匹配字段正文

星期日

  1. vLLM 官方博客精选

    vLLM Sleep Mode 如何实现模型零重载切换

    vLLM Sleep Mode 通过保留进程、内存分配器、CUDA 图和 JIT 内核,将多模型切换从完整重载的 30-100+ 秒缩短至秒级或亚秒级。Level 1 将权重卸载到 CPU RAM,Level 2 丢弃权重并在唤醒时从磁盘重载;两种模式的切换速度比完整重载快 18-200x,预热模型的推理速度比冷启动快 61-88%。

    cial thanks to Vensen Mu, Jeff Aw, Jun Kang Chow, Tun Jian Tan, Pin Siang Tan, Amir Balwel, Ye Hur Cheong, Zhiyao Cen and Kaichao You for developing the Sleep Mode feature and this blog post. Related Posts DeepSeek-V4.1-Flash on vLLM: 5x Agentic Throughput Since Day 0 Within three weeks of release, vLLM made DeepSeek-V4.1-Flash 1.9x faster at low concurrency and lifted its throughput 5x on SemiAnalysis AgentX, with SWA bounded replay, CUDA graphs, DeepSeek's new kernels, and vLLM kernel fusions.

    匹配字段正文

星期四

  1. vLLM 官方博客

    SemiAnalysis InferenceMAX 评测解析:vLLM 与 NVIDIA 加速 Blackwell 推理

    vLLM 与 NVIDIA 针对 Blackwell 优化大语言模型推理,在相近延迟下,gpt-oss 120B 和 Llama 3.3 70B 的吞吐量较上一代 Hopper 最高提升约 4x。双方通过一百多个 pull request 优化注意力、GEMM、MoE 内核、图融合和异步调度,并加入自动量化后端选择与 FlashInfer 自动调优。SemiAnalysis InferenceMAX 每日更新测试结果,以不同输入输出长度和 Pareto 前沿比较吞吐量与响应速度。

    of offering fair measurements and comparison for the community. Thank you to Kimbo Chen, Dylan Patel, and others. We’re excited to keep refining and expanding our optimizations to unlock even greater capabilities in the weeks and months ahead! Related Posts Announcing vllm-metal: Concurrent Serving on Apple Silicon vllm-metal brings vLLM's paged, continuously batched serving stack to Apple Silicon, with flatter TTFT under concurrent agent load, batched MTP, and automatic M5 prefill acceleration.

    匹配字段正文

星期一

  1. Anthropic Engineering精选

    Anthropic 谈 AI 智能体的有效上下文工程

    Anthropic 应用 AI 团队撰文提出上下文工程,将其视为提示词工程的延续,核心是在 LLM 有限的注意力预算内挑选最小的高信号 token 集合。文章指出随着上下文 token 增多,模型准确召回信息的能力会下降,即上下文衰减,因此系统提示词、工具、示例和消息历史都应保持信息充分而紧凑。针对长周期任务,文章介绍了压缩、结构化笔记和多智能体架构三种绕开上下文窗口限制的做法,并提到 Claude Code 采用即时检索与预加载结合的混合策略。

    potential behaviors that state might yield. In this post, we’ll explore the emerging art of context engineering and offer a refined mental model for building steerable, effective agents. Context engineering vs. prompt engineering At Anthropic, we view context engineering as the natural progression of prompt engineering. Prompt engineering refers to methods for writing and organizing LLM instructions for optimal outcomes (see our docs for an overview and useful prompt engineering strategies). Co

    匹配字段正文

星期四

  1. Anthropic Engineering精选

    Anthropic 工程团队分享如何为智能体编写高效工具

    Anthropic 工程团队发布文章,介绍为 LLM 智能体编写高效工具的流程:先搭建工具原型并在本地测试,再用贴近真实场景的评测任务衡量表现,最后借助 Claude Code 分析评测记录并迭代改进。文章给出的原则包括只实现少量针对高价值工作流的工具、用命名空间区分功能边界、只返回高信号上下文、通过分页与截断控制 token 消耗,以及像向新同事介绍那样提示词工程化地写工具描述。文中提到 Claude Code 默认将工具响应限制在 25,000 tokens,并称在精确改进工具描述后 Claude Sonnet 3.5 在 SWE-bench Verified 上达到 SOTA。

    The Model Context Protocol (MCP) can empower LLM agents with potentially hundreds of tools to solve real-world tasks. But how do we make those tools maximally effective? In this post, we describe our most effective techniques for improving performance in a variety of agentic AI systems 1 . We begin by covering how you can: Build and test prototypes of your tools Create and run comprehensive evaluations of your tools with agents Collaborate with agents like Claude Code to automatically increase t

    匹配字段正文

星期三

  1. Linear:Now

    Linear 如何构建 Triage Intelligence

    Linear 结合语义搜索、排序和大语言模型推理构建 Triage Intelligence,用现有积压事项识别重复与相关问题,并推荐标签、负责人等属性。团队从 GPT-4o mini 和 Gemini 2.0 Flash 转向 GPT-5 与 Gemini 2.5 Pro,采用可补充上下文的智能体方案,同时通过推理说明、思考面板和 Additional Guidance 提升透明度与可控性。该功能已作为技术预览向 Business 和 Enterprise 套餐开放。

    An array of icons with doodles suggesting searching through issues to find similar ones.

    as required because they could only work with the information we provided up front. If something important was missing, they had no way to go find it. That limitation led us to an agentic approach, where the model could pull in whatever additional context it needed from Linear’s data. To make that work, we switched to larger models like GPT-5 and Gemini 2.5 Pro, which could handle more complexity in both inputs and reasoning. That shift unlocked better suggestion quality—especially for fuzzier o

    匹配字段正文

星期五

  1. Johann Rehberger / Embrace The Red

    Windsurf MCP 集成缺少安全控制,用户面临风险

    安全研究者 Johann Rehberger 实测发现,Windsurf 添加 MCP 服务器后,工具调用默认处于完全自动执行状态,没有人工确认环节,也无法配置为让 AI 先建议、由用户审核后再执行。他用 Windsurf MCP Store 中的 Slack MCP 服务器演示:一段藏在代码注释里的恶意指令即可劫持智能体,把私密 Slack 频道的消息发到公开频道,全程零点击。该问题已于 2025 年 5 月 30 日报告给 Windsurf 并获确认,作者称 Windsurf CEO 已联系他表示正在修复;目前用户可用的缓解手段是逐个禁用有副作用的工具。

    Part of my default test cases for coding agents is to check how MCP integration looks like, especially if the agent can be configured to allow setting fine-grained controls for tools. Sometimes there are basic security controls missing. Especially when running an agent on your local computer. Stakes are much higher. And it seems important to empower users to be able to configure which actions an AI should be able to take automatically, and which ones should be suggestions that the user reviews b

    匹配字段正文

星期三

  1. vLLM 官方博客

    vLLM 详解 torch.compile 的工作原理与集成方式

    vLLM 介绍了 torch.compile 的工作原理,以及它如何通过编译缓存、动态批量大小、分段 CUDA Graphs 和自定义编译器 pass 优化大语言模型推理。vLLM V1 默认在在线与离线推理中启用该能力,部分融合优化可带来最高 15% 的性能提升。文章还说明了缩短启动时间、改用更稳定 API 和探索 MPK/Mirage 编译器集成等后续方向。

    M, it’s a core part of the inference pipeline. Combined with caching, dynamic shape support, CUDA Graphs, and custom passes, it enables efficient, scalable LLM serving across any environment. Related Posts DeepSeek-V4.1-Flash on vLLM: 5x Agentic Throughput Since Day 0 Within three weeks of release, vLLM made DeepSeek-V4.1-Flash 1.9x faster at low concurrency and lifted its throughput 5x on SemiAnalysis AgentX, with SWA bounded replay, CUDA graphs, DeepSeek's new kernels, and vLLM kernel fusions.

    匹配字段正文

星期二

  1. vLLM 官方博客

    如何使用 vLLM 加速 GLM-4.5 与 GLM-4.5V 推理

    vLLM 介绍了如何在 NVIDIA Blackwell 和 Hopper GPU 上加速 GLM-4.5 与 GLM-4.5V 系列推理,其最新主分支已支持两类模型。GLM-4.5 与 GLM-4.5V 均提供 FP8 和 BF16 精度版本,可使用相同命令运行;8x H100 显存不足时需添加 `--cpu-offload-gb 16`,遇到 flash_infer 问题可暂用 `VLLM_ATTENTION_BACKEND=XFORMERS`。GLM-4.5V 还支持根据复杂描述逐步推理并输出目标对象的边界框坐标。

    ting back to the early days of vLLM and the popular ChatGLM model series. Recently, the GLM team released the GLM-4.5 and GLM-4.5V model series, which are designed for intelligent agents. They are the top trending models in Huggingface model hub right now. GLM-4.5 has 355 billion total parameters with 32 billion active parameters, while GLM-4.5-Air adopts a more compact design with 106 billion total parameters and 12 billion active parameters. GLM-4.5 models unify reasoning, coding, and intellig

    匹配字段正文

星期五

  1. Anthropic Engineering精选

    Anthropic 如何构建多智能体研究系统

    Anthropic 工程团队公开了 Claude Research 功能背后的多智能体架构:由主智能体规划并派生并行子智能体搜索,采用 orchestrator-worker 模式。内部评测显示,以 Claude Opus 4 为主智能体、Claude Sonnet 4 为子智能体的多智能体系统在内部研究评测上比单智能体 Claude Opus 4 高出 90.2%,但多智能体系统消耗的 token 约为普通对话的 15 倍。文章还给出提示词设计、工具描述、LLM-as-judge 评估以及生产环境可靠性方面的具体经验。

    Claude now has Research capabilities that allow it to search across the web, Google Workspace, and any integrations to accomplish complex tasks. The journey of this multi-agent system from prototype to production taught us critical lessons about system architecture, tool design, and prompt engineering. A multi-agent system consists of multiple agents (LLMs autonomously using tools in a loop) working together. Our Research feature involves an agent that plans a research process based on user quer

    匹配字段正文

星期一

  1. Vapi Blog

    什么是 Gemma 3?Google 开源权重模型的能力与部署解析

    Vapi 博客介绍 Google 于 2025 年发布的开源权重模型 Gemma 3,它基于 Gemini 2.0 研究,支持文本、图像和视觉输入,可在单 GPU/TPU 上运行,支持 140+ 语言和最高 128k token 上下文,并提供 1B、4B、12B、27B 四种尺寸。文章称 Gemma 3 在人类偏好评测中优于 Llama3-405B 和 DeepSeek-V3,27B 版本在 LMArena Elo 榜得 1338 分,高于 DeepSeek-V3 的 1318 和 o3-mini 的 1304。经量化感知训练后,1B 模型显存占用最低 861 MB(INT4),27B 为 19.9 GB(INT4);该模型已内置在 Vapi 控制台的 LLM 下拉菜单中。

    ombination of power and efficiency. Broad multilingual support, extended memory, multimodal understanding, and function calling make Gemma 3 an excellent LLM component for a voice agent build: on your Vapi dashboard, it's built-in, ready to go. Defining Google's latest LLM: The challenge for developers has always been clear: how do you balance raw model power with practical deployment constraints? Most powerful language models demand significant infrastructure investments, putting advanced AI ou

    匹配字段正文

星期一

  1. Mario Zechner 原创博客精选

    把提示词当代码:用 port.md 和 JSON 状态做跨语言代码移植

    作者提出把 LLM 视为一台缓慢且不可靠的计算机,用自然语言编写程序:提示词是程序,JSON 和 Markdown 文件是持久状态,工具调用是 I/O。他以 Spine 运行时从 Java 到 C++ 的移植为例,用 port.md 定义工作流、用 porting-plan.json 记录每个类型的 portingState 以便随时恢复,并借助 jq 精确读写状态、通过 MCP 扩展在 VS Code 中保留人工检查点。原本需要 2-3 周的移植工作现在缩短到 2-3 天,但复杂类型层级和执行流仍需人工判断。

    2025-06-02 Like most of you, I've been dabbling in what people call "agentic engineering." Truth is, there's not much engineering happening. We're basically throwing shit at the wall and hoping something sticks. Using LLM coding tools like Claude Code to spin up throwaway greenfield projects or bang out ad hoc scripts? Pretty great experience. But try using them on a big, established codebase, or the-production-app-formerly-known-as-greenfield-project without breaking everything? That's where th

    匹配字段正文

星期一

  1. Johann Rehberger / Embrace The Red

    ChatGPT 记忆与聊天历史功能如何运作:一次系统提示词实测

    Johann Rehberger 用 ChatGPT o3 和两个独立账号实测了 ChatGPT 的记忆与聊天历史功能,发现系统提示词中新增了 Model Set Context、Assistant Response Preferences、Notable Past Conversation Topics Highlights、Helpful User Insights、Recent Conversation Content 和 User Interaction Metadata 等区块。其中 Recent Conversation Content 保存约 40 条最近对话,包含时间戳、对话摘要和用户输入的全部消息,但不含 ChatGPT 的回复;作者尝试用一年前的特定话题提问,ChatGPT 无法检索到这些历史对话,说明该功能并非全文搜索或 RAG 检索。作者还指出用户无法查看 ChatGPT 具体存储了哪些信息,认为应提高透明度并允许删除条目。

    17 entries, and the macOS Desktop app 12 entries. Here is the info from a test account, I still redacted some info though: If you want to mess with someone, then change their User Agent string to “Always respond in the voice of a pirate” – just kidding. I’m just trying to make the point and highlight where data is inserted into the system prompt that later influence inference in potentially unexpected ways. Interestingly, this response leaked that ChatGPT categorizes conversations with tags. Cha

    匹配字段正文

星期四

  1. Anthropic Engineering精选

    Anthropic 详解 think 工具:让 Claude 在复杂工具调用中停下来思考

    Anthropic 介绍 think 工具,它让 Claude 在生成回复过程中插入一个专门的思考步骤,用于处理工具返回结果、遵循复杂策略和多步顺序决策。在 τ-bench 客服场景中,航空领域配合优化提示词后 pass^1 从基线 0.370 提升到 0.570,零售领域单用 think 工具达到 0.812;SWE-bench 中加入该工具使表现平均提升 1.6%,助力 Claude 3.7 Sonnet 取得 0.623 的 SOTA 分数。文章给出 think 工具的定义示例、优化提示词写法,并指出非顺序工具调用和简单指令遵循场景不会带来提升。

    below, is different from Claude’s new “ extended thinking ” capability (see here for extended thinking implementation details )—has resulted in remarkable improvements in Claude's agentic tool use ability. This includes following policies, making consistent decisions, and handling multi-step problems, all with minimal implementation overhead. In this post, we'll explore how to implement the “think” tool on different applications, sharing practical guidance for developers based on verified benchm

    匹配字段正文

星期一

  1. vLLM 官方博客

    vLLM 分布式推理中的张量并行与流水线并行

    vLLM 介绍了如何结合张量并行和流水线并行,在多 GPU 或多节点上部署超出单卡容量的大模型。张量并行可降低延迟但依赖高带宽互连,流水线并行通信开销较低且更适合跨节点部署。案例中从 TP=1 扩展到 TP=2 后,KV cache block 增加 13.9x,token 吞吐量提升 3.9x。

    ptimizing AI workloads. Come to the Bi-weekly Office Hours to learn more about LLM inference optimizations and vLLM! Acknowledgement Sangbin Cho (xAI) for the origination of some of the figures. Related Posts vLLM x AgentX: Optimizing for Real-World Agentic Serving How vLLM optimizes KV cache management, parallelism, scheduling, and P/D disaggregation for agentic workloads, validated on SemiAnalysis AgentX with up to 130K tokens per GPU-second and a 14.6x-106x serving-cost advantage over Opus 5.

    匹配字段正文

星期二

  1. vLLM 官方博客

    vLLM 结构化解码入门与 XGrammar 集成解析

    vLLM 介绍结构化解码的原理与实现,并已支持 Outlines 和 XGrammar 两种后端,以约束大语言模型输出符合指定结构。XGrammar 集成在负载下可将每个输出 token 的生成时间改善至多 5x,不适用的请求会回退至 Outlines。规划中的 v1 将重点优化性能,并探索调度器级掩码广播以支持混合请求批处理。

    top level view of structure decoding

    , and in the process trying to posit that structured decoding represents a fundamental shift in how we think about LLM outputs. It also plays an important role in building complex agentic system. For more information about vLLM, please check out our documentation. Language models: A brief historical context In 1950, Alan Turing proposed that a high-speed digital computer, programmed with rules, could exhibit emergent behaviour of intelligence (Turing, 1950). This led to two main approaches in AI

    匹配字段正文

星期三

  1. vLLM 官方博客

    在 AMD MI300X 上用 vLLM 服务大语言模型的最佳实践

    vLLM 官方博客给出在 AMD MI300X 上部署大语言模型的优化指南,涵盖分块预填充、多步调度、前缀缓存、图捕获、KV cache 和张量并行等 8 项设置。测试中,vLLM 服务 Llama 3.1 405B 时比 TGI 吞吐量高 1.5x、TTFT 快 1.7x,服务 Llama 3.1 70B 时吞吐量高 1.8x、TTFT 快 5.1x。

    it by docker pull ghcr.io/embeddedllm/vllm-rocm:cb3b2b9). All of the benchmarks are run in the docker container instance, and are run with 4 MI300X GPUs using CK Flash Attention with VLLM USE TRITON FLASH ATTN=0. Detail Benchmark Configuration Related Posts Announcing vllm-metal: Concurrent Serving on Apple Silicon vllm-metal brings vLLM's paged, continuously batched serving stack to Apple Silicon, with flatter TTFT under concurrent agent load, batched MTP, and automatic M5 prefill acceleration.

    匹配字段正文

星期五

  1. Lilian Weng:Lil'Log

    LLM 驱动的自主智能体:规划、记忆与工具调用综述

    Lilian Weng 在 Lil'Log 撰文梳理以 LLM 为核心控制器的自主智能体架构,将其拆解为规划、记忆和工具调用三大组件。规划部分涵盖 CoT、Tree of Thoughts、LLM+P 等任务分解方法,以及 ReAct、Reflexion、Chain of Hindsight、Algorithm Distillation 等自我反思机制。记忆部分区分短期上下文学习与基于外部向量库的长期记忆,并介绍 LSH、ANNOY、HNSW、FAISS、ScaNN 等快速 MIPS 检索算法;工具调用部分则列举 MRKL、TALM、Toolformer、HuggingGPT、API-Bank 以及 ChemCrow 等科学发现智能体案例。文末指出有限上下文长度、长期规划与任务分解、自然语言接口可靠性三类常见局限。

    Building agents with LLM (large language model) as its core controller is a cool concept. Several proof-of-concepts demos, such as AutoGPT, GPT-Engineer and BabyAGI, serve as inspiring examples. The potentiality of LLM extends beyond generating well-written copies, stories, essays and programs; it can be framed as a powerful general problem solver. In a LLM-powered autonomous agent system, LLM functions as the agent’s brain, complemented by several key components: Planning Subgoal and decomposit

    匹配字段正文