Skip to content

Fix a bug in convolution for torch_xla2. Enable tests #5

Fix a bug in convolution for torch_xla2. Enable tests

Fix a bug in convolution for torch_xla2. Enable tests #5

Workflow file for this run

on:
pull_request:
branches:
- master
- r[0-9]+.[0-9]+
paths:
- 'experimental/torch_xla2/**'
push:
branches:
- master
- r[0-9]+.[0-9]+
paths:
- 'experimental/torch_xla2/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
torchxla2-cpu:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
sparse-checkout: |
experimental/torch_xla2/**
- name: Setup Python
uses: actions/setup-python@v4
working-directory: experimental/torch_xla2

Check failure on line 31 in .github/workflows/torch_xla2.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/torch_xla2.yml

Invalid workflow file

The workflow is not valid. .github/workflows/torch_xla2.yml (Line: 31, Col: 9): Unexpected value 'working-directory'
with:
python-version: '3.10'
cache: 'pip'
- name: Install
shell: bash
working-directory: experimental/torch_xla2
run: |
pip install -e .
pip install pytest
- name: Run tests
working-directory: experimental/torch_xla2
shell: bash
run: |
pytest test/