Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
i-robot 15b59fb739 | 2 years ago | |
---|---|---|
.gitee | 3 years ago | |
.github | 3 years ago | |
.jenkins/check/config | 2 years ago | |
cmake | 3 years ago | |
docs | 3 years ago | |
python/akg | 2 years ago | |
scripts | 3 years ago | |
src | 2 years ago | |
tests | 2 years ago | |
third_party | 2 years ago | |
.clang-format | 3 years ago | |
.gitignore | 3 years ago | |
CMakeLists.txt | 2 years ago | |
CONTRIBUTING.md | 3 years ago | |
LICENSE | 3 years ago | |
NOTICE | 3 years ago | |
README.md | 3 years ago | |
README_CN.md | 3 years ago | |
RELEASE.md | 2 years ago | |
Third_Party_Open_Source_Software_Notice | 3 years ago | |
build.sh | 2 years ago | |
requirements.txt | 2 years ago | |
setup.py | 2 years ago |
AKG(Auto Kernel Generator) is an optimizer for operators in Deep Learning Networks. It provides the ability to automatically fuse ops with specific patterns. AKG works with MindSpore-GraphKernel to improve the performance of networks running on different hardware backends.
AKG composes with three basic optimization module, normalization, auto schedule and backend optimization.
normalization. In order to solve the limitation in expression ability of polyhedral(which can only process static linear programs), the computation IR needs to be normalized first. The mainly optimization of normalization module includes auto-inline, loop fusing, common subexpression elimination and so on.
auto schedule. Base on polyhedral technology, the auto schedule module mainly have auto-vectorization, auto-tiling, thread/block mapping, dependency analysis and memory promotion.
backend optimization. The backend optimization module mainly consists of TensorCore acceleration, double buffer optimization, storage flatten optimization and inject sync optimization.
At present, GPU V100/A100
are supported. More Backends are on the list.
See MindSpore README.md for details.
We suggest you build and run akg together with MindSpore. And we also provide a way to run case in standalone mode for convenience sake.
Refer to MindSpore Installation for more information about compilation dependencies.
bash build.sh -e $target // target can set 'gpu'
cd tests
source ./test_env.sh gpu
cd tests/operators/gpu
python3 test_all.py -s "op_name" #replace op_name with the operator name which you want to test
Welcome contributions. See MindSpore Contributor Wiki for
more details.
The release notes, see our RELEASE.
AKG(Auto Kernel Generator) is an optimizer for operators in Deep Learning Networks, which provides the ability to automatically fuse ops with specific patterns.
Python C++ CSV Text Cuda other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》