Skip to content

Commit d382c32

Browse files
Enable pip caching for faster ChatMK builds
1 parent 84fe257 commit d382c32

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/jekyll.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343
uses: actions/setup-python@v4
4444
with:
4545
python-version: '3.11'
46+
cache: 'pip'
4647
# Install ChatMK dependencies
4748
- name: Install Python dependencies
4849
run: |
4950
python -m pip install --upgrade pip
50-
pip install sentence-transformers>=2.2.0 torch>=1.11.0 numpy>=1.17.0
51+
pip install -r requirements.txt
5152
# Cache model downloads
5253
- name: Cache sentence-transformers model
5354
uses: actions/cache@v3

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sentence-transformers>=2.2.0
2+
torch>=1.11.0
3+
numpy>=1.17.0

0 commit comments

Comments
 (0)