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

feat: support image_input for image embeddings #12

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KAJdev
Copy link

@KAJdev KAJdev commented Aug 7, 2024

adds a new route that is called when image_input is provided that will call image_embed for use with CLIP models.

@TimPietruskyRunPod
Copy link

@pandyamarut would you mind doing the review on this one please? 🙏

if not isinstance(image_input, list):
image_input = [image_input]

embeddings, usage = await self.engine_array[model_name].image_embed(image_input)
Copy link

@Anzanda Anzanda Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to work for me. Chainging the argument to images=image_input resolves the issue on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants