Open axeabc opened 1 month ago
Would it make sense to also print the inputs, so that we are sure they are the same?
Would it make sense to also print the inputs, so that we are sure they are the same?
I cannot have a complete printscreen because the inputs are large. The print results including inputs and outputs have been exported to two files: tmp1 and tmp2. The diff results shows that the outputs are different given the same inputs.
The tmp1 and tmp2 can be found in tmp.zip The specific inputs and model can be found in model.zip
Have you tried to compile the model with -O0
to see if it works?
Have you tried to compile the model with
-O0
to see if it works?
Yes, the cases are the same (the results are different when running multiple times) from '-O0' to '-O2'
Hi , I want to use
PyCompileAndRuntime
to CompileAndRun a onnx model (e.g. model.onnx) and print the output of the model.onnx. However, this will produce different results when I repeatedly run the code. The onnx-mlir used in my experiment is a prebuild verion in onnxmlir/onnx-mlir-dev.OnnxRuntime4Validate.py
model.onnx and oralce.pkl are in model.zip
'python3 OnnxRuntime4Validate.py'