AISpot

llama.cpp 修復 Qwen3-Coder 解析,推理內容在模板分隔符前截斷

llama.cpp releases版本更新地端推論開源

llama.cpp 建置 b11951 修復了 Qwen3-Coder 的聊天解析問題:在模板分隔符出現前就停止提取 reasoning 與正文,並清理解析結果末尾的空白字元;同時新增對生成末尾部分字首匹配的處理,並移除了聊天會話測試中的 Qwen 解析器用例。該版本覆蓋 macOS、Linux、Windows、Android 等多平台預編譯包,CUDA 12/13、ROCm 10.0、Vulkan、SYCL 等後端均在列。

原標題:b11951
閱讀原文

評分38 / 38(平均 38,門檻 60)
狀態未入選

原文

chat : stop qwen3-coder reasoning and content before template separators ( #30557 ) chat : strip trailing whitespace from parsed reasoning and content Assisted-by: Claude Fable 5.1 chat : stop qwen3-coder reasoning and content before template separators Assisted-by: Claude tests : remove the Qwen parser case from the chat session tests Assisted-by: Claude common : handle partial prefix until match at end of generation Co-authored-by: Zeshawn Zahid [email protected] Co-authored-by: Alde Rojas [email protected] Website: https://llama.app Attestations: https://github.com/ggml-org/llama.cpp/attestations/60748371 macOS/iOS: macOS Apple Silicon (arm64) macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED macOS Intel (x64) iOS XCFramework Linux: Ubuntu x64 (CPU) Ubuntu arm64 (CPU) Ubuntu s390x (CPU) Ubuntu x64 (Vulkan) Ubuntu arm64 (Vulkan) Ubuntu x64 (CUDA 12) - CUDA 12.8 libraries Ubuntu x64 (CUDA 13) - CUDA 13.4 libraries Ubuntu arm64 (CUDA 13) - CUDA 13.4 libraries Ubuntu x64 (ROCm 10.0) Ubuntu x64 (OpenVINO) Ubuntu x64 (SYCL FP32) Ubuntu x64 (SYCL FP16) Linux arm64 (Snapdragon: CPU, Adreno GPU, Hexagon NPU) - setup guide Android: Android arm64 (CPU) Android arm64 (Snapdragon: CPU, Adreno GPU, Hexagon NPU) - setup guide Windows: Windows x64 (CPU) Windows arm64 (CPU) Windows arm64 (OpenCL Adreno) Windows x64 (CUDA 12) - CUDA 12.4 DLLs Windows x64 (CUDA 13) - CUDA 13.4 DLLs Windows arm64 (CUDA 13) - CUDA 13.4 DLLs Windows x64 (Vulkan) Windows arm64 (Vulkan) Windows x64 (OpenVINO) Windows x64 (SYCL) Windows x64 (ROCm 10.0) openEuler: DISABLED openEuler x86 (310p) openEuler x86 (910b, ACL Graph) openEuler aarch64 (310p) openEuler aarch64 (910b, ACL Graph) UI: UI

相關報導

llama.cpp releasesAI 評分42

llama.cpp b12019 修復 Qwen3-Coder 思考塊處理

llama.cpp 發布 b12019,chat 模組修復 Qwen3-Coder 在 reasoning_format 設為 none 時的 think 塊處理:會剝離回應中的思考塊,同時也相容帶 think 塊的回應格式,並預先定義兩種 think 塊變體。其餘改動集中在建置產物:macOS Apple Silicon 的 KleidiAI 版本被停用,新增 Ubuntu 26.04 s390x(CPU、zDNN)等目標,openEuler 建置整體關閉。