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

Qwen batch #5

Closed
wants to merge 3 commits into from
Closed

Qwen batch #5

wants to merge 3 commits into from

Conversation

HRashidi
Copy link
Contributor

Setting multiple request for the qwen
Update Aana to latest

@HRashidi HRashidi requested a review from movchan74 November 15, 2024 09:04
@@ -162,7 +162,7 @@ async def run( # noqa: C901

timestamps.extend(frames_dict["timestamps"])
frame_ids.extend(frames_dict["frame_ids"])
chat_prompt = "Describe the content of the following image in a single sentence:"
chat_prompt = "Caption the content of the following image in a single and concise sentence"
Copy link
Contributor

Choose a reason for hiding this comment

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

@HRashidi Can you try to call the captioning model not in batches but by scheduling multiple asyncio tasks like here https://github.com/mobiusml/aana_episodic_retrieval/blob/1a431ed39f70c01af72ccbbb89aeb66271ce38af/aana_episodic_retrieval/endpoints/episodic_summary.py#L120? It should be much faster.

@HRashidi HRashidi closed this Dec 4, 2024
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.

2 participants