[Mlir-commits] [mlir] [MLIR] Reuse the path to runner_utils libraries (PR #108579)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Sep 17 07:25:25 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 387bee91f095c197270b4d0a9e19cc86b2edea73...a6ab3e51e6d63bb0f9c5047125e621e11b54617f mlir/test/python/execution_engine.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- execution_engine.py 2024-09-17 14:20:57.000000 +0000
+++ execution_engine.py 2024-09-17 14:24:58.961573 +0000
@@ -5,12 +5,17 @@
from mlir.passmanager import *
from mlir.execution_engine import *
from mlir.runtime import *
from ml_dtypes import bfloat16, float8_e5m2
-MLIR_RUNNER_UTILS = os.getenv("MLIR_RUNNER_UTILS", "../../../../lib/libmlir_runner_utils.so")
-MLIR_C_RUNNER_UTILS = os.getenv("MLIR_C_RUNNER_UTILS", "../../../../lib/libmlir_c_runner_utils.so")
+MLIR_RUNNER_UTILS = os.getenv(
+ "MLIR_RUNNER_UTILS", "../../../../lib/libmlir_runner_utils.so"
+)
+MLIR_C_RUNNER_UTILS = os.getenv(
+ "MLIR_C_RUNNER_UTILS", "../../../../lib/libmlir_c_runner_utils.so"
+)
+
# Log everything to stderr and flush so that we have a unified stream to match
# errors/info emitted by MLIR to stderr.
def log(*args):
print(*args, file=sys.stderr)
``````````
</details>
https://github.com/llvm/llvm-project/pull/108579
More information about the Mlir-commits
mailing list