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
gaoqiong
lm-evaluation-harness
Commits
71ab0f2c
Commit
71ab0f2c
authored
Aug 24, 2023
by
baberabb
Browse files
added setup caching
parent
8b1e652f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.github/workflows/new_tasks.yml
.github/workflows/new_tasks.yml
+1
-0
.github/workflows/unit_tests.yml
.github/workflows/unit_tests.yml
+3
-3
No files found.
.github/workflows/new_tasks.yml
View file @
71ab0f2c
...
...
@@ -51,6 +51,7 @@ jobs:
with
:
python-version
:
3.9
cache
:
'
pip'
cache-dependency-path
:
setup.py
-
name
:
Install dependencies
if
:
steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'
run
:
|
...
...
.github/workflows/unit_tests.yml
View file @
71ab0f2c
...
...
@@ -49,8 +49,8 @@ jobs:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
]
timeout-minutes
:
2
0
python-version
:
[
"
3.9"
,
"
3.10"
,
"
3.11"
]
timeout-minutes
:
3
0
steps
:
-
name
:
Checkout Code
...
...
@@ -65,7 +65,7 @@ jobs:
run
:
|
python -m pip install --upgrade pip
pip install -e '.[testing,anthropic,sentencepiece]' --extra-index-url https://download.pytorch.org/whl/cpu
# Install optional git dependencies
# Install optional git dependencies
# pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-
name
:
Test with pytest
...
...
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