Skip to content

Commit 99a2ed4

Browse files
committed
chore: upgrade pyannote-audio 4
1 parent d32ec3e commit 99a2ed4

File tree

5 files changed

+382
-1281
lines changed

5 files changed

+382
-1281
lines changed

pyproject.toml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ name = "whisperx"
55
version = "3.7.4"
66
description = "Time-Accurate Automatic Speech Recognition using Whisper."
77
readme = "README.md"
8-
requires-python = ">=3.9, <3.14"
8+
requires-python = ">=3.10, <3.14"
99
license = { text = "BSD-2-Clause" }
1010

1111
dependencies = [
12-
"ctranslate2>=4.5.0",
13-
"faster-whisper>=1.1.1",
14-
"nltk>=3.9.1",
15-
# Restrict numpy, onnxruntime, pandas, av to be compatible with Python 3.9
16-
"numpy>=2.0.2,<2.1.0; python_version <'3.13'",
17-
"onnxruntime>=1.19,<1.20.0; python_version <'3.10'",
18-
"pandas>=2.2.3,<2.3.0",
19-
"av<16.0.0",
20-
"numpy>=2.1.0,<2.3.0; python_version >='3.13'",
21-
"pyannote-audio>=3.3.2,<4.0.0",
22-
"torch~=2.8.0",
23-
"torchaudio~=2.8.0",
24-
"transformers>=4.48.0",
25-
"triton>=3.3.0; sys_platform == 'linux' and platform_machine == 'x86_64'" # only install triton on x86_64 Linux
12+
"ctranslate2>=4.5.0",
13+
"faster-whisper>=1.1.1",
14+
"nltk>=3.9.1",
15+
"numpy>=2.0.2",
16+
"omegaconf>=2.3.0",
17+
"onnxruntime>=1.19",
18+
"pandas>=2.2.3",
19+
"av<16.0.0",
20+
"pyannote-audio>=4.0.0",
21+
"torch~=2.8.0",
22+
"torchaudio~=2.8.0",
23+
"transformers>=4.48.0",
24+
"triton>=3.3.0; sys_platform == 'linux' and platform_machine == 'x86_64'", # only install triton on x86_64 Linux
2625
]
2726

2827

@@ -50,9 +49,7 @@ torchaudio = [
5049
{ index = "pytorch-cpu", marker = "platform_machine != 'x86_64' and sys_platform != 'darwin'" },
5150
{ index = "pytorch", marker = "platform_machine == 'x86_64' and sys_platform != 'darwin'" },
5251
]
53-
triton = [
54-
{ index = "pytorch", marker = "sys_platform == 'linux'" },
55-
]
52+
triton = [{ index = "pytorch", marker = "sys_platform == 'linux'" }]
5653

5754
[[tool.uv.index]]
5855
name = "pytorch"

0 commit comments

Comments
 (0)