-
Notifications
You must be signed in to change notification settings - Fork 198
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
Hide VLM files and API #951
Hide VLM files and API #951
Conversation
src/cpp/src/vlm_pipeline.cpp
Outdated
|
||
DecodedResults VLMPipeline::generate( | ||
const std::string& prompt, | ||
const std::vector<ov::Tensor>& rgbs, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, why do we have overload with multiple images, but don't have with single one?
I think we either need to provide it or keep only overload with explicit prompt, while image(s) are supposed via properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the implementation of the second option. Properties are cast to this general signature while the sample encourages to use Proprieties. There's just no reason to hide this general function. Someone pedantic may want to avoid minor cast overhead and use that one directly.
src/cpp/include/openvino/genai/visual_language/vlm_pipeline.hpp
Outdated
Show resolved
Hide resolved
It shows merge conflicts with VLM tests & align impl.. Latest wait for those PRs to me merged via queue first. |
We could have let it try to merge and see who is faster or not randomly fails. The other one would resolve the conflicts. |
21aa927
to
7f0ef7a
Compare
7916b42
to
a9d92f0
Compare
3d0fcee
No description provided.