"docs/vscode:/vscode.git/clone" did not exist on "a4f97e6ce0137b1474e101508dc5aaa5bcf812a7"
Unverified Commit 9bd39685 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix slow CI by pinning resampy (#18077)

* Fix slow CI by pinning resampy

* Actually put it in the speech dependencies
parent de46cde1
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment