Fix Chakra Converter Handling of NCCL All-to-All, Logging Consistency, and HTA Dependency Issues #298
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: End-to-End Tests | |
on: pull_request | |
jobs: | |
end-to-end-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: Test chakra_trace_link Without Arguments | |
run: | | |
chakra_trace_link || [ $? -eq 2 ] | |
- name: Test chakra_converter Without Arguments | |
run: | | |
chakra_converter || [ $? -eq 2 ] | |
- name: Test chakra_visualizer Without Arguments | |
run: | | |
chakra_visualizer || [ $? -eq 2 ] | |
- name: Test chakra_jsonizer Without Arguments | |
run: | | |
chakra_jsonizer || [ $? -eq 2 ] | |
- name: Test chakra_timeline_visualizer Without Arguments | |
run: | | |
chakra_timeline_visualizer || [ $? -eq 2 ] |