Skip to content

Update onnx export and validation for cms (#378) #2219

Update onnx export and validation for cms (#378)

Update onnx export and validation for cms (#378) #2219

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
remove-unneeded-software:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: |
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
deps-torch:
runs-on: ubuntu-22.04
needs: [remove-unneeded-software]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10.12"
cache: "pip"
- run: pip install -r requirements.txt
torch-pipeline:
runs-on: ubuntu-22.04
needs: [deps-torch]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10.12"
cache: "pip"
- run: pip install -r requirements.txt
- run: ./scripts/local_test_torch.sh