You signed in with another tab or window. Reload to
8000
refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Existing code is not releasing gil during fst compose (tested in my internal pipeline) have raised a pull request with changes required,
Verified in my pipeline that with this code changes gil is released
I have an internal version where the GIL is released manually before every C++ call in pywrapfst (these are probably more important than the ones in Pynini per se) and Pynini. I also have appropriate unit tests ready.
The pywrapfst bump will be out very soon. Pynini will probably be a few more weeks (maybe a month or two at worst---we're all working on it part-time). We are moving to a much better system of releasing for OpenFst (including pywrapfst) as we speak, and will do the same for OpenGrm (including Pynini) as soon as we're done with the OpenFst migration.
Very soon. We have a new release staged on a private GitHub which includes this fix across all operations (along with many other small fixes). My colleagues at Google are making final preparations.
On Jul 31, 2026, at 5:58 AM, Skr ***@***.***> wrote:
sshankar619 left a comment (kylebgorman/pynini#99)
Hi @kylebgorman , Sorry to bother, Shall we expect GIL release for pynini in near term?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you were mentioned.Message ID: ***@***.***>
Activity
kylebgorman commentedon Nov 28, 2025
sshankar619 commentedon Nov 29, 2025
Hi thanks for quick reply.
Existing code is not releasing gil during fst compose (tested in my internal pipeline) have raised a pull request with changes required,
Verified in my pipeline that with this code changes gil is released
sshankar619 commentedon Mar 5, 2026
Hi @kylebgorman , Just a followup. Any plans to merge the fix?
kylebgorman commentedon Mar 5, 2026
I have an internal version where the GIL is released manually before every C++ call in pywrapfst (these are probably more important than the ones in Pynini per se) and Pynini. I also have appropriate unit tests ready.
The pywrapfst bump will be out very soon. Pynini will probably be a few more weeks (maybe a month or two at worst---we're all working on it part-time). We are moving to a much better system of releasing for OpenFst (including pywrapfst) as we speak, and will do the same for OpenGrm (including Pynini) as soon as we're done with the OpenFst migration.
kylebgorman commentedon Mar 6, 2026
The
pywrapfstfixes were just released; see e.g., heresshankar619 commentedon Jul 31, 2026
Hi @kylebgorman , Sorry to bother, Shall we expect GIL release for pynini in near term?
kylebgorman commentedon Jul 31, 2026
kylebgorman commentedon Aug 13, 2026
The repo is now public at https://github.com/google-research/opengrm.
This has the GIL-release fixes for Pynini.
I need to figure out what to do with this repo now that the official OpenGrm is out. Will work on that later.
sshankar619 commentedon Aug 19, 2026
Thank you for support!.
Will this new pynini be added to pypi? - would be helpful if added
sshankar619 commentedon Aug 28, 2026
Just a followup
Do we have any plans to upload pynini wheel from https://github.com/google-research/opengrm in pypi?
kylebgorman commentedon Aug 28, 2026
Yes, this should end up on PyPI eventually, both source and the
manylinux(Linuxx86_64) wheels. Haven't done so yet.sshankar619 commentedon Aug 30, 2026
Would be helpful, if that can be done sooner. Thank you