nihui
|
285d0793d4
|
pnnx fuse expression for scalar-like attribute and unbind chain (#4928)
|
2 years ago |
nihui
|
60fedae38b
|
fix pnnx ghost reshape shape expression inputs, fix intmax overflow on fuse/eval expression (#4923)
|
2 years ago |
nihui
|
e02b6e8521
|
fix pnnx slice copy shape type, inplace op link output (#4914)
|
2 years ago |
nihui
|
e13fbe2a8a
|
pnnx add missing Tensor.to pattern (#4908)
|
2 years ago |
nihui
|
759d55d555
|
pnnx convert torch cross and t (#4896)
|
2 years ago |
nihui
|
669ee2f2ff
|
pnnx update (#4870)
Tensor.fill
Tensor.index_put
Tensor.to
Tensor.type_as
torch.topk
fmod
call Tensor member functions with inputnames
static shape_as_tensor
nn.Linear dynamic bias
eliminate noop type_as
convert two-dim nn.Linear to ncnn gemm
convert torch.stack to ncnn concat+reshape
ignore torch einsum path input
|
2 years ago |
nihui
|
810bfbac6e
|
pnnx eliminate noop expand and expand_as (#4850)
|
2 years ago |
nihui
|
a87be24795
|
pnnx convert conv with non-zero padding mode (#4849)
|
2 years ago |
nihui
|
91090d793b
|
pnnx fix build, prepend batch for broadcast reshape (#4841)
* fix build, prepend batch for broadcast reshape
* sanitize filename
* do not fuse to eltwise if broadcast
|
2 years ago |
nihui
|
1283a19305
|
pnnx convert torch round trunc (#4813)
* update riscv qemu
* c906 test on qemu
* fix qemu aarch64
|
2 years ago |
nihui
|
8c40a59216
|
pnnx insert reshape for ncnn global pooling (#4812)
|
2 years ago |
nihui
|
9022b7162a
|
implement all explicit binaryop broadcast types (#4809)
* simplify binaryop
* less gpu test
* update binaryop broadcast doc
* do not test atan2 zero
|
2 years ago |
Zhenjia Guo
|
d9e45ec703
|
fix pnnx PermissionError (#4801)
|
2 years ago |
nihui
|
e112461d30
|
write shape, fuse sam image encoder attention (#4792)
* write shape, fuse sam image encoder attention
* set more dynamic shape as static
* less warning for constant tensor node
|
2 years ago |
nihui
|
b8cf8cb73e
|
pnnx rewrite multiple ops (#4780)
fuse F.scaled_dot_product_attention
|
3 years ago |
Justin62628
|
9dc581e490
|
Fix pnnx index out of range in eval expression (#4765)
|
3 years ago |
huoshuai-dot
|
f7f6ca0033
|
Update onnx2ncnn.cpp (#4754)
|
3 years ago |
nihui
|
f7652ec72d
|
pnnx fuse chinese clip mha and write need_weights=False (#4745)
|
3 years ago |
nihui
|
1d6bfdca38
|
fix pnnx pass on fp16 weight, common fp16 conversion routines (#4743)
|
3 years ago |
nihui
|
f893d2440d
|
innerproduct allow 1 height gemm (#4730)
|
3 years ago |
nihui
|
d4046b4ae9
|
pnnx fuse transformer clip attention and diffusers attentionblock (#4727)
* pnnx fuse transformer clip attention
* skip fuse mha for 1.8
* select one method other than forward
* pnnx fuse diffusers attentionblock
|
3 years ago |
nihui
|
c038b8227b
|
pnnx convert sdpa (#4722)
* pnnx convert sdpa
* pnnx fuse diffuser attention2
|
3 years ago |
Yoh
|
2d9ec410f4
|
fix pnnx build bug (#4721)
|
3 years ago |
nihui
|
1fa38fe5ac
|
pnnx convert torch std (#4715)
* pnnx convert torch std
* fix multiple fuse pass on torch 2.0
* fuse vit pytorch mha pattern
|
3 years ago |
nihui
|
05ad0c52c6
|
pnnx fuse gelu (#4702)
|
3 years ago |
nihui
|
a37a83d850
|
clip gelu mish tanh 4d (#4695)
|
3 years ago |
nihui
|
cd5a6098a2
|
sigmoid and swish 4d (#4692)
|
3 years ago |
Hillwood Yang
|
d878f0e16d
|
Fix build by gcc 13 (#4684)
|
3 years ago |
nihui
|
c28c8c04a1
|
multiheadattention attn mask (#4668)
|
3 years ago |
Zhuo Zhang
|
737a114242
|
fix typo in PNNX readme (#4670)
|
3 years ago |
Zhuo Zhang
|
c07ff1ce4f
|
fix typo in PNNX groupnorm error message (#4669)
|
3 years ago |
nihui
|
b640574b88
|
rough vulkan gemm and multiheadattention (#4618)
|
3 years ago |
Yukie
|
3a64083756
|
Fix spelling errors, ncn -> ncnn. (#4665)
|
3 years ago |
Chen Xin
|
9fe843fa39
|
fix wrong param id of Squeeze for modelwriter (#4658)
|
3 years ago |
nihui
|
f7af84f001
|
pnnx reset maxpool return_indices if only output found, drop convtransposed output_size arg for static output padding (#4654)
|
3 years ago |
He Yang
|
9a5b6ce20e
|
fix fprintf type mismatch. (#4647)
|
3 years ago |
nihui
|
91cc508a23
|
pnnx recognize foldable scalar and fuse it into expression (#4639)
|
3 years ago |
nihui
|
5b5e9ea537
|
fix some pnnx build warnings (#4634)
|
3 years ago |
nihui
|
f8e32aba9c
|
fix pnnx gru rnn with optional output, fix #4608 (#4631)
|
3 years ago |
nihui
|
8066c76bc5
|
pnnx complex data type and torch.stft family (#4627)
|
3 years ago |
nihui
|
8049623d31
|
pnnx convert torch.mm (#4589)
|
3 years ago |
nihui
|
693535afc1
|
pnnx torch 2.0 (#4579)
* fix build with torch-2.0
* torch 2.0 new patterns
* add torch 2.0 ci
|
3 years ago |
nihui
|
ae4f630467
|
pnnx fuse multiheadattention (#4544)
* torch baddbmm
* always convert to fp32 for shape inference
* silence info on nonetype and devicetype
|
3 years ago |
nihui
|
c68266efd0
|
pnnx eliminate reshape shape expression for only one dynamic dimsize (#4548)
|
3 years ago |
nihui
|
afc9310c62
|
update new operators for modelwriter (#4540)
|
3 years ago |
nihui
|
4fc977d7fd
|
fold scalar constant, write scalar attribute correctly (#4533)
|
3 years ago |
nihui
|
1832da8292
|
concat 4d (#4528)
|
3 years ago |
nihui
|
32e2de015e
|
slice 4d (#4525)
|
3 years ago |
nihui
|
fc6ce4a641
|
copyto operator (#4522)
|
3 years ago |
nihui
|
242e775d21
|
pnnx convert torch log10, pow 2 as square (#4518)
|
3 years ago |