Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xadupre committed Jul 20, 2023
1 parent 8bbe353 commit 47625fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnxruntime/test/python/quantization/op_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def check_model_correctness(
origin_sess = onnxruntime.InferenceSession(model_path_origin, sess_options=sess_options, providers=providers)
origin_results = origin_sess.run([], inputs)

if True or pv.Version(onnx.__version__) >= pv.Version("1.16.0"):
if pv.Version(onnx.__version__) >= pv.Version("1.16.0"):
ref = ReferenceEvaluator(model_path_to_check, new_ops=[QGemm])
target_results = ref.run(None, inputs)
testcase.assertEqual(len(origin_results), len(target_results), "result count are different")
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/test/python/quantization/test_op_gemm.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ def test_qgemm_ref_uint8_specific_example(self):


if __name__ == "__main__":
# TestOpGemm().test_quantize_gemm_e4m3fn_same()
TestOpGemm().test_quantize_gemm_e4m3fn_same()
# TestOpGemm().test_qgemm_ref_uint8_specific_example()
# TestOpGemm()._test_dummy()
# stop
Expand Down

0 comments on commit 47625fc

Please sign in to comment.