Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

11.0 KB
Raw Blame
<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>FunASR v1.3.28:实时识别可靠性与字幕对齐修复 | FunASR</title>
  <meta name="description" content="FunASR v1.3.28 修复实时 WebSocket 收尾、STOP 与断线异常处理,并改进 SenseVoice 字幕文本和时间戳对齐;发布页同时提供 wheel、源码包和九个平台运行时。">
  <meta name="keywords" content="FunASR v1.3.28,实时语音识别,WebSocket ASR,SenseVoice 字幕,时间戳,llama.cpp ASR,GGUF,自托管语音识别">
  <link rel="icon" href="/logo.png">
  <meta property="og:title" content="FunASR v1.3.28:实时识别可靠性与字幕对齐修复">
  <meta property="og:description" content="连续完整的实时终稿、可靠的 STOP 收尾、对齐的 SenseVoice 字幕,以及 11 个发布资产。">
  <meta property="og:type" content="article">
  <meta property="og:url" content="https://www.funasr.com/blog/funasr-v1-3-28-realtime-websocket-subtitles.html">
  <meta property="og:image" content="https://www.funasr.com/img/banner.4f436d19.png">
  <link rel="canonical" href="https://www.funasr.com/blog/funasr-v1-3-28-realtime-websocket-subtitles.html">
  <link rel="alternate" hreflang="en" href="https://www.funasr.com/en/blog/funasr-v1-3-28-realtime-websocket-subtitles.html">
  <link rel="alternate" hreflang="zh" href="https://www.funasr.com/blog/funasr-v1-3-28-realtime-websocket-subtitles.html">
  <link rel="alternate" hreflang="x-default" href="https://www.funasr.com/en/blog/funasr-v1-3-28-realtime-websocket-subtitles.html">
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&amp;display=swap" rel="stylesheet">
  <script type="application/ld+json">
  {"@context":"https://schema.org","@type":"BlogPosting","headline":"FunASR v1.3.28:实时识别可靠性与字幕对齐修复","description":"连续完整的实时终稿、可靠的 STOP 收尾、对齐的 SenseVoice 字幕,以及 11 个发布资产。","datePublished":"2026-07-24","dateModified":"2026-07-24","author":{"@type":"Organization","name":"FunASR / Tongyi Lab"},"publisher":{"@type":"Organization","name":"FunASR","logo":{"@type":"ImageObject","url":"https://www.funasr.com/logo.png"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://www.funasr.com/blog/funasr-v1-3-28-realtime-websocket-subtitles.html"},"image":"https://www.funasr.com/img/banner.4f436d19.png"}
  </script>
  <style>
  :root{--primary:#2563eb;--primary-dark:#1d4ed8;--accent:#047857;--bg:#fff;--surface:#f8fafc;--border:#e2e8f0;--text:#0f172a;--text-soft:#475569;--text-muted:#94a3b8}
  *{margin:0;padding:0;box-sizing:border-box}
  body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.7;background:var(--bg)}
  a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
  .container{max-width:800px;margin:0 auto;padding:0 24px}
  .nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:14px 0}
  .nav .container{max-width:1120px;display:flex;align-items:center;gap:24px}
  .nav-logo{font-size:1.2rem;font-weight:800;color:var(--text)}.nav-logo span{color:var(--primary)}
  .nav-links{display:flex;gap:20px;margin-left:auto;flex-wrap:wrap}.nav-links a{font-size:.85rem;font-weight:500;color:var(--text-soft)}
  .nav-btn{padding:7px 16px;background:var(--primary);color:#fff;border-radius:7px;font-size:.83rem;font-weight:600}
  article{padding:116px 0 80px}
  h1{font-size:2rem;font-weight:800;line-height:1.3;margin-bottom:14px}
  h2{font-size:1.3rem;font-weight:700;margin:38px 0 14px;padding-top:18px;border-top:1px solid var(--border)}
  h3{font-size:1.05rem;font-weight:700;margin:24px 0 10px}
  p{margin-bottom:14px;color:var(--text-soft)}
  ul{margin:0 0 16px 22px;color:var(--text-soft)}li{margin-bottom:7px}
  table{width:100%;border-collapse:collapse;margin:18px 0;font-size:.88rem}
  th,td{padding:11px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}th{font-weight:600;background:var(--surface);color:var(--text)}
  pre{background:#172033;color:#e2e8f0;padding:18px;border-radius:8px;overflow-x:auto;font-size:.82rem;line-height:1.7;margin:14px 0}
  code{font-family:ui-monospace,Menlo,monospace}p code,li code,td code{background:var(--surface);padding:2px 6px;border-radius:5px;font-size:.85em;color:var(--primary-dark)}
  .post-meta{color:var(--text-muted);font-size:.85rem;margin-bottom:22px}
  .lead{font-size:1.05rem;color:var(--text);margin:22px 0}
  .hero-media{display:block;width:100%;aspect-ratio:2.04/1;object-fit:cover;border-radius:8px;border:1px solid var(--border);margin:0 0 24px}
  .proof{border-left:4px solid var(--accent);background:#f0fdf4;padding:14px 16px;margin:18px 0;color:#14532d}
  .cta{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:24px;margin:30px 0;text-align:center}.cta p{margin-bottom:16px}.cta a.btn{display:inline-block;padding:10px 22px;background:var(--primary);color:#fff;border-radius:7px;font-weight:600}
  footer{background:#0f172a;color:#94a3b8;padding:28px 0;text-align:center;font-size:.8rem}footer a{color:#94a3b8}
  @media(max-width:900px){.nav-links{display:none}.nav .container{gap:16px}.nav-logo{margin-right:auto}h1{font-size:1.65rem}table{font-size:.8rem}th,td{padding:9px 8px}}
  </style>
</head>
<body>
<nav class="nav"><div class="container"><a href="/" class="nav-logo">Fun<span>ASR</span></a><div class="nav-links"><a href="/#capabilities">核心能力</a><a href="/#usage">如何使用</a><a href="/#benchmark">性能</a><a href="/#demo">演示</a><a href="https://modelscope.github.io/FunASR/zh/" target="_blank">文档</a><a href="/quickstart.html">快速上手</a><a href="/models.html">模型</a><a href="/ecosystem.html">生态</a><a href="/blog/">技术博客</a><a href="/vs-whisper.html">对比 Whisper</a><a href="/donors.html">功德榜</a></div><a href="/en/blog/funasr-v1-3-28-realtime-websocket-subtitles.html" style="font-size:.83rem;font-weight:500;color:var(--text-soft)">EN</a><a href="https://github.com/modelscope/FunASR" target="_blank" rel="noopener" class="nav-btn">GitHub ★</a></div></nav>
<article><div class="container">
  <h1>FunASR v1.3.28:实时识别可靠性与字幕对齐修复</h1>
  <p class="post-meta">2026-07-24 · FunASR 每周发布</p>
  <img class="hero-media" src="/img/banner.4f436d19.png?v=1.3.28" alt="FunASR 工业级语音识别视觉图">
  <p class="lead">FunASR v1.3.28 是一次面向实时转写和字幕生成的可靠性热修复。实时 WebSocket 最终解码退化时会保留连续完整的最佳结果,SenseVoice 字幕也会保持文本、标签和时间戳对齐。</p>
  <p>签名发布页同时提供 Python wheel、源码包和九个平台的 llama.cpp / GGUF 自包含运行时。</p>

  <h2>这次修复了什么</h2>
  <table>
    <thead><tr><th>场景</th><th>v1.3.28 行为</th><th>用户收益</th></tr></thead>
    <tbody>
      <tr><td>VAD 锁句后的终稿退化为短前缀、重复文本或异常</td><td>服务保留覆盖当前语音段的干净连续 partial</td><td>实时终稿不再丢失句尾,也不会被重复幻觉替换</td></tr>
      <tr><td>短音频尾部随后收到 <code>STOP</code></td><td>待处理采样统一进入最终解码路径</td><td>短句结尾不会被静默丢弃</td></tr>
      <tr><td>WebSocket 断线或处理异常</td><td>显式导入连接异常,其他错误稳定进入通用处理</td><td>异常处理不再依赖 <code>websockets</code> 的延迟属性和导入顺序</td></tr>
      <tr><td>SenseVoice 字幕分句</td><td>富标签、标点和词/BPE 时间戳保持对齐</td><td>中文不会被压成一个字幕块,英文原文也不会受损</td></tr>
    </tbody>
  </table>

  <h2>1. 升级 Python 包</h2>
  <p>实时识别和字幕部署都建议固定到本次热修复版本:</p>
  <pre><code>python -m pip install -U "funasr==1.3.28"
funasr --version</code></pre>
  <p>包版本、命令行版本和服务启动横幅都会显示 <code>1.3.28</code>;已有模型缓存和 API 请求格式无需迁移。</p>

  <h2>2. 实时识别与字幕入口</h2>
  <p>Fun-ASR-Nano 实时会话可使用包内入口并参照仓库 vLLM 指南配置。客户端 <code>COMMIT</code> 与服务端 VAD 模式现在共享修复后的最终收尾逻辑。</p>
  <pre><code>funasr-realtime-server --help
# 模型和设备参数见 docs/vllm_guide_zh.md</code></pre>
  <div class="proof">精确合并源码通过 118 项聚焦回归测试;实时 WebSocket 文件还独立通过 60 项测试,覆盖 STOP 最终解码和不依赖导入顺序的异常处理。</div>
  <p>SenseVoice 用户通过同一次包升级获得字幕对齐修复,无需迁移输出结构。</p>

  <h2>3. 下载 llama.cpp / GGUF 自包含运行时</h2>
  <p><a href="https://github.com/modelscope/FunASR/releases/tag/runtime-llamacpp-v0.1.9" target="_blank" rel="noopener">runtime-llamacpp-v0.1.9</a> 同时提供九个 Linux x64/ARM64、macOS ARM64 和 Windows x64 包,其中 Linux 支持 AVX2/Vulkan,Windows 支持 AVX2/Vulkan/CUDA,并提供 <code>funasr-llamacpp-windows-x64-vulkan.zip</code>。每个压缩包都带自包含的 <code>llama-funasr-*</code> 二进制入口。</p>
  <ul>
    <li>不想维护 Python 环境:选标准 CPU 包。</li>
    <li>桌面 GPU:按平台选择 Vulkan 或 CUDA 包。</li>
    <li>边缘设备与 Apple Silicon:选择 ARM64 包。</li>
  </ul>
  <p>模型、命令与硬件选择见<a href="/llama-cpp.html"> llama.cpp / GGUF 专页</a>,发布资产和模型版本保持对应,避免用户在多个 release 中寻找文件。</p>

  <h2>四个仓库分别解决什么</h2>
  <table>
    <thead><tr><th>仓库</th><th>适合关注的内容</th></tr></thead>
    <tbody>
      <tr><td><a href="https://github.com/modelscope/FunASR" target="_blank" rel="noopener">FunASR</a></td><td>工具包、服务、OpenAI API、vLLM、llama.cpp 与部署文档</td></tr>
      <tr><td><a href="https://github.com/QwenAudio/Fun-ASR" target="_blank" rel="noopener">Fun-ASR</a></td><td>Fun-ASR-Nano / MLT 模型、能力、评测和模型级集成</td></tr>
      <tr><td><a href="https://github.com/QwenAudio/SenseVoice" target="_blank" rel="noopener">SenseVoice</a></td><td>多语言 ASR、情感、语言和音频事件识别</td></tr>
      <tr><td><a href="https://github.com/modelscope/FunClip" target="_blank" rel="noopener">FunClip</a></td><td>由语音识别驱动的视频理解、检索与剪辑</td></tr>
    </tbody>
  </table>

  <div class="cta">
    <p>从最适合你的入口跑通一个真实音频。遇到问题可在 GitHub 提交可复现 issue;如果项目对你有用,也欢迎 Star 你实际使用的仓库。</p>
    <a class="btn" href="https://github.com/modelscope/FunASR/releases/tag/v1.3.28" target="_blank" rel="noopener">查看 v1.3.28 发布与下载</a>
  </div>
</div></article>
<footer><div class="container">© 2024-2026 Tongyi Lab, Alibaba Group · <a href="https://github.com/modelscope/FunASR/blob/main/LICENSE">MIT License</a></div></footer>
</body>
</html>