fix: --ignore-requires-python for omnilingual-asr 0.2.0 on Python 3.12
Browse files
README.md
CHANGED
|
@@ -95,8 +95,10 @@ FP16 and FP32 produce **identical transcripts**, so FP16 is the recommended defa
|
|
| 95 |
# system dependency for audio I/O
|
| 96 |
sudo apt-get install -y libsndfile1 # (Linux) / brew install libsndfile (macOS)
|
| 97 |
|
| 98 |
-
#
|
| 99 |
-
|
|
|
|
|
|
|
| 100 |
# Pin the whole torch stack to the CUDA 12.8 build that fairseq2 needs.
|
| 101 |
# (Without this you hit `libcudart.so.13` / torchvision::nms errors from a mismatched torchaudio/torchvision.)
|
| 102 |
pip install torch==2.8.0 torchaudio==2.8.0 torchvision==0.23.0 --index-url https://download.pytorch.org/whl/cu128
|
|
|
|
| 95 |
# system dependency for audio I/O
|
| 96 |
sudo apt-get install -y libsndfile1 # (Linux) / brew install libsndfile (macOS)
|
| 97 |
|
| 98 |
+
# Need omnilingual-asr 0.2.0 (it registers the 3b_v2 architecture this model uses).
|
| 99 |
+
# --ignore-requires-python: 0.2.0's metadata caps python at "<=3.12" (read as <=3.12.0), which
|
| 100 |
+
# wrongly excludes Python 3.12.x (e.g. Colab). The flag installs it anyway; it runs fine on 3.12.
|
| 101 |
+
pip install --ignore-requires-python omnilingual-asr==0.2.0 huggingface_hub
|
| 102 |
# Pin the whole torch stack to the CUDA 12.8 build that fairseq2 needs.
|
| 103 |
# (Without this you hit `libcudart.so.13` / torchvision::nms errors from a mismatched torchaudio/torchvision.)
|
| 104 |
pip install torch==2.8.0 torchaudio==2.8.0 torchvision==0.23.0 --index-url https://download.pytorch.org/whl/cu128
|