Giter VIP home page Giter VIP logo

Comments (5)

stweil avatar stweil commented on May 21, 2024

Typically such crashes occur on hardware with an insufficient power supply (often notebooks). Multithreaded Tesseract will make heavy use of all available AVX2 units which require more power than other CPU instructions.

from tesseract.

stweil avatar stweil commented on May 21, 2024

Try running several single-threaded tesseract processes in parallel to use all CPU cores. Maybe that also causes a Linux crash when all processes use AVX2 at the same time. You can also try OMP_THREAD_LIMIT=2 or OMP_THREAD_LIMIT=3 to use multithreading with only some of the available AVX2 units.

from tesseract.

stweil avatar stweil commented on May 21, 2024

See also issue #2064.

from tesseract.

drpixie avatar drpixie commented on May 21, 2024

Hi @stweil - thanks for the feedback. I doubt it's power, the machine is a desktop with plenty of power capacity, and runs severe loads without problem - but difficult to diagnose as machine crashes don't leave any traces. I was thinking bug in libraries for graphics processor ... ?

from tesseract.

stweil avatar stweil commented on May 21, 2024

Even with plenty of power the machine might have a mainboard which does not deliver that power to the CPU.

Tesseract uses its own code for AVX2, no external library. You could use that code for a local test.

from tesseract.

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.