ci: faster pip install in github actions

pull/385/head
Bryce 8 months ago committed by Bryce Drennan
parent 2273c9144d
commit 703fb6e331

@ -6,6 +6,7 @@ on:
- master
workflow_dispatch:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
CACHE_PATHS: |
~/.cache/huggingface
~/.cache/clip
@ -68,8 +69,8 @@ jobs:
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
python -m pip install --disable-pip-version-check -r requirements-dev.txt
python -m pip install --disable-pip-version-check .
python -m pip install torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install -r requirements-dev.txt .
- name: Get current date
id: date
run: echo "::set-output name=curmonth::$(date +'%Y-%m')"

@ -1,4 +1,3 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#

Loading…
Cancel
Save