Fix Chakra Converter Handling of NCCL All-to-All, Logging Consistency, and HTA Dependency Issues #274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Unit Tests | |
on: pull_request | |
jobs: | |
python-tests: | |
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.10.14' | |
- name: Install Chakra | |
run: | | |
pip install . | |
- name: Install PARAM | |
run: | | |
git clone https://github.com/facebookresearch/param.git | |
cd param/et_replay | |
git checkout 7b19f586dd8b267333114992833a0d7e0d601630 | |
pip install . | |
- name: Install HTA | |
run: | | |
git clone https://github.com/facebookresearch/HolisticTraceAnalysis.git | |
cd HolisticTraceAnalysis | |
git checkout d731cc2e2249976c97129d409a83bd53d93051f6 | |
git submodule update --init | |
pip install -r requirements.txt | |
pip install -e . | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Run Unit Tests | |
run: | | |
python -m pytest -vv tests |