Skip to content

Documentation for batched inference with torchserve #1114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
msaroufim opened this issue Jun 7, 2021 · 4 comments
Closed

Documentation for batched inference with torchserve #1114

msaroufim opened this issue Jun 7, 2021 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@msaroufim
Copy link
Member

No description provided.

@msaroufim msaroufim added the documentation Improvements or additions to documentation label Jun 9, 2021
@KrzysztofPrzygodzki
Copy link

Hi! I didn't know where to put it, but I believe there is a problem with example of batch processing: resnet_152_batch.

There is an exemplary config.properties which has section models where properties like batchsize etc. are defined - README.md#L67 Unfortunately it is ignored by server (Torchserve version: 0.4.0). Model is registered, but parameters are not set.
I had to use model_snapshot={\ "name": "startup.cfg",\ "modelCount": 1,\ "models": {\ ...

Regards!

@HamidShojanazeri
Copy link
Collaborator

@KrzysztofPrzygodzki Sorry for the confusion, this feature would be available from 0.4.1 as mentioned in the doc which is coming in couple of weeks, for now you can use this feature by installing from src.

@KrzysztofPrzygodzki
Copy link

@HamidShojanazeri
I see. I had to missed it, sorry. Thank you for clarifications.

@HamidShojanazeri
Copy link
Collaborator

@KrzysztofPrzygodzki Pls feel free to open a new issue if you ran into any problem with setting them through config.properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants