mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-10 02:22:16 +00:00
245 lines
15 KiB
HTML
245 lines
15 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en">
|
|
<head>
|
|
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>From pre-compiled wheels (Recommended) — kaldifeat 1.25.5 documentation</title>
|
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
|
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css" />
|
|
|
|
|
|
<script src="../_static/jquery.js"></script>
|
|
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
|
|
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
|
<script src="../_static/doctools.js"></script>
|
|
<script src="../_static/sphinx_highlight.js"></script>
|
|
<script src="../_static/js/theme.js"></script>
|
|
<link rel="index" title="Index" href="../genindex.html" />
|
|
<link rel="search" title="Search" href="../search.html" />
|
|
<link rel="next" title="Install kaldifeat from source" href="from_source.html" />
|
|
<link rel="prev" title="Installation" href="index.html" />
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav">
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search" >
|
|
|
|
|
|
|
|
<a href="../index.html" class="icon icon-home">
|
|
kaldifeat
|
|
</a>
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<p class="caption" role="heading"><span class="caption-text">Contents</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../intro.html">Introduction</a></li>
|
|
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Installation</a><ul class="current">
|
|
<li class="toctree-l2 current"><a class="current reference internal" href="#">From pre-compiled wheels (Recommended)</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="#linux-cpu">Linux (CPU)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#windows-cpu">Windows (CPU)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#macos-cpu">macOS (CPU)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#linux-cuda">Linux (CUDA)</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="from_source.html">Install kaldifeat from source</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="faq.html">FAQs</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../usage/index.html">Usage</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="../index.html">kaldifeat</a>
|
|
</nav>
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content style-external-links">
|
|
<div role="navigation" aria-label="Page navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
|
|
<li class="breadcrumb-item"><a href="index.html">Installation</a></li>
|
|
<li class="breadcrumb-item active">From pre-compiled wheels (Recommended)</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/csukuangfj/kaldifeat/blob/master/kaldifeat/docs/source/installation/from_wheels.rst" class="fa fa-github"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<section id="from-pre-compiled-wheels-recommended">
|
|
<h1>From pre-compiled wheels (Recommended)<a class="headerlink" href="#from-pre-compiled-wheels-recommended" title="Permalink to this heading"></a></h1>
|
|
<p>You can find pre-compiled wheels at</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><p>CPU wheels: <a class="reference external" href="https://csukuangfj.github.io/kaldifeat/cpu.html">https://csukuangfj.github.io/kaldifeat/cpu.html</a></p></li>
|
|
<li><p>CUDA wheels: <a class="reference external" href="https://csukuangfj.github.io/kaldifeat/cuda.html">https://csukuangfj.github.io/kaldifeat/cuda.html</a></p></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>We give a few examples below to show you how to install <a class="reference external" href="https://github.com/csukuangfj/kaldifeat">kaldifeat</a> from
|
|
pre-compiled wheels.</p>
|
|
<div class="admonition hint">
|
|
<p class="admonition-title">Hint</p>
|
|
<p>The following lists only some examples. We suggest that you always select the
|
|
latest version of <code class="docutils literal notranslate"><span class="pre">kaldifeat</span></code>.</p>
|
|
</div>
|
|
<section id="linux-cpu">
|
|
<h2>Linux (CPU)<a class="headerlink" href="#linux-cpu" title="Permalink to this heading"></a></h2>
|
|
<p>Suppose you want to install the following wheel:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/ubuntu-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
</pre></div>
|
|
</div>
|
|
<p>you can use one of the following methods:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># method 1</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.4.dev20240725+cpu.torch2.4.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># pip install kaldifeat==1.25.4.dev20240725+cpu.torch2.4.0 -f https://csukuangfj.github.io/kaldifeat/cpu-cn.html</span>
|
|
|
|
<span class="c1"># method 2</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
wget<span class="w"> </span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/ubuntu-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># wget https://hf-mirror.com/csukuangfj/kaldifeat/resolve/main/ubuntu-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl</span>
|
|
|
|
pip<span class="w"> </span>install<span class="w"> </span>./kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="windows-cpu">
|
|
<h2>Windows (CPU)<a class="headerlink" href="#windows-cpu" title="Permalink to this heading"></a></h2>
|
|
<p>Suppose you want to install the following wheel:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/windows-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-win_amd64.whl
|
|
</pre></div>
|
|
</div>
|
|
<p>you can use one of the following methods:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># method 1</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.4.dev20240725+cpu.torch2.4.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># pip install kaldifeat==1.25.4.dev20240725+cpu.torch2.4.0 -f https://csukuangfj.github.io/kaldifeat/cpu-cn.html</span>
|
|
|
|
<span class="c1"># method 2</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
wget<span class="w"> </span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/windows-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-win_amd64.whl
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># wget https://hf-mirror.com/csukuangfj/kaldifeat/resolve/main/windows-cpu/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-win_amd64.whl</span>
|
|
|
|
pip<span class="w"> </span>install<span class="w"> </span>./kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp312-cp312-win_amd64.whl
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="macos-cpu">
|
|
<h2>macOS (CPU)<a class="headerlink" href="#macos-cpu" title="Permalink to this heading"></a></h2>
|
|
<p>Suppose you want to install the following wheel:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/macos/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp311-cp311-macosx_11_0_arm64.whl
|
|
</pre></div>
|
|
</div>
|
|
<p>you can use one of the following methods:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># method 1</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.4.dev20240725+cpu.torch2.4.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># pip install kaldifeat==1.25.4.dev20240725+cpu.torch2.4.0 -f https://csukuangfj.github.io/kaldifeat/cpu-cn.html</span>
|
|
|
|
<span class="c1"># method 2</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
wget<span class="w"> </span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/macos/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp311-cp311-macosx_11_0_arm64.whl
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># wget https://hf-mirror.com/csukuangfj/kaldifeat/resolve/main/macos/kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp311-cp311-macosx_11_0_arm64.whl</span>
|
|
|
|
pip<span class="w"> </span>install<span class="w"> </span>./kaldifeat-1.25.4.dev20240725+cpu.torch2.4.0-cp311-cp311-macosx_11_0_arm64.whl
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
<section id="linux-cuda">
|
|
<h2>Linux (CUDA)<a class="headerlink" href="#linux-cuda" title="Permalink to this heading"></a></h2>
|
|
<p>Suppose you want to install the following wheel:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/ubuntu-cuda/kaldifeat-1.25.4.dev20240725+cuda12.4.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
</pre></div>
|
|
</div>
|
|
<p>you can use one of the following methods:</p>
|
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># method 1</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cu124<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.4.dev20240725+cuda12.4.torch2.4.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cuda.html
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># pip install kaldifeat==1.25.4.dev20240725+cuda12.4.torch2.4.0 -f https://csukuangfj.github.io/kaldifeat/cuda-cn.html</span>
|
|
|
|
<span class="c1"># method 2</span>
|
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.4.0+cu124<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch/
|
|
wget<span class="w"> </span>https://huggingface.co/csukuangfj/kaldifeat/resolve/main/ubuntu-cuda/kaldifeat-1.25.4.dev20240725+cuda12.4.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
|
|
<span class="c1"># For users from China</span>
|
|
<span class="c1"># 中国国内用户,如果访问不了 huggingface, 请使用</span>
|
|
<span class="c1"># wget https://hf-mirror.com/csukuangfj/kaldifeat/resolve/main/ubuntu-cuda/kaldifeat-1.25.4.dev20240725+cuda12.4.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl</span>
|
|
|
|
pip<span class="w"> </span>install<span class="w"> </span>./kaldifeat-1.25.4.dev20240725+cuda12.4.torch2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
</pre></div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
|
<a href="index.html" class="btn btn-neutral float-left" title="Installation" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
|
<a href="from_source.html" class="btn btn-neutral float-right" title="Install kaldifeat from source" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>© Copyright 2021, Fangjun Kuang.</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
|
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
|
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script>
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |