Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Feb 6, 2024
1 parent 716bf1f commit ffe3a15
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .circleci/create_circleci_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,27 +103,27 @@ def to_dict(self):
steps = [
"checkout",
{"attach_workspace": {"at": "~/transformers/test_preparation"}},
{
"restore_cache": {
"keys": [
# check the fully-matched cache first
f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-pip-" + '{{ checksum "setup.py" }}',
# try the partially-matched cache from `main`
f"v{self.cache_version}-{self.cache_name}-main-pip-",
# try the general partially-matched cache
f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-pip-",
]
}
},
{
"restore_cache": {
"keys": [
f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-site-packages-" + '{{ checksum "setup.py" }}',
f"v{self.cache_version}-{self.cache_name}-main-site-packages-",
f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-site-packages-",
]
}
},
# {
# "restore_cache": {
# "keys": [
# # check the fully-matched cache first
# f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-pip-" + '{{ checksum "setup.py" }}',
# # try the partially-matched cache from `main`
# f"v{self.cache_version}-{self.cache_name}-main-pip-",
# # try the general partially-matched cache
# f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-pip-",
# ]
# }
# },
# {
# "restore_cache": {
# "keys": [
# f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-site-packages-" + '{{ checksum "setup.py" }}',
# f"v{self.cache_version}-{self.cache_name}-main-site-packages-",
# f"v{self.cache_version}-{self.cache_name}-{cache_branch_prefix}-site-packages-",
# ]
# }
# },
]
steps.extend([{"run": l} for l in self.install_steps])
steps.extend([{"run": 'pip install "fsspec>=2023.5.0,<2023.10.0"'}])
Expand Down

0 comments on commit ffe3a15

Please sign in to comment.