Skip to content

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

10.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.4.0:更完整的 PyPI 安装包与更安全的 AutoModel 参数 | FunASR</title>
  <meta name="description" content="FunASR v1.4.0 修复 SenseVoice 与 RWKV-BAT wheel 包数据,提前拒绝 vda_model 误拼写,并在签名 GitHub Release 中提供源码与九个平台运行时。">
  <meta name="keywords" content="FunASR v1.4.0,PyPI,AutoModel,SenseVoice,RWKV-BAT,WebSocket ASR,llama.cpp,GGUF">
  <link rel="icon" href="/logo.png">
  <meta property="og:title" content="FunASR v1.4.0:更完整的 PyPI 安装包与更安全的 AutoModel 参数">
  <meta property="og:description" content="可回源验证的 wheel 与 sdist、明确的 PyPI/tagged source 边界,以及 12 个带 SHA-256 的发布资产。">
  <meta property="og:type" content="article">
  <meta property="og:url" content="https://www.funasr.com/blog/funasr-v1-4-0-pypi-release.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-4-0-pypi-release.html">
  <link rel="alternate" hreflang="en" href="https://www.funasr.com/en/blog/funasr-v1-4-0-pypi-release.html">
  <link rel="alternate" hreflang="zh" href="https://www.funasr.com/blog/funasr-v1-4-0-pypi-release.html">
  <link rel="alternate" hreflang="x-default" href="https://www.funasr.com/en/blog/funasr-v1-4-0-pypi-release.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.4.0:更完整的 PyPI 安装包与更安全的 AutoModel 参数","description":"可回源验证的 wheel 与 sdist、明确的 PyPI/tagged source 边界,以及 12 个带 SHA-256 的发布资产。","datePublished":"2026-07-31","dateModified":"2026-07-31","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-4-0-pypi-release.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-4-0-pypi-release.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.4.0:更完整的 PyPI 安装包与更安全的 AutoModel 参数</h1>
  <p class="post-meta">2026-07-31 · FunASR 每周正式发布</p>
  <img class="hero-media" src="/img/banner.4f436d19.png?v=1.4.0" alt="FunASR v1.4.0 发布视觉图">
  <p class="lead">FunASR v1.4.0 把“源码里存在、安装后也必须存在”变成可验证的发布契约:PyPI wheel 恢复 SenseVoice 英文拼写表和 RWKV-BAT CUDA 编译源码,同时在下载模型前拒绝常见的 <code>vda_model</code> 误拼写并提示 <code>vad_model</code>。</p>
  <p>签名 GitHub Release 同时提供 wheel、sdist、九个平台的 llama.cpp / GGUF 运行时和 <code>SHA256SUMS-v1.4.0</code>,共 12 个资产。</p>

  <h2>Python 包修复与发布边界</h2>
  <table>
    <thead><tr><th>交付边界</th><th>v1.4.0 内容</th><th>用户收益</th></tr></thead>
    <tbody>
      <tr><td>PyPI wheel</td><td><code>vda_model</code> 在模型下载前抛出明确错误并指向 <code>vad_model</code></td><td>VAD 分段、说话人处理和 <code>sentence_info</code> 不再因拼写错误被静默关闭</td></tr>
      <tr><td>PyPI wheel</td><td>包含 SenseVoice 的 <code>english.json</code></td><td><code>colour centre</code> 等英式拼写可稳定规范化为美式拼写</td></tr>
      <tr><td>PyPI wheel</td><td>包含 RWKV-BAT encoder/decoder 的四个 <code>.cpp</code>/<code>.cu</code> 文件</td><td>从已安装 wheel 运行时可定位 CUDA 扩展编译源码</td></tr>
      <tr><td>tagged source</td><td>legacy WebSocket 文件输入在 end-control 后完成 offline、online 与 2pass 尾音频并返回明确确认</td><td>该修复随 GitHub tagged source 分发,不属于 PyPI wheel;客户端不会把固定 sleep 误当完成信号</td></tr>
    </tbody>
  </table>

  <h2>1. 安装并确认版本</h2>
  <p>从 public PyPI 固定正式版:</p>
  <pre><code>python -m pip install -U "funasr==1.4.0"
funasr --version</code></pre>
  <p>public PyPI 只发布这两个 Python 文件:<code>funasr-1.4.0-py3-none-any.whl</code> 与 <code>funasr-1.4.0.tar.gz</code>。它们的 size 和 SHA-256 已与 exact-main 构建逐字节核对,并再次 no-cache 下载、隔离安装和 smoke。</p>
  <div class="proof">发布前通过 87 项 package/AutoModel/WebSocket/docs/runtime/llama.cpp 测试(另有 1 项在线模型下载测试按已知环境限制 deselect)和 52 项产品站测试;wheel 与 sdist 通过 Twine 7.0,public 回源安装再次验证版本、import、拼写保护、SenseVoice 英文规范化和四个 RWKV-BAT kernel 文件。</div>

  <h2>2. 九个平台运行时与校验清单</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> 的全部九个平台资产:</p>
  <ul>
    <li><code>linux-arm64</code>、<code>linux-x64</code>、<code>linux-x64-avx2</code>、<code>linux-x64-vulkan</code></li>
    <li><code>macos-arm64</code></li>
    <li><code>windows-x64</code>、<code>windows-x64-avx2</code>、<code>windows-x64-cuda</code>、<code>windows-x64-vulkan</code></li>
  </ul>
  <p>下载后在同一目录校验:</p>
  <pre><code>sha256sum -c SHA256SUMS-v1.4.0</code></pre>
  <p>模型、命令与硬件选择见<a href="/llama-cpp.html"> llama.cpp / GGUF 专页</a>。manifest 覆盖 wheel、sdist 和九个 runtime;manifest 自身的 GitHub digest 也已核验。</p>

  <div class="cta">
    <p>先用固定版本在真实音频上复现,再按 SHA-256 选择适合硬件的运行时。遇到问题请附模型、设备、输入边界和可复现命令。</p>
    <a class="btn" href="https://github.com/modelscope/FunASR/releases/tag/v1.4.0" target="_blank" rel="noopener">查看 v1.4.0 发布与 12 个资产</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>