[Mlir-commits] [mlir] Added free-threading CPython mode support in MLIR Python bindings (PR #107103)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Sep 19 06:41:06 PDT 2024


vfdev-5 wrote:

@makslevental thanks for the feedback. At the moment, there is no CI job using python 3.13.0rc1 with free-threading enabled, we may 

I run existing python tests on python 3.13 with free-threading and all of them are passing using pybind11 from source (otherwise, there is a deadlock (https://github.com/pybind/pybind11/issues/5346)).


> I don't remember exactly (I believe it's in some of the custom stuff in pybind_adaptors). I can take a closer look soon.

I'll check from my side as well.

Here are few docs on free-threading support in case: 
- https://py-free-threading.github.io/
- https://docs.python.org/3.13/howto/free-threading-extensions.html

https://github.com/llvm/llvm-project/pull/107103


More information about the Mlir-commits mailing list