carlgleisner

carlgleisner

Is there a way to have SmolDocling running on Bumblebee?

Hi all,

After having read about SmolDocling :front_facing_baby_chick: for parsing PDF:s I’m really keen to give it a spin as an alternative to the Azure Document Intelligence service (possibly!) :slightly_smiling_face:

SmolDocling is a multimodal Image-Text-to-Text model designed for efficient document conversion. It retains Docling’s most popular features while ensuring full compatibility with Docling through seamless support for DoclingDocuments .

However, I do realise that I cannot expect this model to work on Bumblebee out of the gate.

In another post Jonathan Klosko commented on use of a “receipts model” where a few required features were missing in Bumblebee. It would be reasonable to assume that this would be the case for SmolDocling as well.

** (ArgumentError) could not match the class name "Idefics3ForConditionalGeneration" to any of the supported models, please specify the :module and :architecture options
    (bumblebee 0.6.3) lib/bumblebee.ex:434: Bumblebee.do_load_spec/4
    (bumblebee 0.6.3) lib/bumblebee.ex:603: Bumblebee.maybe_load_model_spec/3
    (bumblebee 0.6.3) lib/bumblebee.ex:591: Bumblebee.load_model/2
    #cell:t4ttbdzq2pvyqvx7:1: (file)

Is there any reasonable path to have SmolDocling running on Bumblebee? If so, what would that entail?

Thank you in advance for any input!

Kind regards,
Carl

Most Liked

pshoukry

pshoukry

The model has an onnx version maybe you can try Ortex? GitHub - elixir-nx/ortex: ONNX Runtime bindings for Elixir · GitHub

franc

franc

@carlgleisner did you by chance get this to work?

carlgleisner

carlgleisner

I haven’t had the time yet but I was very grateful for @pshoukry‘s tip.

The Python tooling around SmolDocling seems really nice (to me) so pythonx could be an option to get going quickly.

Will return to this post once I can find the time of course.

Where Next?

Popular in Questions Top

New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

Other popular topics Top

hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement