RadeAI commited on
Commit
2b1a251
·
verified ·
1 Parent(s): 34df92a

fix: --ignore-requires-python for omnilingual-asr 0.2.0 on Python 3.12

Browse files
Files changed (1) hide show
  1. README.md +4 -2
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
- # pin 0.2.0 earlier versions don't register the 3b_v2 architecture this model needs
99
- pip install omnilingual-asr==0.2.0 huggingface_hub
 
 
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