|
|
|
@ -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')"
|
|
|
|
|