Skip to content

Added Changes to CI to check if failed_ops.json is empty or not for smoke and opinfo on aten backend #699

Added Changes to CI to check if failed_ops.json is empty or not for smoke and opinfo on aten backend

Added Changes to CI to check if failed_ops.json is empty or not for smoke and opinfo on aten backend #699

Workflow file for this run

name: Smoke Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
smoke-test:
runs-on: 4-core-ubuntu-gpu-t4
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Install package and dependencies
run: uv sync --dev
- name: Clone FACTO source
run: git clone https://github.com/pytorch-labs/FACTO.git
- name: Build and install FACTO
run: cd FACTO && uv pip install .
- name: Run smoke test
run: uv run python -m BackendBench.scripts.main --suite smoke --backend aten
- name: Run FACTO test
run: uv run python -m BackendBench.scripts.main --suite facto --backend aten --ops "add.Tensor"
- name: Run pytest tests
run: uv run pytest test/