-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add cpu module * Fix build * Pass unary * Use custom pe loader * Remove unused code * Skip some tests cpu codegen doesn't support * Add linux support * Fix win * Fix * Fix macos * Add pack * Add macho loader * Fix unary test * fix call function * Add -fno-stack-protector * Fix find vs * Add sinh cosh * Add linear_size() * Fix macos * Add square * Add sign * Add ntt(nncase tensor template) * Fix macos * Fix macos * Add rsqrt * Import memcpy for gcc * Disable lto * Compile-time apply * Add binary * Setup ninja * Fix build * Fix build * Fix slicing codegen * Fix findvc * Fix build * Disable macos cpu module * Add pow * Link __chkstk on win32 * Avoid stackoverflow * Optimize unary apply * Fix build * Update unary impl * Fix build * Add l2 fuse * fix test * Add missing parts * Update * Add AllocateBufferView * Pass test simple unary * add rewriter * fix codegen * fix elf loader * fix mac build * fix ci * fix ci * Move AffineMap * Fix ut * fix mac build * Add Affine.Grid * Start to code auto tiling * refactor code * pass packed layernorm * add binary * add binary test * Try matmul tiling * More generic cost * Tiling: parameterize * pass unittests * format * reverse cpu target * add packed kernel * add unary simd support * Add grid auto tile * fix ci * fix mac build * fix linux build * fix packed matmul evaluator * disable cnblogs source * Chain the pipeline * Add allocate buffer scope * fix dotnet build * add packing * refactor vector type * fix vector type * fix cmake path * add x86 pack unpack kernel * Move auto tile to schedule proj * Fix win build * fix repeated AutoPacking * fix mac build * Add buffer subview * Fix cmakelist template * Fix win32 runtime build * fix mac test * add layer norm * skip the failed case * add layer norm case * fix layernorm test * pass packed layer norm * fix mac build * fix packed transpose vi * add arm neon packed softmax * add packed softmax * fix mac ci * add blame * add 1d packed matmul * disable pack test * add packed matmul * fix mac * add packed matmul * add more kernel * refactor cpu kernels test * fix some bug * add copy * fix ci * fix mac build * fix mac build * add gather * Add ranked_shape support for pack and some test cases. * compile decode layer success * Add ranked_shape support for unpack and some test cases. * fix bug * Support softmax axis != packed axis for packed_softmax. * add buffer schedule * fix mac loader * pass mac loader * opt copy and matmul * pass 65b decode layer * fix ci * Fix layer norm axis > pack axis and support broadcasting for scale/bias. * add pad/fix bugs * fix packed layer norm * fix arm vector 4 reduce sum * add packed layernorm case * fix ci * Remove unused deps * Refactor ntt * Fix * fix linux ci * Fix build * Fix build on Ubuntu. * Add aarch64 types * fix mac build * Fix build * Fix load model with binary mode * Use M1 runners * Use python 3.10 * Use python 3.10 * Fix macos CI * Remove halide * Remove halide * Skip TestDecodeLayer in CI * Add ctest for ntt and fix unary bugs. * Rename ctest files to avoid confliction. * Fix msvc empty bases bug * Fix build * onnxoptimizer==0.2.7 * Update vulkan * Update torch * Update mac vulkan * Remove caffe * Update CI * Upgrade packages * Move setup python * Fix win deps * Remove omp * debug * Add floor_mod and ctest cases for ntt binary. * Add bin to python search path * Remove gsl * Fix build * Fix build * Fix win test * Disable F.InterpolationMode.BILINEAR * Disable test_conv2d_transpose * Disable test_expand_dims * Disable test_fully_connected * Disable test_conv2d_prelu * Disable test_squeeze_transpose_shape * Add x86_64 avx optimization and test cases for unary. * Disable test_mobilenetv1 * Disable test_mobilenetv2 * Disable tflite_model test * Disable ncnn test as ncnn pypi doesn't support arm64 * Disable test_pad_reduce_window2d and enable ncnn test * Disable test_reduce_window2d * Upgrade packages * Downgrade Microsoft.CodeAnalysis.CSharp to 4.7.0 * Disable DOTNET_INIT_FOR_CONFIG as aspnet doesn't support non-default ACL dotnet/aspnetcore#21159 * Fix kernel tests * All extract with null constrains * Apply code-format changes --------- Co-authored-by: 郑启航 <597323109@qq.com> Co-authored-by: zhangyang2057 <zhangyang@canaan-creative.com> Co-authored-by: sunnycase <sunnycase@users.noreply.github.com>
- Loading branch information
1 parent
2498b1b
commit c53096d
Showing
693 changed files
with
54,560 additions
and
4,241 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
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 |
---|---|---|
|
@@ -261,6 +261,7 @@ __pycache__/ | |
|
||
# vscode | ||
.vscode/ | ||
.mono/ | ||
|
||
# clangd | ||
.cache/ | ||
|
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.