mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +00:00
ci: Clean up disk when testing post-training
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
35dcfff203
commit
9607140e24
1 changed files with 7 additions and 0 deletions
7
.github/workflows/integration-tests.yml
vendored
7
.github/workflows/integration-tests.yml
vendored
|
@ -29,6 +29,12 @@ jobs:
|
|||
fail-fast: false # we want to run all tests regardless of failure
|
||||
|
||||
steps:
|
||||
# Huggingface trainer provider will download a model to train and save
|
||||
# checkpoints, so need more space than other flows for training.
|
||||
- name: Free disk space
|
||||
if: ${{ matrix.test-type == 'post_training' }}
|
||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
|
@ -85,6 +91,7 @@ jobs:
|
|||
echo "Ollama health check failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Check Storage and Memory Available Before Tests
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue