Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow to build DS without torch to better test before releases #6450

Merged
merged 10 commits into from
Aug 30, 2024
44 changes: 44 additions & 0 deletions .github/workflows/no-torch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: no-torch

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/no-torch.yml'
schedule:
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
issues: write

jobs:
unit-tests:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- id: setup-venv
uses: ./.github/workflows/setup-venv

- name: Python environment
run: |
pip list

- name: Build deepspeed
run: |
DS_BUILD_STRING=" " python setup.py sdist

- name: Open GitHub issue if nightly CI fails
if: ${{ failure() && (github.event_name == 'schedule') }}
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/ISSUE_TEMPLATE/ci_failure_report.md
update_existing: true
Loading