codinnvrends

Results comments of codinnvrends

@ar3717 - You can use this example for semantic search created using the example given here https://github.com/UKPLab/sentence-transformers/blob/master/examples/applications/semantic_search.py . Created a simple custom handler to demonstrate your use case. Go to...

Closing this as OP has accepted the answer.

@balachandrafb Could you share detailed steps for this. Unable to repro on staging branch.

@balachandrafb Enhancements in #398 will fix 3.

@maaquib Looks like, one of the prerequisites steps which say 'ensure you are in serve/docker' has been missed out. Anyways, now I have made that step explicit. Also, all the...

Tried following and workers are getting scaled - ``` curl -k -X POST "https://localhost:8444/models?url=resnet-152-batch.mar&batch_size=8&max_batch_delay=10&initial_workers=1" { "status": "Workers scaled" } curl -k "https://localhost:8444/models/resnet-152-batch" [ { "modelName": "resnet-152-batch", "modelVersion": "1.0", "modelUrl": "resnet-152-batch.mar",...

@lessw2020 Tried all the above combination with scripted as well as eager mode models however not facing any such issues. Here is the [sample script](https://drive.google.com/file/d/17U1JF6BwXhg0BJMVkyIJ1JJIlUK3MIz0/view?usp=sharing) I am using on cpu...

@lessw2020 You are correct GPU to CPU [only] is giving issue for both scripted and eager mode models. Looks like I forgot to copy model saved on gpu to cpu...

I am not sure but if you are talking about debugging backend [i.e. model loading/inferencing] then the same will be addressed via #215. More precisely via Developer guide.

Extending the default handler is possible - Look at the last line. ``` $ python Python 3.7.7 (default, May 6 2020, 04:59:01) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin...