CLIP-ONNX icon indicating copy to clipboard operation
CLIP-ONNX copied to clipboard

It is a simple library to speed up CLIP inference up to 3x (K80 GPU)

Results 2 CLIP-ONNX issues
Sort by recently updated
recently updated
newest added

q, k, v = (torch.einsum("tbh, oh -> tbo", x, self.attn.in_proj_weight) + self.attn.in_proj_bias).contiguous().chunk( 3, dim=-1) @Lednik7 Thanks for your great work on Clip-ONNX. for the pytorch operator of "torch.einsum" , if...

Hi! First of all, thanks a lot for a great example project! However, I'm pretty sure I have found a bug. onnx_model.encode_text() produces results that are not consistent with regular...