chakra-old
chakra-old copied to clipboard
Repository for MLCommons Chakra schema and tools
Converting from ASTRA-sim-1.0 Text Files to Chakra format triggers the following attribute error.  This PR fixes the error.
## Summary In ETFeederNode, add fields of all_deps, which is a complete set of data_deps and ctrl_deps. Add unreleased_deps to track the parents of a node which is not issued...
## Summary Fix out-of-boundary bug in ETFeeder::lookupNode(). If detected out-of-boundary access, throw an exception, instead of silence and continue to run into bugs.
## Summary Update text converter to use v0.0.4 schema ## Test Plan ``` # Assuming there is a astrasim text input file, like [astrasim]/inputs/workload/ASTRA-sim-1.0/Resnet50_DataParallel.txt python -m chakra.et_converter.et_converter \ --input_type Text...
1. Updated ETFeeder::readNextWindow to speed up by removing some extra resolveDeps() calls. 2. Assigned default values of attrs in ETFeederNode to avoid uninitialized variables and leading undefined behavior with -O3...
## Summary For those optional attrs in chakra schema, we introduce std::optional to store attr fields, which can be used to indicate whether a attr exists or not. Also add...
## Summary This pull request introduces a refactored directory structure and adds unit tests for existing Python code. Key changes include: - Separated source (`src`) and test (`tests`) code for...
## Summary This pull request introduces two major improvements to the codebase: 1. **Reformatted Python Codes with Black**: Applied black to enhance code readability and consistency. 2. **Python Linting GitHub...