mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 11:11:05 +06:00
test datasets@main
This commit is contained in:
parent
6cf0a520ee
commit
5d118a11c0
@ -156,6 +156,7 @@ class CircleCIJob:
|
|||||||
{"attach_workspace": {"at": "test_preparation"}},
|
{"attach_workspace": {"at": "test_preparation"}},
|
||||||
{"run": "apt-get update && apt-get install -y curl"},
|
{"run": "apt-get update && apt-get install -y curl"},
|
||||||
{"run": " && ".join(self.install_steps)},
|
{"run": " && ".join(self.install_steps)},
|
||||||
|
{"run": {"name": "Install `datasets@main`", "command": 'pip uninstall datasets -y && pip install "datasets @ git+https://github.com/huggingface/datasets@main#egg=datasets"'}},
|
||||||
{"run": {"name": "Download NLTK files", "command": """python -c "import nltk; nltk.download('punkt', quiet=True)" """} if "example" in self.name else "echo Skipping"},
|
{"run": {"name": "Download NLTK files", "command": """python -c "import nltk; nltk.download('punkt', quiet=True)" """} if "example" in self.name else "echo Skipping"},
|
||||||
{"run": {
|
{"run": {
|
||||||
"name": "Show installed libraries and their size",
|
"name": "Show installed libraries and their size",
|
||||||
|
2
setup.py
2
setup.py
@ -103,7 +103,7 @@ _deps = [
|
|||||||
"codecarbon>=2.8.1",
|
"codecarbon>=2.8.1",
|
||||||
"cookiecutter==1.7.3",
|
"cookiecutter==1.7.3",
|
||||||
"dataclasses",
|
"dataclasses",
|
||||||
"datasets!=2.5.0",
|
"datasets!=2.5.0", # pinned to datasets@main in create_circleci_config.py
|
||||||
"deepspeed>=0.9.3",
|
"deepspeed>=0.9.3",
|
||||||
"diffusers",
|
"diffusers",
|
||||||
"dill<0.3.5",
|
"dill<0.3.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user