Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Input #134

Open
Legerdo opened this issue Mar 29, 2024 · 3 comments
Open

Image Input #134

Legerdo opened this issue Mar 29, 2024 · 3 comments
Labels
enhancement New feature or request llama.cpp

Comments

@Legerdo
Copy link

Legerdo commented Mar 29, 2024

Describe the feature

hello.
llamafile seems to have image input functions such as jpg/png/gif/bmp.

Example)
llamafile -ngl 9999 --temp 0
--image ~/Pictures/lemurs.jpg
-m llava-v1.5-7b-Q4_K.gguf
--mmproj llava-v1.5-7b-mmproj-Q4_0.gguf
-e -p '### User: What do you see?\n### Assistant: '
--no-display-prompt 2>/dev/null

Is it possible to implement this feature in the future?
Or is there some problem that makes it impossible?

@Legerdo Legerdo added the enhancement New feature or request label Mar 29, 2024
@amakropoulos
Copy link
Collaborator

hi, thanks for the request!
that should be feasible.
how would you like to use it / see it inside Unity?

@Legerdo
Copy link
Author

Legerdo commented Mar 29, 2024

Eventually, I would like to add the ability to describe to the user what the NPC character's camera (eyes) sees.

I haven't tested this against the local vision model yet, so I don't know to what extent it's possible, but it would be interesting if it were!

@amakropoulos amakropoulos added this to the v2.2.1 milestone Aug 27, 2024
@amakropoulos amakropoulos moved this from Todo to In Progress in LLM for Unity Roadmap Sep 4, 2024
@amakropoulos amakropoulos moved this from In Progress to Blocked in LLM for Unity Roadmap Sep 4, 2024
@amakropoulos
Copy link
Collaborator

I implemented most of the functionality in this branch: feature/multimodal_models
and I afterwards figured out that multimodal support has been dropped from the llama.cpp server and not brought back for the last months: ggerganov/llama.cpp#8010 😞

@amakropoulos amakropoulos removed this from the v2.2.1 milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request llama.cpp
Projects
Status: Blocked
Development

No branches or pull requests

2 participants