How to install and use Whisper offline (no internet required) #1463
Replies: 10 comments 20 replies
-
Or just download executable from there: https://github.com/Purfview/whisper-standalone-win |
Beta Was this translation helpful? Give feedback.
-
it's a very detailed instruction, but i would advise against the files transfer between pc for offline installation, it's quite tricky |
Beta Was this translation helpful? Give feedback.
-
So by running Whisper api on our own pcs we dont have to pay openAI to use it? |
Beta Was this translation helpful? Give feedback.
-
pip install blobfile-2.0.2-py3-none-any.whl this returns a no such file exist error what should i do? |
Beta Was this translation helpful? Give feedback.
-
I like this project very much. It works very well. Does whisper-faster have a method for calling programs? I want the engine to be on standby for inference all the time after loading, instead of having to reason from the command line every time, which is slow. |
Beta Was this translation helpful? Give feedback.
-
I also installed it on a dedicated server and was wondering if there is another way to use it than with the cmd. Is there an api I can call? This would be easier if I want to use it from other servers in this env. |
Beta Was this translation helpful? Give feedback.
-
Is there an instruction on how to install and use Whisper offline (no internet required) for Ubuntu? |
Beta Was this translation helpful? Give feedback.
-
I have a problem with large and large-v2 models. I can use offline everything but them. When I try to select them, whisper tries to connect to the internet to check something, but only with those two models. I redownloaded few times and still happens. Any idea? |
Beta Was this translation helpful? Give feedback.
-
Hi! You can hate me, but why WhiPser guys? Is there something we should not know? |
Beta Was this translation helpful? Give feedback.
-
This guide can also be found at Whisper Full (& Offline) Install Process for Windows 10/11
Whisper Full (& Offline) Install Process for Windows 10/11
Purpose: These instructions cover the steps not explicitly set out on the main Whisper page, e.g. for those who have never used python code/apps before and do not have the prerequisite software already installed.
Requirements:
Installation
Step 1: Unlisted Pre-Requisites
Step 2B: Whipser Install (Online Install for Online Use)
pip install git+https://github.com/openai/whisper.git
Step 2B: Whipser Install (Online Install for later Offline Use)
pip install git+https://github.com/openai/whisper.git
pip install blobfile
Step 2C: Whipser Install (Offline Install for later Offline Use)
pip download git+https://github.com/openai/whisper.git
pip download blobfile
pip install openai-whisper-20230314.zip
(note the date may have changed if you used Option 1 above).pip install blobfile-2.0.2-py3-none-any.whl
. (note the version may have changed if you used Option 1 above).Step 3: Download Other Required Files (for Offline Use)
C:\Users[Username]\.cache\whisper
Note: If the links are dead updated links can be found at lines 17-27 here: init.pyC:\Users[Username]\.cache\whisper
.C:\Users[UserName]\AppData\Local\Programs\Python\Python310-32\Lib\site-packagespython3.9/site-packages/tiktoken_ext/openai_public.py
to point to where you downloaded the files."https://openaipublic.blob.core.windows.net/gpt-2/encodings/main/"
and replace it with your local copy, e.g."C:/Users/[Username]/.cache/whisper/vocab.bpe"
and"C:/Users/[Username]/.cache/whisper/encoder.json"
Alternative Offline Method
See the pre-compiled .exe version of Whisper provided here: Purfview / Whisper Standalone
Beta Was this translation helpful? Give feedback.
All reactions