Skip to content

Run Weekly tests

Run Weekly tests #29

Workflow file for this run

name: Run Weekly tests
on:
schedule:
- cron: '0 20 * * 0'
workflow_dispatch:
jobs:
run-weekly-tests:
runs-on: k8s-mle-gpu-12-vcpu-225GB-ram-2-a6000-48G
env:
CADENCE: "weekly"
CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}
CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}
CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}
CLEARML_FILES_HOST: ${{ secrets.CLEARML_FILES_HOST }}
CLEARML_API_SECRET_KEY: ${{ secrets.CLEARML_API_SECRET_KEY }}
steps:
- uses: actions/checkout@v2
with:
repository: "neuralmagic/compressed-tensors"
path: "compressed-tensors"
ref: ${{needs.test-setup.outputs.branch}}
- name: "⚙️ Install compressed-tensors dependencies"
run: pip3 install -U pip && pip3 install setuptools compressed-tensors/
- name: "Clean compressed-tensors directory"
run: rm -r compressed-tensors/
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: "⚙️ Install dependencies"
run: pip3 install .[dev,onnxruntime,torch,torchvision,transformers]
- name: Run oneshot tests
run: |
pytest tests/sparseml/transformers/obcq -m integration
- name: Run finetune tests
if: always()
run: |
pytest tests/sparseml/transformers/finetune -m integration