Ensure that torch is not used unless it is available #1201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GPU tests | |
on: | |
# schedule: | |
# - cron: "0 0 * * *" | |
issue_comment: | |
types: [created] | |
workflow_dispatch: | |
pull_request: | |
types: [ labeled, opened, synchronize, reopened ] | |
jobs: | |
run: | |
if: "github.repository_owner == 'explosion' && (contains(github.event.pull_request.labels.*.name, 'Test GPU') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger buildkite build | |
uses: buildkite/[email protected] | |
env: | |
PIPELINE: explosion-ai/spacy-llm-gpu-tests | |
BRANCH: main | |
MESSAGE: ":github: spacy-llm GPU tests - triggered from a GitHub Action" | |
BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_SECRET }} |