Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke all ONNX tests #502

Merged
merged 6 commits into from
Feb 17, 2023
Merged

Invoke all ONNX tests #502

merged 6 commits into from
Feb 17, 2023

Conversation

wenxcs
Copy link
Member

@wenxcs wenxcs commented Nov 29, 2022

$ ./test/python/run_onnx_test.sh
**will generate:**
# wenxh @ srgam-02 in ~/nnfusion_onnxtest/nnfusion/test_snapshot on git:xbox_test x [12:58:39] C:130
$ ls
default.csv  float16.csv  float64.csv  input_as_constant.csv

**Could be compared to ground truth in:**
# wenxh @ srgam-02 in ~/nnfusion_onnxtest/nnfusion/test/python/ground_truth on git:xbox_test x [12:59:15]
$ ls
default.csv  float16.csv  float64.csv  input_as_constant.csv

# wenxh @ srgam-02 in ~/nnfusion_onnxtest/nnfusion on git:xbox_test x [14:56:37] 
$ ./test/python/run_onnx_test.sh
Bad cases:
FP32/Input as parameter:
@, add , test_add , BUILD ERROR , FAILED
vs ground truth:
@, add , test_add ,/home/wenxh/nnfusion_onnxtest/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_add/test_data_set_0 , PASS

FP32/Input as constant:
FP16/Input as constant:
FP64/Input as constant:

# wenxh @ srgam-02 in ~/nnfusion_onnxtest/nnfusion on git:xbox_test x [12:49:13] 
$ ./test/python/run_user_list_compare.sh 
Error: test_split_equal_parts_1d_opset13 with config[ default,float16,float64,input_as_constant ] is not FAILED
Error: test_convtranspose_kernel_shape with config[ default,float16,float64,input_as_constant ] is not FAILED
Error: test_cast_FLOAT_to_BFLOAT16 with config[ default,float16,float64,input_as_constant ] is not FAILED
Error: test_cast_FLOAT_to_STRING with config[ default,float16,float64,input_as_constant ] is not FAILED

@jlxue jlxue merged commit 1e88dca into xbox Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants