mirror of
https://github.com/huggingface/transformers.git
synced 2025-10-21 09:44:02 +08:00
Compare commits
9 Commits
v4.42.3
...
debugdebug
Author | SHA1 | Date | |
---|---|---|---|
077dff17d2 | |||
cb3dfba94e | |||
f5a9d0e672 | |||
7ada944952 | |||
f3c7e77451 | |||
400b46ef9e | |||
6d82f1c531 | |||
4e4845bbcc | |||
d00f768232 |
@ -230,6 +230,8 @@ torch_and_tf_job = CircleCIJob(
|
|||||||
"pip install .[sklearn,tf-cpu,torch,testing,sentencepiece,torch-speech,vision]",
|
"pip install .[sklearn,tf-cpu,torch,testing,sentencepiece,torch-speech,vision]",
|
||||||
"pip install tensorflow_probability",
|
"pip install tensorflow_probability",
|
||||||
"pip install git+https://github.com/huggingface/accelerate",
|
"pip install git+https://github.com/huggingface/accelerate",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
marker="is_pt_tf_cross_test",
|
marker="is_pt_tf_cross_test",
|
||||||
pytest_options={"rA": None, "durations": 0},
|
pytest_options={"rA": None, "durations": 0},
|
||||||
@ -244,6 +246,8 @@ torch_and_flax_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,flax,torch,testing,sentencepiece,torch-speech,vision]",
|
"pip install .[sklearn,flax,torch,testing,sentencepiece,torch-speech,vision]",
|
||||||
"pip install git+https://github.com/huggingface/accelerate",
|
"pip install git+https://github.com/huggingface/accelerate",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
marker="is_pt_flax_cross_test",
|
marker="is_pt_flax_cross_test",
|
||||||
pytest_options={"rA": None, "durations": 0},
|
pytest_options={"rA": None, "durations": 0},
|
||||||
@ -257,6 +261,8 @@ torch_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm]",
|
"pip install .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm]",
|
||||||
"pip install git+https://github.com/huggingface/accelerate",
|
"pip install git+https://github.com/huggingface/accelerate",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
parallelism=1,
|
parallelism=1,
|
||||||
pytest_num_workers=3,
|
pytest_num_workers=3,
|
||||||
@ -270,6 +276,8 @@ tf_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]",
|
"pip install .[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]",
|
||||||
"pip install tensorflow_probability",
|
"pip install tensorflow_probability",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
parallelism=1,
|
parallelism=1,
|
||||||
pytest_num_workers=6,
|
pytest_num_workers=6,
|
||||||
@ -283,6 +291,8 @@ flax_job = CircleCIJob(
|
|||||||
"sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng",
|
"sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng",
|
||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[flax,testing,sentencepiece,flax-speech,vision]",
|
"pip install .[flax,testing,sentencepiece,flax-speech,vision]",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
parallelism=1,
|
parallelism=1,
|
||||||
pytest_options={"rA": None},
|
pytest_options={"rA": None},
|
||||||
@ -296,6 +306,8 @@ pipelines_torch_job = CircleCIJob(
|
|||||||
"sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng",
|
"sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng",
|
||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm,video]",
|
"pip install .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm,video]",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
pytest_options={"rA": None},
|
pytest_options={"rA": None},
|
||||||
marker="is_pipeline_test",
|
marker="is_pipeline_test",
|
||||||
@ -310,6 +322,8 @@ pipelines_tf_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,tf-cpu,testing,sentencepiece,vision]",
|
"pip install .[sklearn,tf-cpu,testing,sentencepiece,vision]",
|
||||||
"pip install tensorflow_probability",
|
"pip install tensorflow_probability",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
pytest_options={"rA": None},
|
pytest_options={"rA": None},
|
||||||
marker="is_pipeline_test",
|
marker="is_pipeline_test",
|
||||||
@ -334,6 +348,8 @@ custom_tokenizers_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[ja,testing,sentencepiece,jieba,spacy,ftfy,rjieba]",
|
"pip install .[ja,testing,sentencepiece,jieba,spacy,ftfy,rjieba]",
|
||||||
"python -m unidic download",
|
"python -m unidic download",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
parallelism=None,
|
parallelism=None,
|
||||||
resource_class=None,
|
resource_class=None,
|
||||||
@ -353,6 +369,8 @@ examples_torch_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,torch,sentencepiece,testing,torch-speech]",
|
"pip install .[sklearn,torch,sentencepiece,testing,torch-speech]",
|
||||||
"pip install -r examples/pytorch/_tests_requirements.txt",
|
"pip install -r examples/pytorch/_tests_requirements.txt",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -365,6 +383,8 @@ examples_tensorflow_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[sklearn,tensorflow,sentencepiece,testing]",
|
"pip install .[sklearn,tensorflow,sentencepiece,testing]",
|
||||||
"pip install -r examples/tensorflow/_tests_requirements.txt",
|
"pip install -r examples/tensorflow/_tests_requirements.txt",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -376,6 +396,8 @@ examples_flax_job = CircleCIJob(
|
|||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[flax,testing,sentencepiece]",
|
"pip install .[flax,testing,sentencepiece]",
|
||||||
"pip install -r examples/flax/_tests_requirements.txt",
|
"pip install -r examples/flax/_tests_requirements.txt",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -388,6 +410,8 @@ hub_job = CircleCIJob(
|
|||||||
'git config --global user.name "ci"',
|
'git config --global user.name "ci"',
|
||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[torch,sentencepiece,testing]",
|
"pip install .[torch,sentencepiece,testing]",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
marker="is_staging_test",
|
marker="is_staging_test",
|
||||||
pytest_num_workers=1,
|
pytest_num_workers=1,
|
||||||
@ -400,6 +424,8 @@ onnx_job = CircleCIJob(
|
|||||||
"sudo apt-get -y update && sudo apt-get install -y cmake",
|
"sudo apt-get -y update && sudo apt-get install -y cmake",
|
||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[torch,tf,testing,sentencepiece,onnxruntime,vision,rjieba]",
|
"pip install .[torch,tf,testing,sentencepiece,onnxruntime,vision,rjieba]",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
pytest_options={"k onnx": None},
|
pytest_options={"k onnx": None},
|
||||||
pytest_num_workers=1,
|
pytest_num_workers=1,
|
||||||
@ -418,6 +444,8 @@ exotic_models_job = CircleCIJob(
|
|||||||
"sudo apt install tesseract-ocr",
|
"sudo apt install tesseract-ocr",
|
||||||
"pip install pytesseract",
|
"pip install pytesseract",
|
||||||
"pip install natten",
|
"pip install natten",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
tests_to_run=[
|
tests_to_run=[
|
||||||
"tests/models/*layoutlmv*",
|
"tests/models/*layoutlmv*",
|
||||||
@ -434,6 +462,8 @@ repo_utils_job = CircleCIJob(
|
|||||||
install_steps=[
|
install_steps=[
|
||||||
"pip install --upgrade pip",
|
"pip install --upgrade pip",
|
||||||
"pip install .[quality,testing,torch]",
|
"pip install .[quality,testing,torch]",
|
||||||
|
"pip uninstall -y huggingface_hub",
|
||||||
|
"pip install git+https://github.com/huggingface/huggingface_hub.git@debugdebug",
|
||||||
],
|
],
|
||||||
parallelism=None,
|
parallelism=None,
|
||||||
pytest_num_workers=1,
|
pytest_num_workers=1,
|
||||||
|
1
setup.py
1
setup.py
@ -76,6 +76,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
from setuptools import Command, find_packages, setup
|
from setuptools import Command, find_packages, setup
|
||||||
|
|
||||||
|
a = 3
|
||||||
|
|
||||||
# Remove stale transformers.egg-info directory to avoid https://github.com/pypa/pip/issues/5466
|
# Remove stale transformers.egg-info directory to avoid https://github.com/pypa/pip/issues/5466
|
||||||
stale_egg_info = Path(__file__).parent / "transformers.egg-info"
|
stale_egg_info = Path(__file__).parent / "transformers.egg-info"
|
||||||
|
Reference in New Issue
Block a user