WuJinxuan
abb28435d6
fix:pnnx-softmax ( #4333 )
3 years ago
nihui
92da26be79
pnnx load gpu torchscript and reset device ( #4330 )
3 years ago
nihui
5b28c1730e
implement ncnn fold and unfold ( #4326 )
3 years ago
shaoshengsong
d522e78af1
support yolov5 6.2 ( #4328 )
3 years ago
nihui
a12c24d328
pnnx convert fold unfold ( #4325 )
3 years ago
nihui
b8d40a960f
pnnx convert nn.Softmax2d ( #4324 )
3 years ago
nihui
bcf06bd1c0
fold new_full and full_like ( #4323 )
3 years ago
nihui
2ef57a6204
fix ci pnnx build
3 years ago
Xavier Hsinyuan
d1ac1de7ab
RVV: InstanceNorm with fp16s(a) support ( #4078 )
3 years ago
Xavier Hsinyuan
31602bd2dc
RVV: BatchNorm with fp16s(a) support ( #4075 )
3 years ago
nihui
a91411ea14
tencent ci test-coverage pnnx ( #4305 )
3 years ago
nihui
0f9a3bb9dc
fix slice end index, fix fp16 model weight alignment ( #4317 )
3 years ago
nihui
6e49fa30dc
groupnorm 1d/2d/4d ( #4312 )
3 years ago
nihui
b853b3d132
get_physical_cpu_count api family ( #4302 )
* get_physical_cpu_count api family
* set default to physical big cpu
* always treat smt core as big core
* is_smt_cpu
* get max freq mhz on windows
* windows thread affinity
3 years ago
nihui
9c6f1107d2
fix #4315 ( #4316 )
3 years ago
nihui
fdf129fcd7
pnnx pytorch 1.13 ( #4314 )
3 years ago
dependabot[bot]
b17c9eb84f
Bump pypa/cibuildwheel from 2.11.1 to 2.11.2 ( #4308 )
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.11.1...v2.11.2 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
nihui
5ee276cdf7
x86 unified fc fp32/fp16s ( #4303 )
* more fma
* more transpose utility function
3 years ago
nihui
512e584a6a
general cpu feature detection on macos/ios, enable bf16 and i8mm on a15 a16 and m2 ( #4300 )
3 years ago
bestpower
a116e005b8
Fix linux build error( #4265 ) ( #4294 )
Co-authored-by: wangyu <786794414@qq.com>
3 years ago
nihui
8edc03c515
pnnx skip dynamic size evaluation ( #4291 )
3 years ago
nihui
8eab5ea0ea
x86 sse2/avx2 optimization for convolution sgemm/winograd int8 family ( #4286 )
3 years ago
Caize Wu
c33cbc924a
1. Fix typo in readme ( #4287 )
3 years ago
nihui
f770987267
pnnx glu batchindex aware conversion ( #4285 )
3 years ago
nihui
777e4ef0a0
fix pnnx softmax/normalize/slice negative axis conversion to ncnn ( #4284 )
3 years ago
dependabot[bot]
549152ca73
Bump pypa/cibuildwheel from 2.10.2 to 2.11.1 ( #4271 )
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.10.2 to 2.11.1.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.10.2...v2.11.1 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Fangjun Kuang
5281d51535
implement GLU and pnnx conversion ( #4283 )
3 years ago
nihui
c62d2563ac
fix tencent ci ( #4277 )
3 years ago
Yoh
bb660d09b8
add elu vulkan operator ( #4280 )
3 years ago
nihui
0b591b0d1f
implement layer feature disabled bit ( #4278 )
3 years ago
nihui
270d6b2ae6
linux-x64-cpu-gcc on tencent ci
3 years ago
li mengyang
0df463a77e
add benchmark for rk3588 on rock5b ( #4275 )
3 years ago
Eahow Chen
f80c2743e7
fix compile warning with gcc 9.1.0 including simplestl.h file ( #4274 )
* fix compile warning with gcc 9.1.0 including simplestl.h file
* apply code-format changes
Co-authored-by: veahow <veahow@users.noreply.github.com>
3 years ago
miemie2013
b13c2a16ce
Optimize x86 DeformableConv2D ( #4128 )
3 years ago
nihui
77eda4c19f
implement lstm proj_size ( #4263 )
3 years ago
陸 言
0f38cb2cd8
Add TH1520 (4*C910V) toolchain support. ( #4267 )
3 years ago
LiuYi-Up
902954d737
modified the param axes of expanddims in modelwriter ( #4259 )
3 years ago
nihui
3e2b3fa04d
more stricter armv7 fp16 and armv84 bf16 compiler check, fix #4147 fix #4222 ( #4247 )
3 years ago
nihui
cef95f64a4
pnnx math operation ( #4251 )
3 years ago
MisakaBit
bbbe17c5b5
docs: disable fp16 when wrong results encountered caused by overflow ( #4248 )
3 years ago
LinHe
9426e21166
Memory Pool Improvement For Variadic Sized Inputs ( #4190 )
* Simple miss count for better space efficiency
* Simple double ended greedy;
* Add size drop threshold setter;
* set workspace allocator cr to zero as we had some sort of recylcing capability :P
Co-authored-by: LinHeLurking <LinHeLurking@users.noreply.github.com>
Co-authored-by: nihuini <nihuini@tencent.com>
3 years ago
Zhang Ge
3fce00b260
fix param parsing issue when layer/blob name exceeds 255 ( #4236 )
* fix param parsing issue when layer/blob name exceeds 255
* apply code-format changes
Co-authored-by: ZhangGe6 <ZhangGe6@users.noreply.github.com>
3 years ago
柚木鉉
eb9bb5d191
Add benchmark result of T-Head TH1520 ( #4240 )
`cpuinfo`:
```
isa : rv64imafdcvsu
mmu : sv39
cpu-freq : 1.848Ghz
cpu-icache : 64KB
cpu-dcache : 64KB
cpu-l2cache : 1MB
cpu-tlb : 1024 4-ways
cpu-cacheline : 64Bytes
cpu-vector : 0.7.1
```
Compiled with `-DCMAKE_TOOLCHAIN_FILE=../toolchains/c910-v240.toolchain.cmake -DCMAKE_BUILD_TYPE=release -DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF -DNCNN_RUNTIME_CPU=OFF -DNCNN_RVV=ON -DNCNN_SIMPLEOCV=ON -DNCNN_BUILD_EXAMPLES=ON`
Seems much worse than expected 🤔
3 years ago
nihui
59a6fa37e2
add c906 build ci ( #4232 )
3 years ago
dependabot[bot]
bdcd68f574
Bump pypa/cibuildwheel from 2.10.1 to 2.10.2 ( #4220 )
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.10.1 to 2.10.2.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.10.1...v2.10.2 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Xavier Hsinyuan
e7eadca6c1
RVV: use new interface for segment load/store & change word_type to size_t&add clang ci (part #4100 ) ( #4118 )
* RVV: use size_t for vl
* RVV: replace vsseg.v tuple type by using regex
-----
search:
vsseg([1-9])e(8|16|32)_v_(f|i|u)\2m(1|2|4|8)x\1\(([ -~]+), vcreate_\3\2m\4x\1\(([ -~]+)\), vl\);
substitute by:
vsseg$1e$2_v_$3$2m$4($5, $6, vl);
* RVV: replace vssseg.v tuple types by using regex
---
search:
vssseg([1-9])e(8|16|32)_v_f\2m1x\1\(([ -~]+), vcreate_f\2m1x\1\(([ -~]+)\), vl\);
substitute by:
vssseg$1e$2_v_f$2m1($3, $4, vl);
* RVV: replace vlseg.v tuple types in load/store
* RVV: replace vloxseg2ei32.v tuple types
* RVV: add a wrapper for old compilers
* RVV: add segment load/store wrapper in pakcing
* RVV: fix cmake test
* RVV: make clang happy by dropping VLAs in sgemm
* RVV: add clang cmake toolchain configure
* RVV: add clang ci, riscv64-unknown-linux-gnu
Co-authored-by: thelastlin <thelastlin@users.noreply.github.com>
Co-authored-by: nihui <shuizhuyuanluo@126.com>
3 years ago
Zhuo Zhang
4f9e3984a5
Ignore CMakeSettings.json, the Visual Studio CMake schema file ( #4228 )
3 years ago
汤圆奶昔
d30fc825d4
style: space alignment ( #4217 )
3 years ago
dependabot[bot]
183e6e99b9
Bump pypa/cibuildwheel from 2.9.0 to 2.10.1 ( #4207 )
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.9.0 to 2.10.1.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.9.0...v2.10.1 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Zhuo Zhang
bfe27f2aed
Ignore .xmake directory ( #4212 )
3 years ago