[Mlir-commits] [mlir] [mlir][Python] generate type stubs for dialect extensions (PR #175403)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Jan 10 18:57:50 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3403 tests passed
* 411 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.python/dialects/linalg/utils.py</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
"C:/Python312/python.exe" C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py
# executed command: C:/Python312/python.exe 'C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py'
# .---command stdout------------
# |
# | TEST: test_infer_contraction_dimensions_from_ops
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py", line 14, in <module>
# | @run
# | ^^^
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py", line 10, in run
# | f()
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py", line 26, in test_infer_contraction_dimensions_from_ops
# | @func.FuncOp.from_py_func(a_type, b_type, c_type)
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "c:\_work\llvm-project\llvm-project\build\tools\mlir\python_packages\mlir_core\mlir\dialects\func.py", line 197, in decorator
# | return_values = f(*func_args, **func_kwargs)
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\linalg\utils.py", line 33, in contraction_fn
# | assert not linalg.isa_contraction_op(fill_op)
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | TypeError: isa_contraction_op(): incompatible function arguments. The following argument types are supported:
# | 1. isa_contraction_op(op: mlir._mlir_libs._mlir.ir.Operation) -> bool
# |
# | Invoked with types: mlir.dialects._linalg_ops_gen.FillOp
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/175403
More information about the Mlir-commits
mailing list