mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
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.
10 lines
322 B
Plaintext
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"
|