ImageBind icon indicating copy to clipboard operation
ImageBind copied to clipboard

the minimum requirement of gpu?

Open majorWang opened this issue 2 years ago • 8 comments

The model file's size is more than 4g, so what's the minimum requirement of gpu? I have only 3060

majorWang avatar May 10 '23 02:05 majorWang

We will work on releasing smaller checkpoints in the coming couple of weeks.

aelnouby avatar May 10 '23 13:05 aelnouby

我们将在接下来的几周内努力发布更小的检查点。 My graphics card is NVIDIA GeForce GTX 1650 Ti,Will a version of my graphics card run in the next few weeks?

z-x-x136 avatar May 10 '23 13:05 z-x-x136

I ran it on a 970 4gb, just need to use autocast and half.

TashaSkyUp avatar May 11 '23 22:05 TashaSkyUp

I ran it on a 970 4gb, just need to use autocast and half.

Encouraging! Only for inference or also for training? Could you shed a bit more lights on your implementation?

tanluDIMA avatar Jun 27 '23 12:06 tanluDIMA

Just inference.

TashaSkyUp avatar Jun 28 '23 03:06 TashaSkyUp

Hey @TashaSkyUp , I have been experimenting with imageBind for videos, I essentially extract the clips (5 secs), audio and subtitles from a video and I want them all in the same embedding space. I have tried this with the vanilla imagebind implementation on my 3080ti GPU with 24GB memory. However, I am facing an issue where the embedding generation takes too long. For a 8 minute video, it takes 40 minutes to generate the embeddings for video clips, text segments and audio clips (each corresponding to every 5 second segment of the video).

I was wondering if I could use your implementation to speed up the inference, or if you know of a way to quantize imageBind model to accelerate this process? Or maybe I am doing something wrong, just wanted your advice on it. Thanks again!

abhimanyu891998 avatar Sep 18 '23 02:09 abhimanyu891998

Hi, here to recommend our work, which is LanguageBind: Extending Video-Language Pretraining to N-modality by Language-based Semantic Alignment. We open source all training and validation code. For video just only 16 V100s are needed, if you turn on gradient accumulation then 8 V100s are fine. For depth maps and infrared maps, only 8 V100s are needed.

LinB203 avatar Oct 16 '23 02:10 LinB203

I have videos nearly 8minute of length i want to create an embedding of audio and video, what change do i need to make in the code.

Hey @TashaSkyUp , I have been experimenting with imageBind for videos, I essentially extract the clips (5 secs), audio and subtitles from a video and I want them all in the same embedding space. I have tried this with the vanilla imagebind implementation on my 3080ti GPU with 24GB memory. However, I am facing an issue where the embedding generation takes too long. For a 8 minute video, it takes 40 minutes to generate the embeddings for video clips, text segments and audio clips (each corresponding to every 5 second segment of the video).

I was wondering if I could use your implementation to speed up the inference, or if you know of a way to quantize imageBind model to accelerate this process? Or maybe I am doing something wrong, just wanted your advice on it. Thanks again!

anas2908 avatar Dec 17 '23 11:12 anas2908