Closed BarfingLemurs closed 1 year ago
I got it working with conda.
(base) ubuntu@ubuntu-MS-7C56:~$ conda activate whisperx
(whisperx) ubuntu@ubuntu-MS-7C56:~$ conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 23.1.0
latest version: 23.3.1
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.3.1
## Package Plan ##
environment location: /home/ubuntu/miniconda3/envs/whisperx
added / updated specs:
- pytorch==1.11.0
- torchaudio==0.11.0
- torchvision==0.12.0
The following packages will be downloaded:
package | build
---------------------------|-----------------
blas-1.0 | mkl 6 KB
brotlipy-0.7.0 |py39h27cfd23_1003 324 KB
cffi-1.15.1 | py39h5eee18b_3 242 KB
cryptography-39.0.1 | py39h9ce1e76_0 1.4 MB
cudatoolkit-11.3.1 | h2bc3f7f_2 549.3 MB
ffmpeg-4.3 | hf484d3e_0 9.9 MB pytorch
flit-core-3.8.0 | py39h06a4308_0 84 KB
freetype-2.12.1 | h4a9f257_0 626 KB
giflib-5.2.1 | h5eee18b_3 80 KB
gmp-6.2.1 | h295c915_3 544 KB
gnutls-3.6.15 | he1e5248_0 1.0 MB
idna-3.4 | py39h06a4308_0 93 KB
intel-openmp-2021.4.0 | h06a4308_3561 4.2 MB
jpeg-9e | h5eee18b_1 262 KB
lame-3.100 | h7b6447c_0 323 KB
lcms2-2.12 | h3be6417_0 312 KB
lerc-3.0 | h295c915_0 196 KB
libdeflate-1.17 | h5eee18b_0 69 KB
libiconv-1.16 | h7f8727e_2 736 KB
libidn2-2.3.2 | h7f8727e_0 81 KB
libpng-1.6.39 | h5eee18b_0 304 KB
libtasn1-4.19.0 | h5eee18b_0 63 KB
libtiff-4.5.0 | h6a678d5_2 479 KB
libunistring-0.9.10 | h27cfd23_0 536 KB
libuv-1.44.2 | h5eee18b_0 864 KB
libwebp-1.2.4 | h11a3e52_1 86 KB
libwebp-base-1.2.4 | h5eee18b_1 376 KB
lz4-c-1.9.4 | h6a678d5_0 154 KB
mkl-2021.4.0 | h06a4308_640 142.6 MB
mkl-service-2.4.0 | py39h7f8727e_0 59 KB
mkl_fft-1.3.1 | py39hd3c417c_0 182 KB
mkl_random-1.2.2 | py39h51133e4_0 309 KB
nettle-3.7.3 | hbbd107a_1 809 KB
numpy-1.23.5 | py39h14f4228_0 10 KB
numpy-base-1.23.5 | py39h31eccc5_0 6.7 MB
openh264-2.1.1 | h4ff587b_0 711 KB
pillow-9.4.0 | py39h6a678d5_0 727 KB
pyopenssl-23.0.0 | py39h06a4308_0 96 KB
pysocks-1.7.1 | py39h06a4308_0 31 KB
pytorch-1.11.0 |py3.9_cuda11.3_cudnn8.2.0_0 1.02 GB pytorch
pytorch-mutex-1.0 | cuda 3 KB pytorch
requests-2.28.1 | py39h06a4308_1 99 KB
torchaudio-0.11.0 | py39_cu113 5.3 MB pytorch
torchvision-0.12.0 | py39_cu113 9.2 MB pytorch
typing_extensions-4.4.0 | py39h06a4308_0 46 KB
urllib3-1.26.15 | py39h06a4308_0 197 KB
zstd-1.5.4 | hc292b87_0 637 KB
------------------------------------------------------------
Total: 1.74 GB
The following NEW packages will be INSTALLED:
blas pkgs/main/linux-64::blas-1.0-mkl
brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py39h27cfd23_1003
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
cffi pkgs/main/linux-64::cffi-1.15.1-py39h5eee18b_3
charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
cryptography pkgs/main/linux-64::cryptography-39.0.1-py39h9ce1e76_0
cudatoolkit pkgs/main/linux-64::cudatoolkit-11.3.1-h2bc3f7f_2
ffmpeg pytorch/linux-64::ffmpeg-4.3-hf484d3e_0
flit-core pkgs/main/linux-64::flit-core-3.8.0-py39h06a4308_0
freetype pkgs/main/linux-64::freetype-2.12.1-h4a9f257_0
giflib pkgs/main/linux-64::giflib-5.2.1-h5eee18b_3
gmp pkgs/main/linux-64::gmp-6.2.1-h295c915_3
gnutls pkgs/main/linux-64::gnutls-3.6.15-he1e5248_0
idna pkgs/main/linux-64::idna-3.4-py39h06a4308_0
intel-openmp pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561
jpeg pkgs/main/linux-64::jpeg-9e-h5eee18b_1
lame pkgs/main/linux-64::lame-3.100-h7b6447c_0
lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0
lerc pkgs/main/linux-64::lerc-3.0-h295c915_0
libdeflate pkgs/main/linux-64::libdeflate-1.17-h5eee18b_0
libiconv pkgs/main/linux-64::libiconv-1.16-h7f8727e_2
libidn2 pkgs/main/linux-64::libidn2-2.3.2-h7f8727e_0
libpng pkgs/main/linux-64::libpng-1.6.39-h5eee18b_0
libtasn1 pkgs/main/linux-64::libtasn1-4.19.0-h5eee18b_0
libtiff pkgs/main/linux-64::libtiff-4.5.0-h6a678d5_2
libunistring pkgs/main/linux-64::libunistring-0.9.10-h27cfd23_0
libuv pkgs/main/linux-64::libuv-1.44.2-h5eee18b_0
libwebp pkgs/main/linux-64::libwebp-1.2.4-h11a3e52_1
libwebp-base pkgs/main/linux-64::libwebp-base-1.2.4-h5eee18b_1
lz4-c pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_0
mkl pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640
mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py39h7f8727e_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.3.1-py39hd3c417c_0
mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py39h51133e4_0
nettle pkgs/main/linux-64::nettle-3.7.3-hbbd107a_1
numpy pkgs/main/linux-64::numpy-1.23.5-py39h14f4228_0
numpy-base pkgs/main/linux-64::numpy-base-1.23.5-py39h31eccc5_0
openh264 pkgs/main/linux-64::openh264-2.1.1-h4ff587b_0
pillow pkgs/main/linux-64::pillow-9.4.0-py39h6a678d5_0
pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
pyopenssl pkgs/main/linux-64::pyopenssl-23.0.0-py39h06a4308_0
pysocks pkgs/main/linux-64::pysocks-1.7.1-py39h06a4308_0
pytorch pytorch/linux-64::pytorch-1.11.0-py3.9_cuda11.3_cudnn8.2.0_0
pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cuda
requests pkgs/main/linux-64::requests-2.28.1-py39h06a4308_1
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1
torchaudio pytorch/linux-64::torchaudio-0.11.0-py39_cu113
torchvision pytorch/linux-64::torchvision-0.12.0-py39_cu113
typing_extensions pkgs/main/linux-64::typing_extensions-4.4.0-py39h06a4308_0
urllib3 pkgs/main/linux-64::urllib3-1.26.15-py39h06a4308_0
zstd pkgs/main/linux-64::zstd-1.5.4-hc292b87_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: - By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
done
(whisperx) ubuntu@ubuntu-MS-7C56:~$ whisperx
whisperx: command not found
(whisperx) ubuntu@ubuntu-MS-7C56:~$ pip install git+https://github.com/m-bain/whisperx.git
Collecting git+https://github.com/m-bain/whisperx.git
Cloning https://github.com/m-bain/whisperx.git to /tmp/pip-req-build-0c5qkqjg
Running command git clone --filter=blob:none --quiet https://github.com/m-bain/whisperx.git /tmp/pip-req-build-0c5qkqjg
Resolved https://github.com/m-bain/whisperx.git to commit 9482d324d08c8269dba10969a5b79520a2794001
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from whisperx==2.0) (1.23.5)
Collecting pandas
Downloading pandas-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.4/12.4 MB 28.1 MB/s eta 0:00:00
Requirement already satisfied: torch>=1.9 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from whisperx==2.0) (1.11.0)
Requirement already satisfied: torchaudio<1.0,>=0.10 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from whisperx==2.0) (0.11.0)
Collecting tqdm
Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)
Collecting more-itertools
Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB)
Collecting transformers>=4.19.0
Using cached transformers-4.27.4-py3-none-any.whl (6.8 MB)
Collecting ffmpeg-python==0.2.0
Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting pyannote.audio
Using cached pyannote.audio-2.1.1-py2.py3-none-any.whl (390 kB)
Collecting openai-whisper==20230314
Downloading openai-whisper-20230314.tar.gz (792 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 792.9/792.9 kB 27.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting future
Using cached future-0.18.3.tar.gz (840 kB)
Preparing metadata (setup.py) ... done
Collecting numba
Downloading numba-0.56.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 24.4 MB/s eta 0:00:00
Collecting triton==2.0.0
Downloading triton-2.0.0-1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 MB 14.1 MB/s eta 0:00:00
Collecting tiktoken==0.3.1
Downloading tiktoken-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 16.9 MB/s eta 0:00:00
Collecting regex>=2022.1.18
Downloading regex-2023.3.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (768 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.0/769.0 kB 17.9 MB/s eta 0:00:00
Requirement already satisfied: requests>=2.26.0 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from tiktoken==0.3.1->openai-whisper==20230314->whisperx==2.0) (2.28.1)
Collecting cmake
Using cached cmake-3.26.1-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (24.0 MB)
Collecting lit
Using cached lit-16.0.0.tar.gz (144 kB)
Preparing metadata (setup.py) ... done
Collecting filelock
Downloading filelock-3.11.0-py3-none-any.whl (10.0 kB)
Requirement already satisfied: typing_extensions in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from torch>=1.9->whisperx==2.0) (4.4.0)
Collecting pyyaml>=5.1
Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 kB 17.2 MB/s eta 0:00:00
Collecting tokenizers!=0.11.3,<0.14,>=0.11.1
Downloading tokenizers-0.13.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 16.4 MB/s eta 0:00:00
Collecting huggingface-hub<1.0,>=0.11.0
Using cached huggingface_hub-0.13.4-py3-none-any.whl (200 kB)
Collecting packaging>=20.0
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting tzdata>=2022.1
Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting python-dateutil>=2.8.2
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2020.1
Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting torchmetrics<1.0,>=0.6
Using cached torchmetrics-0.11.4-py3-none-any.whl (519 kB)
Collecting speechbrain<0.6,>=0.5.12
Using cached speechbrain-0.5.14-py3-none-any.whl (519 kB)
Collecting asteroid-filterbanks<0.5,>=0.4
Using cached asteroid_filterbanks-0.4.0-py3-none-any.whl (29 kB)
Collecting hmmlearn<0.3,>=0.2.7
Downloading hmmlearn-0.2.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (217 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 217.2/217.2 kB 21.1 MB/s eta 0:00:00
Collecting semver<3.0,>=2.10.2
Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting backports.cached-property
Using cached backports.cached_property-1.0.2-py3-none-any.whl (6.1 kB)
Collecting einops<0.4.0,>=0.3
Using cached einops-0.3.2-py3-none-any.whl (25 kB)
Collecting pyannote.pipeline<3.0,>=2.3
Using cached pyannote.pipeline-2.3-py3-none-any.whl (30 kB)
Collecting pytorch-lightning<1.7,>=1.5.4
Using cached pytorch_lightning-1.6.5-py3-none-any.whl (585 kB)
Collecting networkx<3.0,>=2.6
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting singledispatchmethod
Using cached singledispatchmethod-1.0-py2.py3-none-any.whl (4.7 kB)
Collecting omegaconf<3.0,>=2.1
Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Collecting soundfile<0.11,>=0.10.2
Using cached SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
Collecting pyannote.database<5.0,>=4.1.1
Using cached pyannote.database-4.1.3-py3-none-any.whl (41 kB)
Collecting torch-audiomentations>=0.11.0
Using cached torch_audiomentations-0.11.0-py3-none-any.whl (47 kB)
Collecting pyannote.metrics<4.0,>=3.2
Using cached pyannote.metrics-3.2.1-py3-none-any.whl (51 kB)
Collecting pyannote.core<5.0,>=4.4
Using cached pyannote.core-4.5-py3-none-any.whl (60 kB)
Collecting pytorch-metric-learning<2.0,>=1.0.0
Using cached pytorch_metric_learning-1.7.3-py3-none-any.whl (112 kB)
Collecting scipy>=0.19
Downloading scipy-1.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 16.0 MB/s eta 0:00:00
Collecting scikit-learn>=0.16
Downloading scikit_learn-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 17.9 MB/s eta 0:00:00
Collecting antlr4-python3-runtime==4.9.*
Using cached antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
Preparing metadata (setup.py) ... done
Collecting simplejson>=3.8.1
Downloading simplejson-3.19.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.4/137.4 kB 26.0 MB/s eta 0:00:00
Collecting sortedcontainers>=2.0.4
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting typer[all]>=0.2.1
Using cached typer-0.7.0-py3-none-any.whl (38 kB)
Collecting sympy>=1.1
Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
Collecting tabulate>=0.7.7
Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting docopt>=0.6.2
Using cached docopt-0.6.2.tar.gz (25 kB)
Preparing metadata (setup.py) ... done
Collecting matplotlib>=2.0.0
Downloading matplotlib-3.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 18.2 MB/s eta 0:00:00
Collecting optuna>=1.4
Using cached optuna-3.1.1-py3-none-any.whl (365 kB)
Requirement already satisfied: six>=1.5 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from python-dateutil>=2.8.2->pandas->whisperx==2.0) (1.16.0)
Collecting fsspec[http]!=2021.06.0,>=2021.05.0
Using cached fsspec-2023.3.0-py3-none-any.whl (145 kB)
Collecting tensorboard>=2.2.0
Using cached tensorboard-2.12.1-py3-none-any.whl (5.6 MB)
Collecting pyDeprecate>=0.3.1
Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting protobuf<=3.20.1
Downloading protobuf-3.20.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 20.1 MB/s eta 0:00:00
Requirement already satisfied: charset-normalizer<3,>=2 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper==20230314->whisperx==2.0) (2.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper==20230314->whisperx==2.0) (1.26.15)
Requirement already satisfied: certifi>=2017.4.17 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper==20230314->whisperx==2.0) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from requests>=2.26.0->tiktoken==0.3.1->openai-whisper==20230314->whisperx==2.0) (3.4)
Requirement already satisfied: cffi>=1.0 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from soundfile<0.11,>=0.10.2->pyannote.audio->whisperx==2.0) (1.15.1)
Collecting hyperpyyaml
Using cached HyperPyYAML-1.2.0-py3-none-any.whl (16 kB)
Collecting joblib
Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting sentencepiece
Downloading sentencepiece-0.1.97-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 18.8 MB/s eta 0:00:00
Collecting torch-pitch-shift>=1.2.2
Using cached torch_pitch_shift-1.2.3-py3-none-any.whl (4.9 kB)
Collecting librosa>=0.6.0
Using cached librosa-0.10.0.post2-py3-none-any.whl (253 kB)
Collecting julius<0.3,>=0.2.3
Using cached julius-0.2.7.tar.gz (59 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from numba->openai-whisper==20230314->whisperx==2.0) (65.6.3)
Collecting llvmlite<0.40,>=0.39.0dev0
Downloading llvmlite-0.39.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.6/34.6 MB 17.8 MB/s eta 0:00:00
Requirement already satisfied: pycparser in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from cffi>=1.0->soundfile<0.11,>=0.10.2->pyannote.audio->whisperx==2.0) (2.21)
Collecting aiohttp!=4.0.0a0,!=4.0.0a1
Downloading aiohttp-3.8.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 20.4 MB/s eta 0:00:00
Collecting librosa>=0.6.0
Using cached librosa-0.10.0.post1-py3-none-any.whl (252 kB)
Using cached librosa-0.10.0-py3-none-any.whl (252 kB)
Using cached librosa-0.9.2-py3-none-any.whl (214 kB)
Collecting resampy>=0.2.2
Using cached resampy-0.4.2-py3-none-any.whl (3.1 MB)
Collecting decorator>=4.0.10
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting pooch>=1.0
Using cached pooch-1.7.0-py3-none-any.whl (60 kB)
Collecting audioread>=2.1.9
Using cached audioread-3.0.0.tar.gz (377 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pillow>=6.2.0 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==2.0) (9.4.0)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.4.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 20.0 MB/s eta 0:00:00
Collecting pyparsing>=2.3.1
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting importlib-resources>=3.2.0
Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB)
Collecting contourpy>=1.0.1
Downloading contourpy-1.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (299 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.7/299.7 kB 24.4 MB/s eta 0:00:00
Collecting fonttools>=4.22.0
Using cached fonttools-4.39.3-py3-none-any.whl (1.0 MB)
Collecting alembic>=1.5.0
Using cached alembic-1.10.3-py3-none-any.whl (212 kB)
Collecting cmaes>=0.9.1
Using cached cmaes-0.9.1-py3-none-any.whl (21 kB)
Collecting colorlog
Using cached colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Collecting sqlalchemy>=1.3.0
Downloading SQLAlchemy-2.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 19.8 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting mpmath>=0.19
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0
Using cached tensorboard_data_server-0.7.0-py3-none-manylinux2014_x86_64.whl (6.6 MB)
Requirement already satisfied: wheel>=0.26 in ./miniconda3/envs/whisperx/lib/python3.9/site-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==2.0) (0.38.4)
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.3-py3-none-any.whl (233 kB)
Collecting absl-py>=0.4
Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.17.2-py2.py3-none-any.whl (178 kB)
Collecting grpcio>=1.48.2
Downloading grpcio-1.53.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 20.3 MB/s eta 0:00:00
Collecting google-auth-oauthlib<1.1,>=0.5
Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.3-py3-none-any.whl (93 kB)
Collecting primePy>=1.3
Using cached primePy-1.3-py3-none-any.whl (4.0 kB)
Collecting click<9.0.0,>=7.1.1
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting colorama<0.5.0,>=0.4.3
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting rich<13.0.0,>=10.11.0
Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting shellingham<2.0.0,>=1.3.0
Using cached shellingham-1.5.0.post1-py2.py3-none-any.whl (9.4 kB)
Collecting ruamel.yaml>=0.17.8
Using cached ruamel.yaml-0.17.21-py3-none-any.whl (109 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting yarl<2.0,>=1.0
Downloading yarl-1.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (264 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 264.6/264.6 kB 24.8 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5
Downloading multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.2/114.2 kB 24.2 MB/s eta 0:00:00
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting frozenlist>=1.1.1
Downloading frozenlist-1.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.8/158.8 kB 24.1 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting Mako
Using cached Mako-1.2.4-py3-none-any.whl (78 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting cachetools<6.0,>=2.0.0
Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting zipp>=3.1.0
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting importlib-metadata>=4.4
Downloading importlib_metadata-6.2.0-py3-none-any.whl (21 kB)
Collecting platformdirs>=2.5.0
Using cached platformdirs-3.2.0-py3-none-any.whl (14 kB)
Collecting pygments<3.0.0,>=2.6.0
Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting ruamel.yaml.clib>=0.2.6
Downloading ruamel.yaml.clib-0.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (519 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 519.4/519.4 kB 25.1 MB/s eta 0:00:00
Collecting greenlet!=0.4.17
Downloading greenlet-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (610 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 610.9/610.9 kB 23.5 MB/s eta 0:00:00
Collecting MarkupSafe>=2.1.1
Downloading MarkupSafe-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Building wheels for collected packages: whisperx, openai-whisper, antlr4-python3-runtime, future, docopt, julius, lit, audioread
Building wheel for whisperx (setup.py) ... done
Created wheel for whisperx: filename=whisperx-2.0-py3-none-any.whl size=27156 sha256=28d283dda4907cad6c45b28c50036465c25b67634412037524655c864697d205
Stored in directory: /tmp/pip-ephem-wheel-cache-8hq5paqr/wheels/c7/67/c8/d92ee7475af476abd5e4fb00fee58ac4f2a9e333668ea3c237
Building wheel for openai-whisper (pyproject.toml) ... done
Created wheel for openai-whisper: filename=openai_whisper-20230314-py3-none-any.whl size=796910 sha256=3d75a70e19243a53af6379cbed3c10833ef4ca6f220cbe1529ee99b4d97c9ce8
Stored in directory: /home/ubuntu/.cache/pip/wheels/c4/85/e6/0bb9507b8e4f3f6d9c6dcf318bc3514739430375aa8e9eaf5b
Building wheel for antlr4-python3-runtime (setup.py) ... done
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=46e5b1b9ef5e11272fa0bd807c383de8626fe4d1de1e653d3460fc855af337b9
Stored in directory: /home/ubuntu/.cache/pip/wheels/23/cf/80/f3efa822e6ab23277902ee9165fe772eeb1dfb8014f359020a
Building wheel for future (setup.py) ... done
Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492025 sha256=908d41d6f65a6c0fffdd8063f70935eaa9fe74bc5d8e3ea04dd32785347a0b6a
Stored in directory: /home/ubuntu/.cache/pip/wheels/bf/5d/6a/2e53874f7ec4e2bede522385439531fafec8fafe005b5c3d1b
Building wheel for docopt (setup.py) ... done
Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=d9f64ebafbbcc17c0e3aa280cdfe6e8cdbc3b74ff5f0fc5a24ca0663818bab4b
Stored in directory: /home/ubuntu/.cache/pip/wheels/70/4a/46/1309fc853b8d395e60bafaf1b6df7845bdd82c95fd59dd8d2b
Building wheel for julius (setup.py) ... done
Created wheel for julius: filename=julius-0.2.7-py3-none-any.whl size=21879 sha256=a24471b2c2abb3c792decd0e22fcbfbd84505f410749679463352b2fcee76d8e
Stored in directory: /home/ubuntu/.cache/pip/wheels/53/0a/a7/fc08f97438f4969d86afa7904336c2eb7eb422101359f3ad11
Building wheel for lit (setup.py) ... done
Created wheel for lit: filename=lit-16.0.0-py3-none-any.whl size=93582 sha256=c493209e4716dcb49ac5731e0f5cb024245a6de56014c871670efdd5be263101
Stored in directory: /home/ubuntu/.cache/pip/wheels/c7/ee/80/1520ca86c3557f70e5504b802072f7fc3b0e2147f376b133ed
Building wheel for audioread (setup.py) ... done
Created wheel for audioread: filename=audioread-3.0.0-py3-none-any.whl size=23704 sha256=b479062be007c7f5bfa8a43b026a7bd9fd76b67e4a9b98e75473d69e383bda36
Stored in directory: /home/ubuntu/.cache/pip/wheels/e4/76/a4/cfb55573167a1f5bde7d7a348e95e509c64b2c3e8f921932c3
Successfully built whisperx openai-whisper antlr4-python3-runtime future docopt julius lit audioread
Installing collected packages: tokenizers, tensorboard-plugin-wit, sortedcontainers, singledispatchmethod, sentencepiece, pytz, pyasn1, primePy, mpmath, lit, einops, docopt, commonmark, cmake, antlr4-python3-runtime, zipp, tzdata, tqdm, threadpoolctl, tensorboard-data-server, tabulate, sympy, simplejson, shellingham, semver, scipy, ruamel.yaml.clib, rsa, regex, pyyaml, python-dateutil, pyparsing, pygments, pyDeprecate, pyasn1-modules, protobuf, platformdirs, packaging, oauthlib, networkx, multidict, more-itertools, MarkupSafe, llvmlite, kiwisolver, joblib, grpcio, greenlet, future, fsspec, frozenlist, fonttools, filelock, decorator, cycler, contourpy, colorlog, colorama, cmaes, click, cachetools, backports.cached-property, audioread, attrs, async-timeout, absl-py, yarl, werkzeug, typer, triton, torchmetrics, tiktoken, sqlalchemy, soundfile, scikit-learn, ruamel.yaml, rich, requests-oauthlib, pyannote.core, pooch, pandas, omegaconf, numba, Mako, julius, importlib-resources, importlib-metadata, huggingface-hub, google-auth, ffmpeg-python, asteroid-filterbanks, aiosignal, transformers, torch-pitch-shift, resampy, pytorch-metric-learning, openai-whisper, matplotlib, markdown, hyperpyyaml, hmmlearn, google-auth-oauthlib, alembic, aiohttp, tensorboard, speechbrain, pyannote.database, optuna, librosa, torch-audiomentations, pytorch-lightning, pyannote.pipeline, pyannote.metrics, pyannote.audio, whisperx
Successfully installed Mako-1.2.4 MarkupSafe-2.1.2 absl-py-1.4.0 aiohttp-3.8.4 aiosignal-1.3.1 alembic-1.10.3 antlr4-python3-runtime-4.9.3 asteroid-filterbanks-0.4.0 async-timeout-4.0.2 attrs-22.2.0 audioread-3.0.0 backports.cached-property-1.0.2 cachetools-5.3.0 click-8.1.3 cmaes-0.9.1 cmake-3.26.1 colorama-0.4.6 colorlog-6.7.0 commonmark-0.9.1 contourpy-1.0.7 cycler-0.11.0 decorator-5.1.1 docopt-0.6.2 einops-0.3.2 ffmpeg-python-0.2.0 filelock-3.11.0 fonttools-4.39.3 frozenlist-1.3.3 fsspec-2023.3.0 future-0.18.3 google-auth-2.17.2 google-auth-oauthlib-1.0.0 greenlet-2.0.2 grpcio-1.53.0 hmmlearn-0.2.8 huggingface-hub-0.13.4 hyperpyyaml-1.2.0 importlib-metadata-6.2.0 importlib-resources-5.12.0 joblib-1.2.0 julius-0.2.7 kiwisolver-1.4.4 librosa-0.9.2 lit-16.0.0 llvmlite-0.39.1 markdown-3.4.3 matplotlib-3.7.1 more-itertools-9.1.0 mpmath-1.3.0 multidict-6.0.4 networkx-2.8.8 numba-0.56.4 oauthlib-3.2.2 omegaconf-2.3.0 openai-whisper-20230314 optuna-3.1.1 packaging-23.0 pandas-2.0.0 platformdirs-3.2.0 pooch-1.7.0 primePy-1.3 protobuf-3.20.1 pyDeprecate-0.3.2 pyannote.audio-2.1.1 pyannote.core-4.5 pyannote.database-4.1.3 pyannote.metrics-3.2.1 pyannote.pipeline-2.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 pygments-2.14.0 pyparsing-3.0.9 python-dateutil-2.8.2 pytorch-lightning-1.6.5 pytorch-metric-learning-1.7.3 pytz-2023.3 pyyaml-6.0 regex-2023.3.23 requests-oauthlib-1.3.1 resampy-0.4.2 rich-12.6.0 rsa-4.9 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.7 scikit-learn-1.2.2 scipy-1.10.1 semver-2.13.0 sentencepiece-0.1.97 shellingham-1.5.0.post1 simplejson-3.19.1 singledispatchmethod-1.0 sortedcontainers-2.4.0 soundfile-0.10.3.post1 speechbrain-0.5.14 sqlalchemy-2.0.9 sympy-1.11.1 tabulate-0.9.0 tensorboard-2.12.1 tensorboard-data-server-0.7.0 tensorboard-plugin-wit-1.8.1 threadpoolctl-3.1.0 tiktoken-0.3.1 tokenizers-0.13.3 torch-audiomentations-0.11.0 torch-pitch-shift-1.2.3 torchmetrics-0.11.4 tqdm-4.65.0 transformers-4.27.4 triton-2.0.0 typer-0.7.0 tzdata-2023.3 werkzeug-2.2.3 whisperx-2.0 yarl-1.8.2 zipp-3.15.0
(whisperx) ubuntu@ubuntu-MS-7C56:~$ whisperx
usage: whisperx [-h] [--model {tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}] [--model_dir MODEL_DIR] [--device DEVICE] [--output_dir OUTPUT_DIR]
[--output_format {all,srt,srt-word,vtt,txt,tsv,ass,ass-char,pickle,vad}] [--verbose VERBOSE] [--task {transcribe,translate}]
[--language {af,am,ar,as,az,ba,be,bg,bn,bo,br,bs,ca,cs,cy,da,de,el,en,es,et,eu,fa,fi,fo,fr,gl,gu,ha,haw,he,hi,hr,ht,hu,hy,id,is,it,ja,jw,ka,kk,km,kn,ko,la,lb,ln,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,my,ne,nl,nn,no,oc,pa,pl,ps,pt,ro,ru,sa,sd,si,sk,sl,sn,so,sq,sr,su,sv,sw,ta,te,tg,th,tk,tl,tr,tt,uk,ur,uz,vi,yi,yo,zh,Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Bashkir,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Castilian,Catalan,Chinese,Croatian,Czech,Danish,Dutch,English,Estonian,Faroese,Finnish,Flemish,French,Galician,Georgian,German,Greek,Gujarati,Haitian,Haitian Creole,Hausa,Hawaiian,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Lao,Latin,Latvian,Letzeburgesch,Lingala,Lithuanian,Luxembourgish,Macedonian,Malagasy,Malay,Malayalam,Maltese,Maori,Marathi,Moldavian,Moldovan,Mongolian,Myanmar,Nepali,Norwegian,Nynorsk,Occitan,Panjabi,Pashto,Persian,Polish,Portuguese,Punjabi,Pushto,Romanian,Russian,Sanskrit,Serbian,Shona,Sindhi,Sinhala,Sinhalese,Slovak,Slovenian,Somali,Spanish,Sundanese,Swahili,Swedish,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Turkish,Turkmen,Ukrainian,Urdu,Uzbek,Valencian,Vietnamese,Welsh,Yiddish,Yoruba}]
[--align_model ALIGN_MODEL] [--align_extend ALIGN_EXTEND] [--align_from_prev ALIGN_FROM_PREV] [--interpolate_method {nearest,linear,ignore}] [--no_align] [--vad_filter VAD_FILTER]
[--vad_onset VAD_ONSET] [--vad_offset VAD_OFFSET] [--diarize] [--min_speakers MIN_SPEAKERS] [--max_speakers MAX_SPEAKERS] [--temperature TEMPERATURE] [--best_of BEST_OF]
[--beam_size BEAM_SI
upgrading the pip version, solved the issue for me
pip install --upgrade pip
when installing
pip install git+https://github.com/m-bain/whisperx.git
in bare metal ubuntu, I get an assertion errorsame error with