-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCG serialization, rapidcheck, dtgen, and shape inference (#1394)
* Add initial lib/substitution-generator and bin/substitutions-to-dot * Format * Update proj version and add .proj.toml file to repo directly * Revert changes to flake.nix * Prototype implementation of dtgen * Refactor op-attrs to use dtgen * Format * More dtgen'ing * Re-pass tests * Simplify types in substitutions, more dtgen * Add new reduction dim shape inference for conv2d * Move conv2d input parsing into public headers * Remove incorrect not_implemented * Add pcg tests * Add initial test for pcg * Partial implementation of shape inference for linear * Fix rapidcheck (#8) * enable rapidchecks for op-attrs * added rc::checks * fix merge * fixed variant toml * revert proj.toml * removed additional import merged * constraint for ff_dim * lock flake --------- Co-authored-by: Rae Wong <raewong@sapling2.stanford.edu> * Attempt to hide dtgen-generated files from github diff * Fix header file name for dtgen in gitattributes * Update proj and format code * Add initial shape inference for BMM * Add half of shape inference for Attention * Finish initial shape inference for Attention * Enable op-attrs and pcg tests in CI * Add parallel shape inference for add and relu * Add parallel shape inference for embedding * Add shape inference for repartition, combine, replicate, and reduction * Include tests for reduction * Address wmdi comments * Fixup linear shape inference, add tests for linear * Fix tests * Format * Fix build errors * change lcov in ci to rm dtgen coverage * Remove dtgen from coverage * Temporarily disable substitutions build in CI * Format * Fix substitution-generator build and tests * Format * fix ci coverage attempt * second attempt * small fix * small fix --------- Co-authored-by: Rae Wong <33883582+yingyee0111@users.noreply.github.com> Co-authored-by: Rae Wong <raewong@sapling2.stanford.edu> Co-authored-by: Qinghan Chen <qinghanc@andrew.cmu.edu>
- Loading branch information
1 parent
c97f63f
commit f93e262
Showing
731 changed files
with
35,397 additions
and
5,231 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[{CMakeLists.txt,*.cmake}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{cc,h,cu,cpp}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.toml] | ||
indent_style = space | ||
indent_size = 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.dtg.cc linguist-generated=true | ||
*.dtg.h linguist-generated=true |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace = "FlexFlow" | ||
name = "legion_dim_t" | ||
|
||
features = [ | ||
"eq", | ||
"ord", | ||
"hash", | ||
"json", | ||
"fmt", | ||
] | ||
|
||
[[fields]] | ||
name = "value" | ||
type = "int" |
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
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
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
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
Oops, something went wrong.