Files
llvm/mlir/python/requirements.txt
Maksim Levental 216e85bdda [MLIR][Python] remove PyYAML as a dep (#169145)
PyYAML is not an actual use-time/runtime dependency of our bindings. It
is necessary only if someone wants to regenerate
`LinalgNamedStructuredOps.yaml`:
93097b2d47/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in (L29)

This PR does the minimal refactor to remove the need during actual run/use time.
2025-11-22 11:56:39 -06:00

10 lines
322 B
Plaintext

# BUILD dependencies
nanobind>=2.9, <3.0
pybind11>=2.10.0, <=2.13.6
PyYAML>=5.4.0, <=6.0.1
typing_extensions>=4.12.2
# RUN dependencies
numpy>=1.19.5, <=2.1.2
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"