diff --git a/procyon_ai/ulprocai.py b/procyon_ai/ulprocai.py index d870bc2..88800c6 100644 --- a/procyon_ai/ulprocai.py +++ b/procyon_ai/ulprocai.py @@ -209,7 +209,7 @@ try: logging.info("Detected Windows ML Devices: %s", str(WINML_DEVICES)) logging.info("Detected OpenVino Devices: %s", str(OPENVINO_DEVICES)) logging.info("Detected CUDA Devices: %s", (CUDA_DEVICES)) - + am = ArtifactManager(LOG_DIR) args = get_arguments() option = BENCHMARK_CONFIG[args.engine]["config"] @@ -229,7 +229,7 @@ try: if score is None: logging.error("Could not find overall score!") sys.exit(1) - + am.copy_file(RESULTS_XML_PATH, ArtifactType.RESULTS_TEXT, "results xml file") end_time = time.time() elapsed_test_time = round(end_time - start_time, 2) diff --git a/procyon_ai_img_gen/ulprocai_img_gen.py b/procyon_ai_img_gen/ulprocai_img_gen.py index 029a464..0f49564 100644 --- a/procyon_ai_img_gen/ulprocai_img_gen.py +++ b/procyon_ai_img_gen/ulprocai_img_gen.py @@ -196,9 +196,7 @@ def get_arguments(): def create_procyon_command(test_option, process_name, device_id): """create command string""" - command = ( - f'"{ABS_EXECUTABLE_PATH}" --definition={test_option} --export="{RESULTS_XML_PATH}"' - ) + command = f'"{ABS_EXECUTABLE_PATH}" --definition={test_option} --export="{RESULTS_XML_PATH}"' match process_name: case "ort-directml.exe": diff --git a/procyon_ai_text_generation/ulprocai_text_gen.py b/procyon_ai_text_generation/ulprocai_text_gen.py index b6464d9..17d6f9e 100644 --- a/procyon_ai_text_generation/ulprocai_text_gen.py +++ b/procyon_ai_text_generation/ulprocai_text_gen.py @@ -146,9 +146,7 @@ def get_arguments(): def create_procyon_command(test_option): """create command string""" - command = ( - f'"{ABS_EXECUTABLE_PATH}" --definition={test_option} --export="{RESULTS_XML_PATH}"' - ) + command = f'"{ABS_EXECUTABLE_PATH}" --definition={test_option} --export="{RESULTS_XML_PATH}"' command = command.rstrip() return command