Skip to content

Refactor backend classes and remove deprecated methods in PyTorch backends #183

Refactor backend classes and remove deprecated methods in PyTorch backends

Refactor backend classes and remove deprecated methods in PyTorch backends #183

Workflow file for this run

name: Python Linting
on: pull_request
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Python Environment
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install Dependencies
run: |
pip install black
- name: Run Black
run: black . --check
- name: Run tests
run: |
python -m pip install -r requirements.txt
python -m pip install et_replay/
python et_replay/tests/test_execution_trace.py
- name: Validate imports
run: |
python -m pip install fbgemm-gpu
python -c 'from et_replay import ExecutionTrace'
python -c 'from et_replay.comm import comms_utils'
python -c 'from et_replay.tools.validate_trace import TraceValidator'
python -c 'from et_replay.utils import trace_handler'