Skip to content

feat: pass an image as part of the evaluation #88

Description

@giladgd

When llama.cpp's support for this will be stable.
Hopefully, there will be an official API for this after ggml-org/llama.cpp#11292 is implemented.

Activity

  1. self-assigned this
    on Nov 5, 2023
  2. converted this from a draft issue on Nov 5, 2023
  3. added
    new featureNew feature or request
    roadmapPart of the roadmap for node-llama-cpp (https://github.com/orgs/withcatai/projects/1)
    on Nov 5, 2023
  4. samlhuillier commented on Nov 22, 2023

    @samlhuillier

    Interested in this kind of multimodal support. Any update on progress?

  5. fozziethebeat commented on Dec 2, 2023

    @fozziethebeat

    Does this encompass adding support for running llava models or should that be a separate feature request? I noticed that llama-cpp-python already includes llava support from llama.cpp so this shouldn't be too hard with setting up the bindings.

  6. giladgd commented on Dec 3, 2023

    @giladgd
    MemberAuthor

    I haven't started working on this yet, but it is planned as part of the roadmap.
    The plan is to add support for llama.cpp's ability to pass an image to a model, which right now only supports LLaVA.

    I'll work on this once llama.cpp's API for this is final, to prevent frequent breaking API changes (unlike what happens on some other libraries)

  7. fozziethebeat commented on Dec 5, 2023

    @fozziethebeat

    Make sense. Hopefully llama.cpp finalizes that API.

  8. AlexTech314 commented on Mar 27, 2025

    @AlexTech314

    Any update on this? Would love to leverage multimodal models! Love the library so far :)

  9. giladgd commented on Mar 28, 2025

    @giladgd
    MemberAuthor

    An official API for this is in active development on llama.cpp; one it's ready we can start working on adding support for it in node-llama-cpp.
    It appears that the API being worked on will also include support for other modalities, such as audio and video, so this is going to be a major feature once it lands (node-llama-cpp will support everything).

  10. AlexTech314 commented on Mar 28, 2025

    @AlexTech314

    An official API for this is in active development on llama.cpp; one it's ready we can start working on adding support for it in node-llama-cpp.
    It appears that the API being worked on will also include support for other modalities, such as audio and video, so this is going to be a major feature once it lands (node-llama-cpp will support everything).

    Beautiful. Looking forward to it, this library is insane.

  11. wisng commented on Apr 18, 2025

    @wisng

    Any updates on this feature, it seems there were some experimental support for gemma 3 vision last week ggml-org/llama.cpp#12344

  12. giladgd commented on May 9, 2025

    @giladgd
    MemberAuthor

    @wisng I'm waiting for an official stable API for this, which is still in the works.

  13. added theissue type on May 12, 2025
  14. Mihailoff commented on May 15, 2025

    @Mihailoff

    🔥 Multimodal support arrived in llama-server: ggml-org/llama.cpp#12898 | documentation

    Perhaps we can't call it stable, but it is there now.

  15. giladgd commented on May 16, 2025

    @giladgd
    MemberAuthor

    I've started poking around with the mtmd API to integrate multimodality into node-llama-cpp.
    There were too many breaking changes around it recently, so I'll wait a bit more before I spend more time integrating it, but it's coming up!
    Can't commit to a timeline yet, but I'll release a few beta versions with it before a stable release to gather feedback and iron out any bugs.

  16. moved this from Todo to In Progress in node-llama-cpp: roadmapon May 23, 2025
  17. AwesomeAnders commented on Nov 21, 2025

    @AwesomeAnders

    Any progress on this one? Huge thanks for the amazing work you're doing on this project! Greatly appreciate it.

  18. giladgd commented on Nov 25, 2025

    @giladgd
    MemberAuthor

    I've got it working but it still needs more polish to be usable. I hope to finish the remaining work and release a beta version soon.

  19. rogerdcarvalho commented on Jan 8, 2026

    @rogerdcarvalho

    Is there anything the community could do to help you move this forward? This library is awesome, but the lack of images is limiting deployment. Given this has been open for over 2 years, I was wondering if there was anything we could do to help you polish / release the work to date?

  20. giladgd commented on Jan 10, 2026

    @giladgd
    MemberAuthor

    @rogerdcarvalho I'm working on node-llama-cpp v4 which revolves mostly around multimodality support (also including modalities other than just images) and it entails a big refactor, which is mostly synchronous work.
    Also, the mtmd (multimodality) library in llama.cpp requires adjusting many parameters to work properly with different models, and I find it important to do all those adjustments automatically as the default so you wouldn't have to spend effort manually investigating a model just to get it running properly (just to know what to look for is a lot of effort in itself).
    While this issue is open for a long time, it only became actionable quite recently with the introduction (and recent refactor and stabilization) of mtmd.

    It's important to get the fundamentals right first before I can publish it as a beta that we can iterate on based on feedback.
    Currently, that's the main thing I'm working on in the time I can allocate for it, but recently I don't have as much time to work on it as I'd like to.
    Maintaining the current v3 with upstream changes happening in llama.cpp is the first priority, and it takes quite a lot of time already. Any help with it would greatly allow me to allocate more time to work on v4 for sure.
    If you're interested in ways you can help with this, don't hesitate to open a discussion about it and I can share there some things there that would surely help out.

  21. rogerdcarvalho commented on Jan 11, 2026

    @rogerdcarvalho

    I'm definitely interested in ways I can help with maintaining the current v3 with upstream changes! I'll open a discussion about it.

  22. marked feat: version support #585 as a duplicate of this issue on Apr 5, 2026
  23. added this to the v4.0.0 milestone on Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new featureNew feature or requestroadmapPart of the roadmap for node-llama-cpp (https://github.com/orgs/withcatai/projects/1)

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions