Skip to content

Conversation

lukamac
Copy link
Collaborator

@lukamac lukamac commented Sep 25, 2025

The goal of this PR is to refactor Deeploy's ONNX parsing structure.
First step is extracting the general ONNX operator assumptions into the OperatorDescriptor and using it to canonicalize the graph.
Next step would be to use the descriptor for parsing.

Operator checklist

  • Add
  • CLCA
  • Concat
  • Conv
  • DebugPrint
  • Dequant
  • Div
  • Flatten
  • Gather
  • Gelu
  • Gemm
  • ITAMax
  • ITAPartialMax
  • IntegerDiv
  • IntegerMean
  • LayerNormalization
  • LinearAttention
  • MHSA
  • MatMul
  • MatMulInteger
  • MaxPool
  • Mul
  • Pad
  • Quant
  • RQGemm
  • RQIntegerDiv
  • RQMatMul
  • ReduceMean
  • ReduceSum
  • Relu
  • RequantShift
  • RequantizedAdd
  • RequantizedConv
  • RequantizedGemm
  • RequantizediGELU
  • RequantizediHardswish
  • Reshape
  • SGD
  • Slice
  • Softmax
  • SoftmaxCrossEntropyLoss
  • SoftmaxCrossEntropyLossGrad
  • SoftmaxGrad
  • Squeeze
  • Transpose
  • Unsqueeze
  • iGELU
  • iHardswish
  • iLayerNorm
  • iNoNorm
  • iRMSNorm
  • iSoftmax

Added

  • OperatorDescriptor, IoDescriptor, AttrDescriptor

Changed

Fixed

PR Merge Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. All checks are passing.
  4. The CHANGELOG.md file has been updated.
  5. If the docker was modified, change back its link after review.

@Xeratec Xeratec added this to Deeploy Sep 29, 2025
@Xeratec Xeratec added this to the Release 0.3.0 milestone Sep 29, 2025
@Xeratec Xeratec moved this to Need Reviewer in Deeploy Sep 29, 2025
@Xeratec Xeratec linked an issue Sep 29, 2025 that may be closed by this pull request
@Xeratec Xeratec moved this from Need Reviewer to In review in Deeploy Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Freeze ONNX Opset

2 participants