mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 05:10:06 +06:00
Pin numba for now (#23118)
This commit is contained in:
parent
3ff89f29f5
commit
4b6aecb48e
4
setup.py
4
setup.py
@ -135,6 +135,7 @@ _deps = [
|
||||
"librosa",
|
||||
"nltk",
|
||||
"natten>=0.14.6",
|
||||
"numba<0.57.0", # Can be removed once unpinned.
|
||||
"numpy>=1.17",
|
||||
"onnxconverter-common",
|
||||
"onnxruntime-tools>=1.4.2",
|
||||
@ -286,7 +287,8 @@ extras["sigopt"] = deps_list("sigopt")
|
||||
extras["integrations"] = extras["optuna"] + extras["ray"] + extras["sigopt"]
|
||||
|
||||
extras["serving"] = deps_list("pydantic", "uvicorn", "fastapi", "starlette")
|
||||
extras["audio"] = deps_list("librosa", "pyctcdecode", "phonemizer", "kenlm")
|
||||
# numba can be removed here once unpinned
|
||||
extras["audio"] = deps_list("librosa", "pyctcdecode", "phonemizer", "kenlm", "numba")
|
||||
# `pip install ".[speech]"` is deprecated and `pip install ".[torch-speech]"` should be used instead
|
||||
extras["speech"] = deps_list("torchaudio") + extras["audio"]
|
||||
extras["torch-speech"] = deps_list("torchaudio") + extras["audio"]
|
||||
|
@ -36,6 +36,7 @@ deps = {
|
||||
"librosa": "librosa",
|
||||
"nltk": "nltk",
|
||||
"natten": "natten>=0.14.6",
|
||||
"numba": "numba<0.57.0",
|
||||
"numpy": "numpy>=1.17",
|
||||
"onnxconverter-common": "onnxconverter-common",
|
||||
"onnxruntime-tools": "onnxruntime-tools>=1.4.2",
|
||||
|
Loading…
Reference in New Issue
Block a user