Replies: 1 comment
-
OK I have a proof of concept here: https://github.com/sgl-project/sglang/pull/6103/files! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! I was wondering if anyone had thoughts about how I might precompute my own image features and pass them to SGLang for use in inference.
One idea would be to add a
precomputed_features: Optional[torch.Tensor]
field toMultimodalDataItem
and a per-model:That's passed into
general_mm_embed_routine
. Does that sound like a reasonable way to do this?Thanks!
Yury
Beta Was this translation helpful? Give feedback.
All reactions