mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
[Mobile package] Update required operator config with additional ops for wav2vec2. (#8079)
Add some additional ops to the mobile package that are needed for the wav2vec2 model.
This commit is contained in:
parent
d83f7fd4aa
commit
aa68157c3d
2 changed files with 7 additions and 4 deletions
|
|
@ -14,8 +14,8 @@ ai.onnx;12;Abs,Add,And,ArgMax,ArgMin,AveragePool,Cast,Ceil,Clip,Concat,ConstantO
|
|||
ai.onnx;13;Abs,Add,And,ArgMax,ArgMin,AveragePool,Cast,Ceil,Clip,Concat,ConstantOfShape,Conv,ConvTranspose,Cos,CumSum,DepthToSpace,DequantizeLinear,Div,DynamicQuantizeLinear,Elu,Equal,Exp,Expand,Flatten,Floor,Gather,GatherND,Gemm,Greater,GreaterOrEqual,Identity,If,LRN,LeakyRelu,Less,LessOrEqual,Log,LogSoftmax,Loop,MatMul,Max,MaxPool,Mean,Min,Mul,Neg,NonMaxSuppression,NonZero,Not,Or,PRelu,Pad,Pow,QuantizeLinear,Range,Reciprocal,ReduceMax,ReduceMean,ReduceMin,ReduceProd,ReduceSum,Relu,Reshape,Resize,ReverseSequence,Round,ScatterND,Shape,Sigmoid,Sin,Size,Slice,Softmax,SpaceToDepth,Split,Sqrt,Squeeze,Sub,Sum,Tanh,ThresholdedRelu,Tile,TopK,Transpose,Unique,Unsqueeze,Where
|
||||
|
||||
# other ops found in test models
|
||||
ai.onnx;12;GlobalAveragePool,MatMulInteger,QLinearConv,QLinearMatMul
|
||||
ai.onnx;13;GlobalAveragePool,MatMulInteger,QLinearConv,QLinearMatMul
|
||||
ai.onnx;12;Erf,GlobalAveragePool,InstanceNormalization,MatMulInteger,QLinearConv,QLinearMatMul
|
||||
ai.onnx;13;Erf,GlobalAveragePool,InstanceNormalization,MatMulInteger,QLinearConv,QLinearMatMul
|
||||
|
||||
# Control flow ops
|
||||
# - If and Loop are covered by the tflite converter list
|
||||
|
|
@ -24,7 +24,9 @@ ai.onnx;12;Scan
|
|||
ai.onnx;13;Scan
|
||||
|
||||
# internal ops added by optimizers
|
||||
com.microsoft;1;DynamicQuantizeMatMul,FusedConv,FusedGemm,FusedMatMul,MatMulIntegerToFloat,NhwcMaxPool,QLinearAdd,QLinearAveragePool,QLinearConv,QLinearGlobalAveragePool,QLinearMul,QLinearSigmoid
|
||||
# Note: LayerNormalization is an internal op even though it is (incorrectly) registered in the ONNX domain.
|
||||
ai.onnx;1;LayerNormalization
|
||||
com.microsoft;1;BiasGelu,DynamicQuantizeMatMul,FusedConv,FusedGemm,FusedMatMul,Gelu,MatMulIntegerToFloat,NhwcMaxPool,QLinearAdd,QLinearAveragePool,QLinearConv,QLinearGlobalAveragePool,QLinearMul,QLinearSigmoid,SkipLayerNormalization
|
||||
# NHWC transformer also uses this, so assuming it's valuable enough to include
|
||||
com.microsoft;1;QLinearLeakyRelu
|
||||
|
||||
|
|
|
|||
|
|
@ -76,4 +76,5 @@ Other
|
|||
- SuperResolution (https://pytorch.org/tutorials/advanced/super_resolution_with_onnxruntime.html)
|
||||
- DeepLabV3 (https://pytorch.org/tutorials/beginner/deeplabv3_on_android.html)
|
||||
- EfficientNet (https://github.com/lukemelas/EfficientNet-PyTorch)
|
||||
- SSD Mobilenet V1 and V2 (https://github.com/qfgaohao/pytorch-ssd)
|
||||
- SSD Mobilenet V1 and V2 (https://github.com/qfgaohao/pytorch-ssd)
|
||||
- wav2vec 2.0 (adapted from https://github.com/pytorch/ios-demo-app/blob/9845c51c2b417416ccd11277c46e54f9ab811d37/SpeechRecognition/create_wav2vec2.py)
|
||||
|
|
|
|||
Loading…
Reference in a new issue