ncnn
ncnn copied to clipboard
ncnn is a high-performance neural network inference framework optimized for the mobile platform
RVV: use new interface for segment load/store & change word_type to size_t&add clang ci (part #4100)
Tuple types in segment load/store operation have been removed from latest compilers. This PR uses new interface for segment load/store, and add some wrapper for old compilers which only support...
Implement resize_nearest function in NCNN
## expectation | 诉求 | 期待する 设置use_vulkan_compute=true后MemoryData拿到的数据全为0 ## model | 模型 | モデル 1. model.param and model.bin 模型param 7767517 308 380 Input in0 0 1 in0 Convolution convrelu_0 1 1...
* Finish the merge of multi-elempack * Add some test samples for coverage * Please check the instancenorm: * #4062
* Add the avx512/avx/sse inrinsic for instancenorm
[test_simple_conv2d.pt.zip](https://github.com/Tencent/ncnn/files/9269195/test_simple_conv2d.pt.zip) this model converted as: ``` 7767517 21 20 pnnx.Input pnnx_input_0 0 1 0 #0=(1,3,224,224)f32 pnnx.Attribute bn_0 0 1 1 @running_var=(16)f32 #1=(16)f32 pnnx.Attribute pnnx_unique_1 0 1 2 @running_mean=(16)f32 #2=(16)f32 pnnx.Attribute...
这个 PR 写了 mha 的 x86 简单优化: * avx512f 指令集, ViT 从 670 -> 645ms * avx2 指令集,ViT int8 从 1662 -> 1240ms 现在整个网络是 GEMM 比较慢 codebase 是 [PR 3940](https://github.com/Tencent/ncnn/pull/3940)...
## error log | 日志或报错信息 | ログ ``` layer aten::exp not exists or registered layer pnnx.Expression not exists or registered ``` ## model | 模型 | モデル 1. original model...
gcc https://github.com/riscv-collab/riscv-gcc/tree/riscv-gcc-rvv-next/gcc/config/riscv clang https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Basic/riscv_vector.td rvv https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/master/rvv-intrinsic-rfc.md build error https://github.com/felixonmars/archriscv-packages/commit/0a6a7360b90d5c28eb4d66d52b3df1dcf7f8f854 - [ ] update gcc toolchain ci (https://zhuanlan.zhihu.com/p/492845064) - [ ] add clang toolchain ci - [ ] change word_type to...
## Problem description The c/c++ macro `NCNN_VERSION_STRING` describes the build date, and maybe change it to "source code tag / commit" is better. ## Details In the CMakeLists.txt, there is...