Thrsu opened a new issue, #15721:
URL: https://github.com/apache/tvm/issues/15721

   I encountered an InternalError while attempting to run an [ONNX 
model](https://github.com/Thrsu/onnx_model/blob/main/Split.onnx) with the split 
operator using TVM's relax module. The error message I received is as follows: 
   ```
   InternalError: Check failed: node->value % num_sections == 0 (3 vs. 0) : 
num_sections must be an integer factor of the size of axis 0 (7)
   ```
   ![Split 
onnx](https://github.com/apache/tvm/assets/89128704/3a2cc7a8-dc5f-45ce-a537-efceaca92021)
   
   ### Environment
   
   - TVM: v0.14.dev0-595-gfa0d35b
   - onnx: 1.14.0
   
   ### Steps to reproduce
   
   ```Python
   import onnx
   import tvm
   from tvm import relax
   from tvm.relax.frontend.onnx import from_onnx
   
   onnx_model_path = "Split.onnx"
   model = onnx.load(onnx_model_path)
   tvm_model = from_onnx(model, opset=18, keep_params_in_input=True)
   ```
   
   ### Triage
   
   * needs-triage
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to