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

add multi gpu image captioning #3144

Closed

Conversation

dame-cell
Copy link
Contributor

What does this PR do?

This PR adds a distributed image captioning example using blip.

Based on https://gist.github.com/sayakpaul/dfb26d6562b62ba8c2f613dc912a28a8#file-generate_captions_multigpu-py

This was discussed on the #3078

Who can review?

@sayakpaul

Notes

  • I was able to generate image captions using two T4 GPUs in less than 20 minutes for a dataset of 50,000 rows.
  • If there are any concerns regarding the choice of model or dataset, I am open to making adjustments as needed.

@sayakpaul
Copy link
Member

Thanks for your contributions! But we already have #3123. Does it not have an overlap in the sense that it also adds captioning?

@dame-cell
Copy link
Contributor Author

oh my bad i thought that was like for inference with florence

@dame-cell
Copy link
Contributor Author

@sayakpaul i guess the only thing left if for the Speech data generation i will try contributing this if no one has done it

@dame-cell dame-cell closed this Oct 8, 2024
@dame-cell dame-cell reopened this Oct 8, 2024
@sayakpaul
Copy link
Member

Sure, speech-data generation would be very nice.

@dame-cell dame-cell closed this Oct 8, 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