Describe the issue
#25678 introduced a dependency on ml_dtypes, but this dependency is not specified in requirements.txt, and as a result is not present when onnx earlier than 1.19 is installed.
To reproduce
$ python3 -m pip install onnx==1.18 onnxruntime
...
$ python3 -c "import onnxruntime.quantization"
...
ModuleNotFoundError: No module named 'ml_dtypes'
Urgency
No response
Platform
Linux
OS Version
Ubuntu 24.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.24.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response