python 3.14 support
Describe the issue
pip install onnxruntime ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none) ERROR: No matching distribution found for onnxruntime
To reproduce
pip install onnxruntime
Urgency
No response
Platform
Windows
OS Version
11
ONNX Runtime Installation
Other / Unknown
ONNX Runtime Version or Commit ID
latest
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The onnxruntime package (required by chromadb, which is required by crewai) doesn't have pre-built wheels for Python 3.14.0 yet. This means that any project that uses crewai and wants to upgrade its Python env to 3.14 would not be able to do so.
we are working on it. Hopefully, we will have nightly package soon.
Hello, is there any news for the package ?
We wish to experience Python 3.14's free threading mode and aim to release an ONNX Runtime version compatible with Python 3.14 FT as soon as possible. We extend our sincere gratitude to all contributors!
Thanks for the answer. Just want to point that even if FT is nice, the most important issue right now is to not have binaries for Python 3.14. I hope that this is not delayed by support of FT. A lot of packages transitively depend on onxxruntime. Congrats for that ! But also all these packages are currently blocked to 3.13 because of this issue.
@yuanmaitian
We wish to experience Python 3.14's free threading mode and aim to release an ONNX Runtime version compatible with Python 3.14 FT as soon as possible. We extend our sincere gratitude to all contributors!
That sounds very exciting! Can we expect a performance increase from the free-threaded version?
Additional question though: as far as I know, the GIL-enabled version will still be the default/standard for Python 3.14. Does that imply onnxruntime will have two different builds for 3.14? A GIL-enabled build and a free-threaded build? Or are you moving directly to free-threaded only?
@tianleiwu can you share some information about the plan?
@tianleiwu can you share some information about the plan?
See https://github.com/microsoft/onnxruntime/issues/26473#issuecomment-3492691567 for latest update.
I wonder if #26547 fixes this? 🤔
+1
Hello, Is there visibility for when there will be a release ?
python 3.14 support will be added in next release (v1.24 in last week of Jan by estimation). At the meantime, you can try nightly package for Windows/Linux. MacOS support will be added later.