[Mlir-commits] [mlir] [mlir] Add Python bindings for DenseResourceElementsAttr. (PR #66319)
Tom Stellard
llvmlistbot at llvm.org
Sat Feb 10 10:40:42 PST 2024
tstellar wrote:
I'm seeing a failure on s390x that I think is caused by this change:
```
FAIL: MLIR :: python/ir/array_attributes.py (1866 of 1896)
******************** TEST 'MLIR :: python/ir/array_attributes.py' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3.12 /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py | /usr/bin/FileCheck /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py
# executed command: /usr/bin/python3.12 /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py
# executed command: /usr/bin/FileCheck /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py
# .---command stderr------------
# | /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py:443:11: error: CHECK: expected string not found in input
# | # CHECK: from_py: "0x04000000010000000200000003000000040000000500000006000000"
# | ^
# | <stdin>:128:77: note: scanning from here
# | module attributes {test.resource = dense_resource<from_py> : tensor<2x3xi32>} {
# | ^
# | <stdin>:134:2: note: possible intended match here
# | from_py: "0x04000000000000010000000200000003000000040000000500000006"
# | ^
# |
# | Input file: <stdin>
# | Check file: /builddir/build/BUILD/mlir-18.1.0rc2.src/test/python/ir/array_attributes.py
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 123: [[1 2 3]
# | 124: [4 5 6]]
# | 125: True
# | 126:
# | 127: TEST: testGetDenseResourceElementsAttr
# | 128: module attributes {test.resource = dense_resource<from_py> : tensor<2x3xi32>} {
# | check:443'0 X~~~ error: no match found
# | 129: }
# | check:443'0 ~~
# | 130:
# | check:443'0 ~
# | 131: {-#
# | check:443'0 ~~~~
# | 132: dialect_resources: {
# | check:443'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 133: builtin: {
# | check:443'0 ~~~~~~~~~~~~
# | 134: from_py: "0x04000000000000010000000200000003000000040000000500000006"
# | check:443'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:443'1 ? possible intended match
# | 135: }
# | check:443'0 ~~~
# | 136: }
# | check:443'0 ~~~
# | 137: #-}
# | check:443'0 ~~~~
# | 138:
# | check:443'0 ~
# | 139: dense_resource<from_py> : tensor<2x3xi32>
# | check:443'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
https://github.com/llvm/llvm-project/pull/66319
More information about the Mlir-commits
mailing list