nihui
39c055d7f2
crop axes starts ends expression ( #5976 )
* skip dynamic tensor index
* handle clone oom
1 year ago
nihui
4e34da40f1
pnnx convert onnx reducel1 reducel2, add onnx norm test ( #5988 )
1 year ago
nihui
3b3b7a94a1
pnnx convert onnx globalavgpool, add onnx adaptive avg/max pool test ( #5987 )
1 year ago
nihui
1d95a9cb41
update pnnx ci with torch 2.6 ( #5972 )
1 year ago
nihui
109e473007
let cmake know the project is aware of new version and stop throwing warnings ( #5848 )
1 year ago
nihui
f3651ce5b8
pnnx convert onnx depth2space, add pixelshuffle pixelunshuffle test ( #5967 )
1 year ago
nihui
524001bf54
pnnx convert onnx conv with asymmatric pads ( #5965 )
* pnnx convert onnx conv with asymmatric pads
* pad + conv1d and conv3d
* onnx conv auto_pad
1 year ago
shacon wang
701f53794d
add read npy for ncnn2table ( #5930 )
* add read npy for ncnn2table
* optimize npy to mat to avoid non-contiguous memory data
* add create the calibration table from npy
* add catch exception
1 year ago
nihui
07267f2618
softmax 4d test and vulkan, softmax unified elempack optimization for x86 arm riscv ( #5931 )
1 year ago
佰阅
7c7ff84044
fix pnnx2ncnn i64 to i32 ( #5881 )
1 year ago
nihui
6396a732ef
reshape shape expression, drop reshape permute, test reshape oom ( #5918 )
1 year ago
nihui
67dd7a7bd5
pnnx eval typed expression, optimize type conversion ( #5921 )
1 year ago
nihui
9afeb17cd4
ncnn2int8 use fp16 weight type by default ( #5907 )
1 year ago
nihui
5ea7681e70
tnn2pnnx ( #5898 )
1 year ago
nihui
0b71133d0e
pnnx fix macos and windows build, add quick test ci ( #5838 )
1 year ago
nihui
78aca5d30b
pnnx fix onnx clip conversion, add onnx clamp test, always reserve onnx split outputs, convert onnx mod ( #5834 )
1 year ago
張小凡
24908b7c87
pnnx rename _export() to export() ( #5831 )
1 year ago
nihui
57fac4a36b
pnnx match onnx zeros ones ( #5832 )
1 year ago
nihui
ad6d84e747
pnnx build silent warnings from torch header ( #5828 )
1 year ago
nihui
4b0d2dea24
pnnx auto inputshape from traced inputs ( #5825 )
1 year ago
nihui
a12baae13b
pnnx ncnn convert select to crop and squeeze ( #5826 )
1 year ago
nihui
1172b04355
pnnx pass level2 priority ( #5791 )
* constantlist is constant
* f pad value none
* skip ncnn istft center=False test for old torch
* fix fuse pad conv1d
1 year ago
nihui
0734b657d9
spectrogram and inverse spectrogram ( #5779 )
* only supports hann, hamming and all-one window
* inverse spectrogram does not support length parameter
* spectrogram always returns torch.view_as_real(out) as ncnn does not support complex typed mat yet
* inverse spectrogram always accepts torch.view_as_complex(in) as ncnn does not support complex typed mat yet
1 year ago
Joson
c043612e91
disable pnnx debug model ( #5784 )
1 year ago
nihui
e71fdf8e51
pnnx write implicit int conversion in python script ( #5767 )
1 year ago
nihui
6077adc6bc
pnnx do not fold tensor with dynamic shape, use fp32 module by default ( #5755 )
1 year ago
nihui
c1f9e959f5
pnnx torch 2.5 ( #5748 )
1 year ago
nihui
f856011297
pnnx drop onnx weight-like graph input ( #5736 )
1 year ago
nihui
66b54cbea2
multiheadattention int8 quantization ( #5733 )
* x86 vulkan fallback
* comment about bf16s
1 year ago
nihui
1c7af00499
gemm int8 quantization ( #5706 )
* quantize gemm
* write gemm quantize scales
* update doc
* less openmp args
* x86 riscv fallback
* skip gemm vulkan int8
* fix noint8 test, fix arm bf16 test
* enable vfpv4 on neon build only
* fix gemm vulkan without C
* fp16 pack8 output
* enable elempack=8 only for asimdhp+
* tiled gemm int8 test
* opt arm64 tiles, fix asimdhp dispatch
1 year ago
nihui
80c78a0e40
pnnx fuse t5-layernorm as rmsnorm ( #5675 )
1 year ago
nihui
21e54d8c7a
update modelwriter for rmsnorm ( #5676 )
1 year ago
nihui
5df5413c81
embed int8 quantization and add embed test ( #5667 )
1 year ago
nihui
5e2d56d025
pnnx fuse mobilevit style selfattention, onnx2pnnx handle more general gemm ( #5659 )
1 year ago
nihui
4de536951a
onnx2pnnx do not fold single constant for gemm weight ( #5634 )
1 year ago
nihui
789d8686c7
pnnx functionize do not create shadow op for identity consumers ( #5632 )
1 year ago
nihui
fdf0df3079
RMSNorm ( #5630 )
1 year ago
nihui
abad90cb1c
pnnx drop torch.max torch.min indice node if not used ( #5629 )
1 year ago
nihui
eb6e084c2d
pnnx convert nn.RMSNorm F.rms_norm ( #5628 )
1 year ago
nihui
c46278d0bb
pnnx convert onnx resize with roi, torch.max torch.min with dim returns tuple ( #5627 )
* pnnx convert onnx resize with roi, torch.max torch.min with dim returns tuple
* torch max min only support single dim
1 year ago
nihui
ecfd88a11b
pnnx2ncnn convert torch.roll with one or two shifts ( #5623 )
1 year ago
nihui
f3cd4c2e91
pnnx2ncnn handle F.maxpool without dilation param ( #5622 )
1 year ago
nihui
b9debee8fb
pnnx ci for torch 2.4 ( #5618 )
* update onnx proto
1 year ago
nihui
60823a8de3
pnnx handles sdpa batch index ( #5617 )
1 year ago
lll143653
d355b6dc5b
Add warning and recommend to use pnnx ( #5588 )
1 year ago
nihui
3ee5c18f84
pnnx logaddexp ( #5598 )
1 year ago
nihui
e82015878c
Update modelwriter.h for mha scale param
1 year ago
nihui
f825d3a23c
pnnx fuse onnx sdpa pattern and ncnn qdim mha fusion ( #5589 )
1 year ago
nihui
569617f212
pnnx convert onnx expand/permute/repeat/reshape/select/slice/cat/ceil/chunk/flatten/floor/maximum/minimum/split/squeeze/stack/transpose/unbind/unsqueeze ( #5583 )
1 year ago
nihui
e7cae68a22
pnnx convert onnx logsoftmax/logsigmoid/mish/selu/sigmoid/silu/softmin/softplus/softshrink/softsign/tanh/tanhshrink ( #5581 )
1 year ago