mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-31 14:34:40 +00:00
use gh cache for huggingface models
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
8dc0562542
commit
87d849792d
5
.github/workflows/checks.yml
vendored
5
.github/workflows/checks.yml
vendored
@ -14,6 +14,11 @@ jobs:
|
||||
- name: Set TESSDATA_PREFIX
|
||||
run: |
|
||||
echo "TESSDATA_PREFIX=$(dpkg -L tesseract-ocr-eng | grep tessdata$)" >> "$GITHUB_ENV"
|
||||
- name: Cache Hugging Face models
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/huggingface
|
||||
key: huggingface-cache
|
||||
- uses: ./.github/actions/setup-poetry
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
Loading…
Reference in New Issue
Block a user