<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[🐧 Installing Faster-Whisper on Linux — Step-by-Step Guide]]></title><description><![CDATA[<h2><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f3af.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--dart" style="height:23px;width:auto;vertical-align:middle" title="🎯" alt="🎯" /> What is Faster-Whisper?</h2>
<p dir="auto"><strong>Faster-Whisper</strong> is a reimplementation of OpenAI's Whisper model using CTranslate2, a fast inference engine for Transformer models. It is <strong>up to 4x faster</strong> than the original Whisper with the same accuracy while using less memory.</p>
<p dir="auto"><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> Supports NVIDIA GPU (CUDA 12 + cuDNN 9), CPU with INT8 quantization</p>
<hr />
<h2><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4cb.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--clipboard" style="height:23px;width:auto;vertical-align:middle" title="📋" alt="📋" /> Requirements</h2>
<ul>
<li>Python 3.9 or higher</li>
<li>Linux (Ubuntu 20.04+, Debian 11+, Fedora, Arch, etc.)</li>
<li>NVIDIA GPU with CUDA 12 drivers (optional)</li>
</ul>
<hr />
<h2><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f427.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--penguin" style="height:23px;width:auto;vertical-align:middle" title="🐧" alt="🐧" /> Step-by-Step Installation on Linux</h2>
<h3>1️⃣ Check Python</h3>
<p dir="auto">Most Linux distributions come with Python 3. Verify:</p>
<pre><code class="language-bash">python3 --version
pip3 --version
</code></pre>
<p dir="auto">If not installed:</p>
<pre><code class="language-bash"># Ubuntu/Debian
sudo apt update &amp;&amp; sudo apt install -y python3 python3-pip python3-venv

# Fedora
sudo dnf install python3 python3-pip

# Arch Linux
sudo pacman -S python python-pip
</code></pre>
<h3>2️⃣ (Recommended) Create a Virtual Environment</h3>
<pre><code class="language-bash">python3 -m venv whisper-env
source whisper-env/bin/activate
</code></pre>
<h3>3️⃣ Install Faster-Whisper</h3>
<pre><code class="language-bash">pip install faster-whisper
</code></pre>
<h3>4️⃣ GPU Acceleration — NVIDIA CUDA (Optional)</h3>
<h4>Option A — Install via pip (recommended)</h4>
<pre><code class="language-bash">pip install nvidia-cublas-cu12 nvidia-cudnn-cu12==9.*

export LD_LIBRARY_PATH=$(python3 -c "import os, nvidia.cublas.lib, nvidia.cudnn.lib; print(os.path.dirname(nvidia.cublas.lib.__file__) + ':' + os.path.dirname(nvidia.cudnn.lib.__file__))")
</code></pre>
<p dir="auto">Add to your ~/.bashrc:</p>
<pre><code class="language-bash">echo 'export LD_LIBRARY_PATH=$(python3 -c "import os, nvidia.cublas.lib, nvidia.cudnn.lib; print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__))")' &gt;&gt; ~/.bashrc
</code></pre>
<h4>Option B — Docker</h4>
<pre><code class="language-bash">docker run --gpus all -it --rm nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04
pip install faster-whisper
</code></pre>
<h3>5️⃣ Test the Installation</h3>
<p dir="auto">Create test_whisper.py:</p>
<pre><code class="language-python">from faster_whisper import WhisperModel

# CPU mode
model = WhisperModel("tiny", device="cpu", compute_type="int8")

# GPU mode (if you have NVIDIA)
# model = WhisperModel("tiny", device="cuda", compute_type="float16")

segments, info = model.transcribe("audio.mp3", beam_size=5)

print(f"Detected language: {info.language} (probability: {info.language_probability})")
for segment in segments:
    print(f"[{segment.start:.2f}s -&gt; {segment.end:.2f}s] {segment.text}")
</code></pre>
<p dir="auto">Run it:</p>
<pre><code class="language-bash">python3 test_whisper.py
</code></pre>
<hr />
<h2>🧠 Available Models</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Model</th>
<th>Size</th>
<th>RAM/VRAM</th>
<th>Recommended Use</th>
</tr>
</thead>
<tbody>
<tr>
<td>tiny</td>
<td>39M</td>
<td>~1GB</td>
<td>Quick tests</td>
</tr>
<tr>
<td>base</td>
<td>74M</td>
<td>~1GB</td>
<td>Basic use</td>
</tr>
<tr>
<td>small</td>
<td>244M</td>
<td>~2GB</td>
<td>CPU/GPU balance</td>
</tr>
<tr>
<td>medium</td>
<td>769M</td>
<td>~5GB</td>
<td>Quality</td>
</tr>
<tr>
<td>large-v3</td>
<td>1550M</td>
<td>~10GB</td>
<td>Maximum accuracy</td>
</tr>
<tr>
<td>distil-large-v3</td>
<td>756M</td>
<td>~5GB</td>
<td>Near-maximum + fast</td>
</tr>
</tbody>
</table>
<hr />
<h2><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f527.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--wrench" style="height:23px;width:auto;vertical-align:middle" title="🔧" alt="🔧" /> Linux Tips</h2>
<ul>
<li><strong>No GPU?</strong> Use <code>device="cpu"</code> with <code>compute_type="int8"</code> — excellent performance</li>
<li><strong>With NVIDIA GPU?</strong> Use <code>device="cuda"</code> with <code>compute_type="float16"</code> — up to 4x faster</li>
<li><strong>Batch transcription:</strong> Use <code>BatchedInferencePipeline(model=model).transcribe("audio.mp3", batch_size=16)</code> for long audio files</li>
<li><strong>VAD filter:</strong> Enable with <code>vad_filter=True</code> to skip silence automatically</li>
<li><strong>Word-level timestamps:</strong> Add <code>word_timestamps=True</code> for per-word timing</li>
</ul>
<h3>Batch transcription example:</h3>
<pre><code class="language-python">from faster_whisper import WhisperModel, BatchedInferencePipeline

model = WhisperModel("large-v3", device="cuda", compute_type="float16")
batched_model = BatchedInferencePipeline(model=model)
segments, info = batched_model.transcribe("podcast.mp3", batch_size=16)

for segment in segments:
    print(f"[{segment.start:.2f}s -&gt; {segment.end:.2f}s] {segment.text}")
</code></pre>
<hr />
<h2><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4da.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--books" style="height:23px;width:auto;vertical-align:middle" title="📚" alt="📚" /> References</h2>
<ul>
<li>Official repo: <a href="https://github.com/SYSTRAN/faster-whisper" rel="nofollow ugc">https://github.com/SYSTRAN/faster-whisper</a></li>
<li>CTranslate2 docs: <a href="https://github.com/OpenNMT/CTranslate2/" rel="nofollow ugc">https://github.com/OpenNMT/CTranslate2/</a></li>
<li>Whisper models: <a href="https://github.com/openai/whisper" rel="nofollow ugc">https://github.com/openai/whisper</a></li>
</ul>
<hr />
<p dir="auto"><em>Posted by SupportDev — Questions? Ask right here! <img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f427.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--penguin" style="height:23px;width:auto;vertical-align:middle" title="🐧" alt="🐧" /><img src="https://community.tacflow.ai/assets/plugins/nodebb-plugin-emoji/emoji/android/1f680.png?v=22224b5b6ea" class="not-responsive emoji emoji-android emoji--rocket" style="height:23px;width:auto;vertical-align:middle" title="🚀" alt="🚀" /></em></p>
]]></description><link>https://community.tacflow.ai/topic/43/installing-faster-whisper-on-linux-step-by-step-guide</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 11:30:26 GMT</lastBuildDate><atom:link href="https://community.tacflow.ai/topic/43.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jun 2026 21:51:06 GMT</pubDate><ttl>60</ttl></channel></rss>