Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0b8f6972
Unverified
Commit
0b8f6972
authored
Apr 13, 2022
by
Joao Gante
Committed by
GitHub
Apr 13, 2022
Browse files
CI: setup-dependent pip cache (#16751)
* Setup-dependent pip cache * Do not restore from old versions
parent
ac43a40e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
14 deletions
+4
-14
.github/workflows/add-model-like.yml
.github/workflows/add-model-like.yml
+1
-4
.github/workflows/model-templates.yml
.github/workflows/model-templates.yml
+1
-4
.github/workflows/update_metdata.yml
.github/workflows/update_metdata.yml
+2
-6
No files found.
.github/workflows/add-model-like.yml
View file @
0b8f6972
...
...
@@ -23,10 +23,7 @@ jobs:
id
:
cache
with
:
path
:
~/.cache/pip
key
:
v1-tests_model_like
restore-keys
:
|
v1-tests_model_like-${{ hashFiles('setup.py') }}
v1-tests_model_like
key
:
v1-tests_model_like-${{ hashFiles('setup.py') }}
-
name
:
Install dependencies
run
:
|
...
...
.github/workflows/model-templates.yml
View file @
0b8f6972
...
...
@@ -29,10 +29,7 @@ jobs:
id
:
cache
with
:
path
:
~/.cache/pip
key
:
v1.2-tests_templates
restore-keys
:
|
v1.2-tests_templates-${{ hashFiles('setup.py') }}
v1.2-tests_templates
key
:
v1.2-tests_templates-${{ hashFiles('setup.py') }}
-
name
:
Install dependencies
run
:
|
...
...
.github/workflows/update_metdata.yml
View file @
0b8f6972
...
...
@@ -21,10 +21,7 @@ jobs:
id
:
cache
with
:
path
:
~/.cache/pip
key
:
v1-metadata
restore-keys
:
|
v1-metadata-${{ hashFiles('setup.py') }}
v1-metadata
key
:
v1-metadata-${{ hashFiles('setup.py') }}
-
name
:
Setup environment
run
:
|
...
...
@@ -33,4 +30,3 @@ jobs:
-
name
:
Update metadata
run
:
|
python utils/update_metadata.py --token ${{ secrets.SYLVAIN_HF_TOKEN }} --commit_sha ${{ github.sha }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment