Skip to content
Discussion options

You must be logged in to vote

With python I got the same behavior but shows more warning logs.

  1. The Context leak detected, msgtracer returned -1 if I set the flag RequireStaticInputShapes=1 and it's also a lot faster compared to the value 0. With 0 most of the times consumes all memory of the computer.
  2. Looks like ONNX is dumping everything on the CPU, regardless if I run just with CPU or with CoreML with any combination of flags.

So in summary the bheavior of hugot is the same as python. Bad news for me because after a run of 150 files I can fry eggs on my macbook bottom part and my goal is to reach 4k files :/

Also I don't see any advantage of CoreML vs Onnx only, at least for text and cross encoding text. Maybe for…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
3 replies
@fabiodcorreia
Comment options

@RJKeevil
Comment options

@RJKeevil
Comment options

Comment options

You must be logged in to vote
3 replies
@RJKeevil
Comment options

@fabiodcorreia
Comment options

@fabiodcorreia
Comment options

Answer selected by RJKeevil
Comment options

You must be logged in to vote
4 replies
@fabiodcorreia
Comment options

@riccardopinosio
Comment options

@fabiodcorreia
Comment options

@riccardopinosio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants