Commit Graph
192 Commits
Author SHA1 Message Date
nihui 4abadd2ffb binaryop implicit broadcast B with 1 dimension rank for outer axis (#4930) 2023-08-10 21:29:49 +08:00
JeremyRand 0a8cf31a05 Add POWER8 VSX toolchains (#4853)
* Add POWER8 VSX toolchains

POWER8, though slower than POWER9, is still used in the wild; these
toolchains should still be much faster on POWER8 than POWER8 without VSX
optimizations.

* VSX toolchains: set -cpu arg in QEMU CI tests
2023-08-06 22:16:34 +08:00
mizu-bai 4c861a0d1a Add Building with Intel oneAPI (#4920) 2023-08-06 21:41:12 +08:00
ฅ'ω'ฅ 2303b77ac1 Update how-to-build.md (#4872) 2023-07-21 19:35:36 +08:00
JeremyRandandJeremy Rand 47e0daf4a1 Translate x86_64 SSE to ppc64le VSX intrinsics (#4807)
* Add POWER9 VSX toolchains

Translating x86_64 SSE to ppc64le VSX intrinsics yields a quite large
speedup on POWER9. See this article for background:

https://www.talospace.com/2019/07/easier-power-vectorizing-for-fun-and.html

* Add power9le docs

* power9le clang toolchain: Document Clang 13+ requirement

---------

Co-authored-by: Jeremy Rand <jeremyrand@danwin1210.de>
2023-07-06 16:02:05 +08:00
Kin Yu Shek e8d8042b90 Fix a mistake in docs/faq (#4837) 2023-07-04 08:17:10 +08:00
張小凡 1e0d70af8c Add translated document: glsl-extension.zh.md (#4818) 2023-07-02 11:47:44 +08:00
nihui 43aba6badb Update glsl-extension.md 2023-06-26 11:48:14 +08:00
nihui 172b748c74 add ncnn glsl extension doc (#4817) 2023-06-26 11:13:41 +08:00
nihui 9022b7162a implement all explicit binaryop broadcast types (#4809)
* simplify binaryop

* less gpu test

* update binaryop broadcast doc

* do not test atan2 zero
2023-06-19 19:32:32 +08:00
nihui 6b5ca0f70d add doc for building for qnx (#4709) 2023-05-08 17:44:51 +08:00
nihui c28c8c04a1 multiheadattention attn mask (#4668) 2023-04-28 12:28:38 +08:00
nihui b640574b88 rough vulkan gemm and multiheadattention (#4618) 2023-04-26 15:13:27 +08:00
He Yang f9180330e2 update how-to-build.md and delete obsolete tutorials in docs (#4660) 2023-04-23 15:52:40 +08:00
張小凡 868ea52bea update faq.md about gpu performance (#4614) 2023-04-10 16:09:52 +08:00
Zhuo Zhang a124c2a839 fix typos in citation and benchmark docs (#4604) 2023-04-05 19:04:01 +08:00
inisis f7de5a7dc2 update faq.md (#4584) 2023-04-03 22:27:57 +08:00
inisis 37042b2174 update build doc for Centos users (#4583) 2023-03-22 19:23:51 +08:00
nihui 6f661f9bc4 Update FAQ-ncnn-throw-error.md 2023-02-22 16:04:16 +08:00
nihui afc9310c62 update new operators for modelwriter (#4540) 2023-02-21 13:30:05 +08:00
nihuiandncnnnnn 47ea2877ed stb and emsdk update (#4536)
* stb_image_write 1.16

* stb_image v2.28

* update emsdk 3.1.28

* enable stb arm neon

* update doc

Co-authored-by: ncnnnnn <67086033+ncnnnnn@users.noreply.github.com>
2023-02-20 16:04:00 +08:00
nihui fc6ce4a641 copyto operator (#4522) 2023-02-14 15:22:38 +08:00
nihui 242e775d21 pnnx convert torch log10, pow 2 as square (#4518) 2023-02-09 19:28:18 +08:00
nihui 246e71c526 implement atan2 (#4516) 2023-02-09 00:29:18 +08:00
Fangjun Kuang 92e75105c9 Support torch.cumsum (#4505) 2023-02-08 10:50:50 +08:00
nihui ab4cfbf5b0 enrich ncnn binary broadcast rules (#4513) 2023-02-08 10:22:30 +08:00
Hitesh Kumar add0a7bac4 fix : minor typo readme (#4486) 2023-01-27 13:10:40 +08:00
nihui fed99fd35b gemm output transpose, prepack c (#4479)
* mha is now permute and reshape free
* gemm user defined tile mnk param
2023-01-27 13:03:04 +08:00
10e9d91576 Add x86 MultiHeadAttention (#4443)
* fix doc, sync x86 gemm fix

Co-authored-by: EdVince <EdVince@users.noreply.github.com>
Co-authored-by: nihuini <nihuini@tencent.com>
2023-01-04 17:28:20 +08:00
nihui fd1ac3c7a0 x86 optimization for gemm unified elempack (#4387) 2022-12-10 17:36:50 +08:00
nihui eceac35a7f implement MultiheadAttention kdim vdim (#4347) 2022-11-14 12:46:51 +08:00
6a47f8d15c gridsample op support (#4288)
Co-authored-by: LRY89757 <LRY89757@users.noreply.github.com>
Co-authored-by: nihuini <nihuini@tencent.com>
Co-authored-by: nihui <shuizhuyuanluo@126.com>
2022-11-11 20:55:57 +08:00
Fangjun Kuang 5281d51535 implement GLU and pnnx conversion (#4283) 2022-10-19 12:41:23 +08:00
nihui 77eda4c19f implement lstm proj_size (#4263) 2022-10-14 10:54:03 +08:00
MisakaBit bbbe17c5b5 docs: disable fp16 when wrong results encountered caused by overflow (#4248) 2022-10-09 14:41:12 +08:00
Lry89757 b16f8ca921 [docs] Fix typo (#4201) 2022-09-15 13:39:53 +08:00
720f3c9aab Add DeformableConv2D (#4070)
* Add DeformableConv2D
* add unittest and docs
* pnnx torchvision deformconv2d conversion

Co-authored-by: miemie2013 <miemie2013@users.noreply.github.com>
Co-authored-by: nihui <shuizhuyuanluo@126.com>
2022-07-28 11:45:09 +08:00
Zhouzhou 4158e63668 docs:add sse optimized zh (#4053)
Signed-off-by: Zhouzhou <1197236910@qq.com>
2022-07-25 16:24:44 +08:00
tpoisonooo 207ca0e0bb Improve protobuf FAQ doc (#3973) 2022-07-04 14:53:16 +08:00
nihui f8c76e730a fix ci release optimization with cmake >= 3.21 and ndk23 (#3976)
* Update release.yml

* Update how-to-build.md
2022-06-30 12:24:50 +08:00
nihui 14588023b5 release ubuntu 22.04 package, fix ndk debug flag for r23+ (#3972) 2022-06-29 21:54:53 +08:00
dankernel 01655613d1 Create build-for-VisualStudio.en.md (#3956)
- Translated Chinese documents into English
- Updated to VS2022 version
2022-06-26 14:38:05 +08:00
Jianbo-Ning 4fad760a64 add faq.en.md (#3901) 2022-06-26 14:37:54 +08:00
nihui f79073c182 update how-to-build doc for raspberrypi and d1 2022-05-19 22:07:10 +08:00
Lry89757 ca9abd1c4a Update the add-custom-layer.zh.md (#3741)
1. 🐛Fix Bug of float and int.  修复了std::max()中参数int和float参数不符合的Bug
2. 👀 The structure of ncnn changes.  ncnn文件结构变动,所有testlayer.cpp改成在tests/文件夹中
2022-04-27 15:02:10 +08:00
nihui ae75a093fa update print 4d mat, remove deprecated content 2022-04-19 09:19:36 +08:00
nihui 49e70c81a6 update linking glslang libraries 2022-04-16 11:10:15 +08:00
_0Mirror 2dcd85ca71 docs: fix docs about 'Build for iOS on macOS with xcode' (#3696) 2022-04-11 22:21:02 +08:00
nihui c09d7b3591 mips msa optimization for convolution int8 (#3675)
* basic mips msa optimization for convolution int8

* mips msa optimization for convolution int8 gemm

* mips msa optimization for convolution int8 winograd pack8to4/pack8to1

* mention msa maddv/msubv intrinsics bug
2022-04-05 12:25:25 +08:00
tpoisonoooandMegEngine 6e12647985 docs(how-to-build.md): update jetson description (#3622)
Co-authored-by: MegEngine <megengine@megvii.com>
2022-03-15 12:27:59 +08:00