From ddcc42a74c95066cd5593810b7d7b6d975b592ad Mon Sep 17 00:00:00 2001 From: Miguel Alonso Jr <76960110+miguelalonsojr@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:28:47 -0400 Subject: [PATCH] Updated training init tests to remove inference test temporarily. (#5984) --- ml-agents/tests/yamato/training_int_tests.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ml-agents/tests/yamato/training_int_tests.py b/ml-agents/tests/yamato/training_int_tests.py index cb1952f702..e26ab55c8e 100644 --- a/ml-agents/tests/yamato/training_int_tests.py +++ b/ml-agents/tests/yamato/training_int_tests.py @@ -105,12 +105,14 @@ def run_training(python_version: str, csharp_version: str) -> bool: subprocess.run(["cat", log_output_path]) return False - if csharp_version is None and python_version is None: - # Use abs path so that loading doesn't get confused - model_path = os.path.abspath(os.path.dirname(onnx_file_expected)) - inference_ok = run_inference(env_path, model_path, "onnx") - if not inference_ok: - return False + # TODO re-enable when Sentis model byte loading has been added + # disabling inference tests for now due to Sentis deprecation of loading onnx from byte array. + # if csharp_version is None and python_version is None: + # # Use abs path so that loading doesn't get confused + # model_path = os.path.abspath(os.path.dirname(onnx_file_expected)) + # inference_ok = run_inference(env_path, model_path, "onnx") + # if not inference_ok: + # return False print("mlagents-learn run SUCCEEDED!") return True