forked from facebookincubator/AITemplate
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve OSS documentation (facebookincubator#334)
Summary: Pull Request resolved: facebookincubator#334 While reading the OSS documentation [here](https://facebookincubator.github.io/AITemplate/index.html), I've made some content improvements. Reviewed By: chenyang78 Differential Revision: D43609113 fbshipit-source-id: 9698ed86d64e315bb1d1fa33084c7ae17f667a9f
- Loading branch information
1 parent
bdefae8
commit 24de3cf
Showing
11 changed files
with
137 additions
and
116 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
Debug Hints | ||
=========== | ||
|
||
AITemplate is a new project under active development. We have a rich test set to avoid bugs but don't be surprised if there is anything unexpected. | ||
AITemplate is a new project under active development. | ||
We have a rich test set to avoid bugs but don't be surprised if there is anything unexpected. | ||
|
||
Here are some helpful tips when we learned during the development AITemplate: | ||
Here are some helpful tips we learned during the development of AITemplate: | ||
|
||
1. Once the codegen for op which requires profiling is changed, remember to delete old profilers (usually located at workdir), and flush the cache by either deleting ~/.aitemplate or setting environment variable FLUSH_PROFILE_CACHE=1 | ||
1. Once the codegen for op which requires profiling is changed, remember to delete old profilers (usually located at workdir), and flush the cache by either deleting `~/.aitemplate` or setting the environment variable `FLUSH_PROFILE_CACHE=1`. | ||
|
||
2. Check the pseudo code/visualization generated by each optimization pass if some optimization is harmful. | ||
2. Check the pseudo code/visualization generated by each optimization pass if some optimization behaves in unexpected way. | ||
|
||
3. Always do the numerical test, from small to large, to make sure the entire model is correct. | ||
|
||
4. Try to make the new fusion subgraph work in a manual way, then try to add an automatic pass to rewrite the graph with the fused subgraph. | ||
4. Try to make the new fusion subgraph work in a manual way, then try to add an automatic pass to rewrite the graph with the fused subgraph. |
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.