Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
ci: skip large model tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 26, 2023
1 parent 1cc1e1a commit 6cd3bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
echo "modified=$(
for model in $(ls -d *-*); do
git diff --quiet HEAD~1 -- $model || echo $model
done | jq -Rsc 'split("\n")[:-1]'
done | sort | jq -Rsc 'split("\n")[:-1]'
)" >> $GITHUB_OUTPUT
outputs:
models: ${{ steps.list.outputs.modified }}
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
BUILDX_PLATFORM: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && 'linux/arm64,linux/amd64' || 'linux/amd64' }}
TESTS_SKIP_CPU: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && '1' || '' }}
# avoid OoM errors (TODO: remove when using larger GPU)
TESTS_SKIP_GPU: ${{ contains('a2t-whisper,cht-dolly-v2,cht-llama-v2', matrix.model) && '1' || '' }}
TESTS_SKIP_GPU: ${{ contains('a2t-whisper,cht-dolly-v2,cht-gorilla,cht-llama-v2,cht-mpt,cht-xgen,dfs-dalle,dfs-diffusers', matrix.model) && '1' || '' }}
pass:
needs: build-test-push
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6cd3bdd

Please sign in to comment.