Run hub tests (#24807)

* Run hub tests

* [all-test] Run tests please!

* [all-test] Add vision dep for hub tests

* Fix tests
This commit is contained in:
Sylvain Gugger
2023-07-13 15:25:45 -04:00
committed by GitHub
parent 9d7a0871e2
commit f32303d519
2 changed files with 14 additions and 13 deletions

View File

@@ -398,12 +398,13 @@ examples_flax_job = CircleCIJob(
hub_job = CircleCIJob(
"hub",
additional_env={"HUGGINGFACE_CO_STAGING": True},
install_steps=[
"sudo apt-get -y update && sudo apt-get install git-lfs",
'git config --global user.email "ci@dummy.com"',
'git config --global user.name "ci"',
"pip install --upgrade --upgrade-strategy eager pip",
"pip install -U --upgrade-strategy eager .[torch,sentencepiece,testing]",
"pip install -U --upgrade-strategy eager .[torch,sentencepiece,testing,vision]",
],
marker="is_staging_test",
pytest_num_workers=1,