-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Python 3.13 (upb) #20304
Comments
Hi, thanks for reporting the performance issue. Do you have examples / evidence of the performance drop, considering Protobuf backend, in details? |
Hi @shaod2 , thanks for your rapid reply. I have made a demo test as below: Lib dependency: protobuf==5.29.3 Environment: Linux 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Python version: 3.13.12 vs 3.13.1t Command: Test results: I have attached all the test code as below: Frank |
@liujianwish Do you use the regular 3.13.1 or the experimental free-threaded 3.13.1t (see https://docs.python.org/3/whatsnew/3.13.html#free-threaded-cpython)? |
Thanks for your clearification. I am researching on free threaded version python (3.13t). As upb has moved into protobuf, is there any release plan to support python 3.13t? |
Hi,
There is an performance issue in protobuf when I switching python version from 3.10 to 3.13. Performance droped 20x comparing with 3.10. After some investigating, I find the root cause is due to the backend implmentation of the protobuf. In 3.13, the backend implementation is python, compatible version I guess.
Is there any release plan for supporting python 3.13 (upb ver) or any temp solution to build a upb for python 3.13?
Frank
The text was updated successfully, but these errors were encountered: