Skip to content

Commit

Permalink
Merge pull request #33 from AlexandruAntonescuKeysight/modules_callin…
Browse files Browse the repository at this point in the history
…g_simplified

Modules calling simplified
  • Loading branch information
srinivas212 authored Apr 5, 2024
2 parents ccbc25d + b52043c commit 07c94f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: make gcc g++ libprotobuf-dev protobuf-compiler
Expand All @@ -23,10 +23,10 @@ jobs:
- 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: chakra_generator --num_npus 1
- run: |
python3 -m chakra.et_visualizer.et_visualizer --help
chakra_visualizer --help
for f in *.et
do
python3 -m chakra.et_visualizer.et_visualizer --input_filename ${f} --output_filename "${f%.*}".dot
chakra_visualizer --input_filename ${f} --output_filename "${f%.*}".dot
done
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ Repository = "https://github.com/mlcommons/chakra.git"

[tool.setuptools.package-data]
"chakra.et_def" = ["et_def_pb2.pyi", "et_def.proto"]

[project.scripts]
chakra_converter = "chakra.et_converter.et_converter:main"
chakra_visualizer = "chakra.et_visualizer.et_visualizer:main"
chakra_timeline_visualizer = "chakra.et_timeline_visualizer.et_timeline_visualizer:main"
chakra_generator = "chakra.et_generator.et_generator:main"
chakra_jsonizer = "chakra.et_jsonizer.et_jsonizer:main"

0 comments on commit 07c94f0

Please sign in to comment.