[Mlir-commits] [mlir] [MLIR][Python] add f8E5M2 and tests for np_to_memref (PR #106028)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Aug 25 20:14:28 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 96509bb98fc0a7e929304a64362baaa2589d5a6b...bdbcbaa8372105e38370b1dae842d45a658b9213 mlir/python/mlir/runtime/np_to_memref.py mlir/test/python/execution_engine.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test/python/execution_engine.py 2024-08-26 02:31:36.000000 +0000
+++ test/python/execution_engine.py 2024-08-26 03:14:04.520684 +0000
@@ -557,10 +557,11 @@
npout = ranked_memref_to_numpy(arg2_memref_ptr[0])
log(npout)
run(testBF16Memref)
+
# Test f8E5M2 memrefs
# CHECK-LABEL: TEST: testF8E5M2Memref
def testF8E5M2Memref():
with Context():
``````````
</details>
https://github.com/llvm/llvm-project/pull/106028
More information about the Mlir-commits
mailing list