kylebgorman / pynini

Read-only mirror of Pynini
http://pynini.opengrm.org
Apache License 2.0
120 stars 26 forks source link

Provide compiled python wheels including OpenFst dependencies on Linux #27

Closed PierreAndreNoel closed 3 years ago

PierreAndreNoel commented 4 years ago

The contribution promised here is now available at https://github.com/ElementAI/build-pynini-wheels

@kylebgorman , please let me know if you have trouble making it work and/or need further assistance.

kylebgorman commented 4 years ago

Thanks, I'll see if we can link to this as a third-party solution.

On Fri, May 15, 2020 at 1:39 PM Pierre-Andre Noel notifications@github.com wrote:

The contribution promised here https://github.com/kylebgorman/pynini/issues/19#issuecomment-626813218 is now available at https://github.com/ElementAI/build-pynini-wheels

@kylebgorman https://github.com/kylebgorman , please let me know if you have trouble making it work and/or need further assistance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kylebgorman/pynini/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OLASGD5Q7UAKZVYANDRRV45VANCNFSM4NBYJCPQ .

daanzu commented 3 years ago

@kylebgorman I updated the Docker-based build for wheels in https://github.com/ElementAI/build-pynini-wheels/pull/3. Although I didn't know how to run the current set of tests, the wheels build and seem to work. Please let me know if you want more info on building or publishing for PyPI.

kylebgorman commented 3 years ago

Thanks again. I had trouble with the Docker setup for that, which is the only reason I haven't published it yet-I literally could not get it working locally. I'll try again shortly and ping you with any issues I encounter.

fquirin commented 3 years ago

Hello everyone :-) I'm currently building the new STT WebSocket Server for SEPIA and would like to include LM building on Raspberry Pi.

I was wondering if it is possible to build OpenFST and Pynini wheels for Aarch64 and Armv7? :-)

PierreAndreNoel commented 3 years ago

@fquirin For Aarch64, you could try hacking the Dockerfile by starting FROM quay.io/pypa/manylinux_2_24_aarch64 AS common then iteratively fixing whatever breaks. You probably need some build flags for OpenFST and/or Pynini, but @kylebgorman and/or his documentation would know better than me.

fquirin commented 3 years ago

I feel comfortable trying to fix whatever breaks but if there are different build flags required I'm not really sure where to start :-/

kylebgorman commented 3 years ago

It's certainly possible platform-specific flags will be required but honestly, I doubt it. OpenFst and friends are already running on mobile devices all over the place...

On Mon, Jun 21, 2021 at 6:39 PM Florian Quirin @.***> wrote:

I feel comfortable trying to fix whatever breaks but if there are different build flags required I'm not really sure where to start :-/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kylebgorman/pynini/issues/27#issuecomment-865390168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OLRZDCVY2HQHS3UCTLTT65S5ANCNFSM4NBYJCPQ .

kylebgorman commented 3 years ago

Going to close this but I'll be happy to take a look at a draft or PR.