clip-as-service icon indicating copy to clipboard operation
clip-as-service copied to clipboard

Modal Serverless GPU Integration

Open DoctorSlimm opened this issue 1 year ago • 1 comments

heyyy has anybody tried to integrate this / run it on Modal Serverless GPUs?

/ would running this service be faster than

texts = body['texts']
embeddings = model.encode(texts)
return {
'statusCode': 200,
'embeddings': embeddings 
}

DoctorSlimm avatar May 29 '23 21:05 DoctorSlimm

tbh, i'm not sure I fully got your points. Anyway, we already integrated this embedding product into our Jina Cloud and make it accessible public https://cloud.jina.ai/user/inference. It works smoothly and efficiently.

numb3r3 avatar May 31 '23 03:05 numb3r3