Git Product home page Git Product logo

Comments (2)

ditannan avatar ditannan commented on September 21, 2024 2

I haven’t benchmarked on arm myself but the differences you are reporting are much larger than I would expect. Is possible that you are using a debug build on arm and release build on x86? make test will result in debug build, can you rebuild and benchmark again after doing make clean && make build.

Thank you very much, I rebuilt the package with make clean && make build and got a wheel file named target/wheels/fast_ctc_decode-0.2.5-cp37-cp37m-manylinux1_aarch64.whl. I use pip3 install target/wheels/fast_ctc_decode-0.2.5-cp37-cp37m-manylinux1_aarch64.whl and got fast_ctc_decode-0.2.5-cp37-cp37m-manylinux1_aarch64.whl is not a supported wheel on this platform. error. After renamed the file to fast_ctc_decode-0.2.5-cp37-cp37m-linux_aarch64.whl, I installed the package successfully. And the new benchmark on arm:

beam search length of 1000 for 1000 times cost: 1.6493666172027588s, mean: 0.0016493666172027588
viterbi search length of 1000 for 1000 times cost: 0.06065034866333008s, mean: 6.065034866333008e-05

The time differences are small, thanks a lot.

from fast-ctc-decode.

iiSeymour avatar iiSeymour commented on September 21, 2024

I haven’t benchmarked on arm myself but the differences you are reporting are much larger than I would expect. Is possible that you are using a debug build on arm and release build on x86? make test will result in debug build, can you rebuild and benchmark again after doing make clean && make build.

from fast-ctc-decode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.