nihuini
802a625ae2
fix pnnx windows build
2 years ago
nihui
1e4daff075
fix ncnn tools crash with compound layer creation, write gemm weight data ( #5416 )
* fix ncnn tools crash with compound layer creation
* write gemm weight data
2 years ago
nihui
db035d602d
update ncnnoptimize layers, lightmode=false keeps original weight ( #5414 )
2 years ago
nihui
84256b1494
pnnx enhance functionize ( #5387 )
* pnnx fix some undefined dtype
* fix ncnn convdw1d dynamic weight loading
2 years ago
nihui
02ba6766bd
pnnx fix some undefined dtype ( #5382 )
2 years ago
nihui
a55fe1c9cf
pnnx load dynamo onnx ( #5363 )
* split load torchscript sources from pnnx, drop cxxabi hack, link torchscript with whole-archive
* check compiler cxx11 abi
* eliminate some onnx noop
2 years ago
nihui
25c4278346
pnnx fuse static embedding ( #5380 )
2 years ago
nihui
1463e0b07c
pnnx convert torch.slice_scatter ( #5377 )
2 years ago
nihui
a15d491beb
pnnx test torch.arange ( #5376 )
2 years ago
nihui
a2414c7f63
fix pnnx convert torch.stack negative dim ( #5375 )
2 years ago
nihui
cf293ec35e
fix out of index access on pattern match failure, fix #5347 ( #5350 )
2 years ago
nihui
dcf94ae0cd
split load torchscript sources from pnnx, drop cxxabi hack, link torchscript with whole-archive ( #5348 )
2 years ago
nihui
f03c8f9307
build universal pnnx wheel and pnnx entrypoint script ( #5331 )
2 years ago
Molly Sophia
545a3671ee
python pnnx add option to change fp16 parameter ( #5320 )
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
2 years ago
nihui
40958d3ab3
pnnx support dynamic slice indexes ( #5299 )
* pnnx handle two operands add/sub/rsub variant
* fuse dynamic slice indexes, wip
* pnnx sliceindexes
* reset device may change non-dtype input numeric 5 to 6
* print inf as float
* preserve dtype for generation op
* pnnx convert torch.masked_select
* test masked_select
* test negative slice
2 years ago
hugo-syn
f35eb4b3b8
chore: Fix multiple typos ( #5301 )
Signed-off-by: hugo-syn <hugo.vincent@synacktiv.com>
2 years ago
nihui
a705a24f32
pnnx convert some cudnn conv2d variants ( #5289 )
2 years ago
nihui
7ed252c854
pnnx handle index_put with empty indices and scalar values ( #5288 )
2 years ago
nihui
c557fb6704
pnnx model binary over 4g ( #5274 )
2 years ago
nihui
76dcaa4947
do not eliminate noop math if shape changes, improve torch-2.1 mha attn_mask detection ( #5273 )
2 years ago
nihui
6f84952122
pnnx handle more softmin logsoftmax dtype, fuse static full range slices to tensor_split ( #5253 )
* pnnx handle more softmin logsoftmax dtype, fuse static full range slices to tensor_split
* fix convert nn.Conv2d with none bias tensor
* fix embedding input with batch index zero
2 years ago
nihui
c41aa2fdfd
pnnx export with ptpath ( #5239 )
* pnnx export with ptpath
* build and test python pnnx
2 years ago
nihui
09f2723699
pnnx nn.Identity test ( #5238 )
2 years ago
nihui
606626baf3
python pnnx return optimized model ( #5232 )
2 years ago
Zhenyu ZHAO
ef29bbec49
Python pnnx with pnnx binary ( #5067 )
2 years ago
nihui
3785921e01
pnnx convert nn.Upsample with recompute_scale_factor=True ( #5169 )
2 years ago
nihui
4494aadd74
deconvolution dynamic weight ( #5119 )
2 years ago
teng
16524ca937
pnnx fix indent errors ( #5113 )
2 years ago
nihui
37a108c4c4
pnnx run test_inference by default ( #5110 )
2 years ago
nihuini
c2ccbf851d
pnnx fix filename base
2 years ago
nihui
3116e028d2
pnnx drop sdap scale=None for compatiblity with old torch ( #5107 )
2 years ago
nihui
14e14a9ae8
slice with indices ( #5103 )
2 years ago
nihui
efcfe95a42
pnnx do not sanitize directory part ( #5099 )
2 years ago
nihui
0c2a4a29de
pnnx convert batchnorm function ( #5097 )
2 years ago
Yoh
3f437d3f3d
Grid sample op ( #4373 )
* pnnx support grid_sample op
* complete the permute and gridsample operator fusion
* spilt calculation into two stages and support permute fusion
2 years ago
佰阅
bcdc276ffe
add torch.view_as_real and torch.view_as_complex ( #5083 )
2 years ago
nihui
bedbe599ff
pnnx support torch-2.1 ( #5074 )
2 years ago
Marsyule
69d6051850
add F_pairwise_distance to pnnx and ncnn ( #4942 )
2 years ago
nihui
78aca88d67
elu 4d and selu 4d ( #5047 )
2 years ago
nihui
b8d5a5dbec
pnnx fuse conv3d-bn and deconv3d-bn ( #5045 )
2 years ago
nihui
fdf2c482dc
fuse adaptive pool dynamic output size, implement ncnn adaptive pooling dynamic outsize ( #5043 )
2 years ago
Amir Ramezani
7e5fa3ade3
shrink operator ( #5022 )
2 years ago
Shu Liqiang
a2103be55d
support ReplicationPad3d to ncnn ( #4919 )
2 years ago
nihui
f412b7f5c4
fix issue 5025
improve reflect replicated pad pattern
2 years ago
HuPengsheet
6eb994422a
fix build with new protobuf target for pnnx ( #5034 )
2 years ago
Shu Liqiang
83cca26794
pnnx convert torch.mv ( #4974 )
2 years ago
Amir Ramezani
0ea587b8c7
celu activation vulkan and onnx conversion ( #5018 )
2 years ago
Beq Jal
bcfec1da33
Celu layer and export to ncnn ( #5019 )
2 years ago
Beq Jal
c851231832
add diag layer and its converter ( #4935 )
2 years ago
Amir Ramezani
695f770eab
erf implementation ( #5012 )
* added erf implementation
* added testcase for erf
* added onnx2ncnn support of erf
2 years ago