This repository has been archived by the owner on May 16, 2024. It is now read-only.
[ETFeeder] Speedup et_feeder and resolve uninitialized attrs values in ETFeederNode #314
Workflow file for this run
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: Build test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: make gcc g++ libprotobuf-dev protobuf-compiler | |
version: 1.0 | |
- run: sudo apt install -y graphviz | |
- uses: lukka/get-cmake@latest | |
- run: protoc et_def.proto --proto_path et_def --cpp_out et_def | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- uses: s-weigand/setup-conda@v1 | |
with: | |
activate-conda: true | |
python-version: 3.7 | |
- run: conda install pytorch | |
- run: pip install fbgemm-gpu-cpu | |
- run: pip install . | |
- run: python3 -m chakra.et_generator.et_generator --num_npus 1 | |
- run: | | |
python3 -m chakra.et_visualizer.et_visualizer --help | |
for f in *.et | |
do | |
python3 -m chakra.et_visualizer.et_visualizer --input_filename ${f} --output_filename "${f%.*}".dot | |
done |