mirror of
https://github.com/brycedrennan/imaginAIry
synced 2024-10-31 03:20:40 +00:00
ci: faster pip install in github actions
This commit is contained in:
parent
2273c9144d
commit
703fb6e331
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -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…
Reference in New Issue
Block a user