"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "51e0ebedcb183d3cd3738bba6765a261c6381552"
Unverified Commit 308d2b90 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Update the cache number (#28905)



* fix

* fix

* fix

---------
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent abf8f54a
...@@ -52,7 +52,7 @@ class CircleCIJob: ...@@ -52,7 +52,7 @@ class CircleCIJob:
name: str name: str
additional_env: Dict[str, Any] = None additional_env: Dict[str, Any] = None
cache_name: str = None cache_name: str = None
cache_version: str = "0.7" cache_version: str = "0.8"
docker_image: List[Dict[str, str]] = None docker_image: List[Dict[str, str]] = None
install_steps: List[str] = None install_steps: List[str] = None
marker: Optional[str] = None marker: Optional[str] = None
...@@ -284,7 +284,7 @@ torch_and_tf_job = CircleCIJob( ...@@ -284,7 +284,7 @@ torch_and_tf_job = CircleCIJob(
"pip install -U --upgrade-strategy eager tensorflow_probability", "pip install -U --upgrade-strategy eager tensorflow_probability",
"pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate", "pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate",
# TODO: remove this one after fixing the dependency issue(s) above # TODO: remove this one after fixing the dependency issue(s) above
"pip install -U --upgrade-strategy eager torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu" "pip install -U --upgrade-strategy eager torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu",
], ],
marker="is_pt_tf_cross_test", marker="is_pt_tf_cross_test",
pytest_options={"rA": None, "durations": 0}, pytest_options={"rA": None, "durations": 0},
...@@ -299,8 +299,6 @@ torch_and_flax_job = CircleCIJob( ...@@ -299,8 +299,6 @@ torch_and_flax_job = CircleCIJob(
"pip install -U --upgrade-strategy eager --upgrade pip", "pip install -U --upgrade-strategy eager --upgrade pip",
"pip install -U --upgrade-strategy eager .[sklearn,flax,torch,testing,sentencepiece,torch-speech,vision]", "pip install -U --upgrade-strategy eager .[sklearn,flax,torch,testing,sentencepiece,torch-speech,vision]",
"pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate", "pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate",
# TODO: remove this one after fixing the dependency issue(s) above
"pip install -U --upgrade-strategy eager torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu"
], ],
marker="is_pt_flax_cross_test", marker="is_pt_flax_cross_test",
pytest_options={"rA": None, "durations": 0}, pytest_options={"rA": None, "durations": 0},
...@@ -314,8 +312,6 @@ torch_job = CircleCIJob( ...@@ -314,8 +312,6 @@ torch_job = CircleCIJob(
"pip install --upgrade --upgrade-strategy eager pip", "pip install --upgrade --upgrade-strategy eager pip",
"pip install -U --upgrade-strategy eager .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm]", "pip install -U --upgrade-strategy eager .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm]",
"pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate", "pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate",
# TODO: remove this one after fixing the dependency issue(s) above
"pip install -U --upgrade-strategy eager torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu"
], ],
parallelism=1, parallelism=1,
pytest_num_workers=6, pytest_num_workers=6,
...@@ -523,6 +519,8 @@ doc_test_job = CircleCIJob( ...@@ -523,6 +519,8 @@ doc_test_job = CircleCIJob(
"pip install --upgrade --upgrade-strategy eager 'pytest<8.0.0' pytest-sugar", "pip install --upgrade --upgrade-strategy eager 'pytest<8.0.0' pytest-sugar",
"pip install -U --upgrade-strategy eager natten==0.15.1+torch210cpu -f https://shi-labs.com/natten/wheels", "pip install -U --upgrade-strategy eager natten==0.15.1+torch210cpu -f https://shi-labs.com/natten/wheels",
"pip install -U --upgrade-strategy eager g2p-en", "pip install -U --upgrade-strategy eager g2p-en",
# TODO: remove this one after fixing the dependency issue(s) above
"pip install -U --upgrade-strategy eager torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu",
"find -name __pycache__ -delete", "find -name __pycache__ -delete",
"find . -name \*.pyc -delete", "find . -name \*.pyc -delete",
# Add an empty file to keep the test step running correctly even no file is selected to be tested. # Add an empty file to keep the test step running correctly even no file is selected to be tested.
......
...@@ -19,9 +19,9 @@ pytest ...@@ -19,9 +19,9 @@ pytest
conllu conllu
sentencepiece != 0.1.92 sentencepiece != 0.1.92
protobuf protobuf
torch<2.2.0 torch
torchvision<0.17 torchvision
torchaudio<2.2.0 torchaudio
jiwer jiwer
librosa librosa
evaluate >= 0.2.0 evaluate >= 0.2.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