-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dynamic shape #1306
Merged
Merged
Support dynamic shape #1306
+12,466
−12,559
Conversation
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
Member
sunnycase
commented
Mar 7, 2025
- Add shape expression
- Support dynamic dimensions in type inferencers
- Add range inference
- Add optimize rules using range info
- Pass Qwen 2.5 compilation
* update faq * update Homepage * update link * update gif link * update gif link
* add egraph-extract-constrains * reorder SwapBinaryArgs
* update faq * update Homepage * update link * update gif link * update gif link * update FAQ * update FAQ
* Fix macos-latest doesn't support python 3.7 issue. * Set macos version to 12(13 uses Xcode 15).
* Load multiple characters at once * Apply code-format changes * fix build --------- Co-authored-by: curioyang <curioyang@users.noreply.github.com>
* close non-equal split * fix typeinfer of conv2d * fix fold binary * do not swap binary args * update setup.py * do not pre-preprocess onnx with external data * imgnore .mono in git * restore SwapBinaryArgs * fix onnx test runner --------- Co-authored-by: sunnycase <sunnycase@live.cn>
* fix reduce sum opset condition * Update Reduce.cs * fix reduce operators consisting of reduce_sum. fix #1193
* support LayerNorm channel first * fix review : https://github.com/kendryte/nncase/pull/1204\#discussion_r1599285210
* update set dotnet env
* no module constrain for fusion eval * fix external data larger than 2GB * power of 2 to square * change buffer size from int to long
* update docs link * update demo link
* fix bug * add reduce sum test * update test * add tips for bug in homepage * fix condition * fix MSVC_VERSION 1930-1949 = VS 17.0 (v143 toolset) link:https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html * Update compiler-build.yml * fix build: downgrade windows-os version to 2019
* fix dtype compare * add linux runtime build toolchain and config * split rtos and linux toolchains * upgrade rvv code to rvv intrinsic v1.0 * rename toolchain * format rvv memcpy * Revert "upgrade rvv code to rvv intrinsic v1.0" This reverts commit 414f749. * gcc14+musl-kernel * recover rvv code * support linux runtime, clock() not correct 20240718 * use thead gcc-10.4. fix ci about pip version conflict with python3.7 * remove redundant code * Apply code-format changes * fix pip version for python3.7 * add LINUX_RUNTIME flag for op profile --------- Co-authored-by: curioyang <curioyang@users.noreply.github.com>
Loading status checks…
* Add extra compile option to be compatible with k230 linux sdk. * Try to remove cp37 and set auditwheel==6.0.0.
* fix numpy non-contiguous. * replace rapidjson * Apply code-format changes --------- Co-authored-by: huochenghai <huochenghai@canaan-creative.com> Co-authored-by: curioyang <curioyang@users.noreply.github.com>
* Upgrade conan2 (#1242) * upgrade conan2 * update ci * add install lib * close vulkan * update kernel tests * test exclude win * test kernel tests * fix rv runtime build * fix cmake cmd * fix conan install args * test * fix python packages dependence * Apply code-format changes * fix python build * fix python build * fix python build * fix python build * fix python build * fix python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * only test linux python build * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * Apply code-format changes * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * debug dotnet * downgrade python lib * debug dotnet * all test * all test * all test * all test * fix python build whl * fix remove file * fix error * fix error * fix error * fix error * close mac python whl * fix error * fix intrinsic args * disable ctest * enable mac build python whl * try fix python build * Revert "try fix python build" This reverts commit b934f15. * try fix python build * Revert "try fix python build" This reverts commit 233bad4. * try fix macos python build * check build dir with wrong macos * fix cmd * debug * ssh debug * fix mac build error * remove debug code * start to debug windows ci * upgrade windows version * debug ssh * fix win build * debug * fix error in windows python build wheel * fix ninja dependence * fix ninja dependence * fix ninja dependence * fix ninja dependence * fix lib miss * fix path error * fix ninja * fix ninja * fix ninja * disable linux mac * recover conanfile path replace * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * python build ok * debug test compiler * debug * debug * debug * recover * debug * debug * Revert "debug" This reverts commit b666dae. * change windows version * disable windows test-compiler * Use gcc-14 * Add missing files * Fix dependencies * Fix dependencies * Fix dependencies * Fix dependencies * Fix dependencies * Disable F.InterpolationMode.BILINEAR * Apply code-format changes * Disable tflite conv2d_transpose * Disable tflite expand_dims * Disable more tflite * Fix CI * Fix python build * Apply code-format changes * Fix * Fix * Enable macos * Fix * Enable win * Fix --------- Co-authored-by: curioyang <curioyang@users.noreply.github.com> Co-authored-by: yanghaoqi <yanghaoqi_intern@canaan-creative.com> Co-authored-by: sunnycase <sunnycase@live.cn> Co-authored-by: sunnycase <sunnycase@users.noreply.github.com>
* fix cmake path * support 230 build
* fix sat extractor * update egraph extractor --------- Co-authored-by: sunnycase <sunnycase@live.cn>
Loading status checks…
…o feature/qwen
Loading status checks…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.