Replies: 1 comment
-
|
TensorRT-LLM is primarily designed for autoregressive transformer models (LLMs), so there isn't dedicated support for standalone CLIP inference in the same way there is for models like Llama, Mistral, or Qwen. That said, CLIP itself consists of two transformer-based encoders (a vision encoder and a text encoder), so there are a couple of options:
So if your objective is simply to generate image and text embeddings with CLIP, I would recommend using TensorRT rather than TensorRT-LLM. One question for the TensorRT-LLM team:
If this answer helped or pointed you in the right direction, I'd appreciate it if you could mark it as the accepted answer so it's easier for others with the same issue to find. Also, if you found my contribution useful, I'd appreciate it if you could check out my GitHub profile, follow me, and star any repositories you find interesting. GitHub: https://github.com/Advait251206 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run CLIP vision and text model inference usning TensorRT on NVIDIA GPU on linux environment. I don't see many successful attempts on the web.
Is there a support for CLIP on TensorRT-LLM?
Beta Was this translation helpful? Give feedback.
All reactions