mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 02:31:11 +06:00
Fix slow CI by pinning resampy (#18077)
* Fix slow CI by pinning resampy * Actually put it in the speech dependencies
This commit is contained in:
parent
de46cde14b
commit
9bd3968509
3
setup.py
3
setup.py
@ -143,6 +143,7 @@ _deps = [
|
||||
"ray[tune]",
|
||||
"regex!=2019.12.17",
|
||||
"requests",
|
||||
"resampy<0.3.1",
|
||||
"rjieba",
|
||||
"rouge-score",
|
||||
"sacrebleu>=1.4.12,<2.0.0",
|
||||
@ -268,7 +269,7 @@ 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")
|
||||
extras["audio"] = deps_list("librosa", "pyctcdecode", "phonemizer", "resampy") # resampy can be removed once unpinned.
|
||||
# `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"]
|
||||
|
@ -49,6 +49,7 @@ deps = {
|
||||
"ray[tune]": "ray[tune]",
|
||||
"regex": "regex!=2019.12.17",
|
||||
"requests": "requests",
|
||||
"resampy": "resampy<0.3.1",
|
||||
"rjieba": "rjieba",
|
||||
"rouge-score": "rouge-score",
|
||||
"sacrebleu": "sacrebleu>=1.4.12,<2.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user