Python 3.12 #4997
Labels
locked
[bot] locked due to inactivity
severity::4
low; functionality is inconvenient
source::community
catch-all for issues filed by community members
type::feature
request for a new feature or capability
Checklist
What is the idea?
Python 3.12 support
Why is this needed?
Could Python 3.12 Enhance ONNX's Multithreading Capabilities?
The official release of Python 3.12 is fast approaching, scheduled for October 2, 2023. What heightens my anticipation even more is Python 3.12's potential to significantly improve ONNX's multithreading performance.
For a considerable amount of time, Python's Global Interpreter Lock (GIL) has acted as an obstacle to efficient multithreading, particularly in CPU-intensive tasks such as deep learning through ONNX. However, Python 3.12 is set to debut a revolutionary feature: PEP 684, otherwise known as A Per-Interpreter GIL.
Why is this significant? ONNXRuntime, the core engine for executing ONNX deep learning models, is largely dependent on CPU resources. With the introduction of Python 3.12's per-interpreter GIL, there's an optimistic outlook for fully leveraging multi-core processors, thereby unleashing ONNX's untapped potential in deep learning applications.
As Python 3.12 is about to make its significant debut, it provides an ideal moment for me to re-engage with ONNX's multithreading capabilities, invigorated by these promising developments.
Keep an eye out for the upcoming release and join me in exploring the compelling opportunities that lie at the crossroads of ONNX and Python 3.12.
What should happen?
Create 3.12 python conda environments
Additional Context
No response
Tasks
The text was updated successfully, but these errors were encountered: