summaryrefslogtreecommitdiff
path: root/mlir/python
diff options
context:
space:
mode:
authorvfdev <vfdev.5@gmail.com>2025-01-13 12:00:31 +0100
committerGitHub <noreply@github.com>2025-01-13 03:00:31 -0800
commitf136c800b60dbfacdbb645e7e92acba52e2f279f (patch)
treec3932fa35c97958bad2c9f91b23bb9f847f07bb6 /mlir/python
parent7e2eb0f83e1cf6861c8fd1f038a88a8ddd851c34 (diff)
Enabled freethreading support in MLIR python bindings (#122684)
Reland reverted https://github.com/llvm/llvm-project/pull/107103 with the fixes for Python 3.8 cc @jpienaar Co-authored-by: Peter Hawkins <phawkins@google.com>
Diffstat (limited to 'mlir/python')
-rw-r--r--mlir/python/requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt
index f240d6ef944e..1a0075e829ae 100644
--- a/mlir/python/requirements.txt
+++ b/mlir/python/requirements.txt
@@ -2,4 +2,5 @@ nanobind>=2.4, <3.0
numpy>=1.19.5, <=2.1.2
pybind11>=2.10.0, <=2.13.6
PyYAML>=5.4.0, <=6.0.1
-ml_dtypes>=0.1.0, <=0.5.0 # provides several NumPy dtype extensions, including the bf16
+ml_dtypes>=0.1.0, <=0.6.0; python_version<"3.13" # provides several NumPy dtype extensions, including the bf16
+ml_dtypes>=0.5.0, <=0.6.0; python_version>="3.13" \ No newline at end of file