Skip to content

Conversation

FourierMourier
Copy link

Hi! I noticed there's no additional check for types when we pass text embeddings to the onnx model, which leads to an unexpected type error when a clip model is used on gpu with outputs of type float16 even after the torch -> numpy conversion. So I think it's better to cast embedding inputs to the same type as the image inputs

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.

1 participant