pytorch / serve

Serve, optimize and scale PyTorch models in production
https://pytorch.org/serve/
Apache License 2.0
4.2k stars 859 forks source link

Default number of Netty thread in configuration.md is different from ConfigManager.java #782

Open rishabh1212 opened 3 years ago

rishabh1212 commented 3 years ago

📚 Documentation

In configuration.md

I want to make a pull request for this, but I am not able to push to pytorch/serve

Screen Shot 2020-11-13 at 3 45 57 PM

Update

The default number of netty threads is twice the number of available number processors to JVM Ref: https://github.com/pytorch/serve/pull/873#issuecomment-745011364

Trace proves 2 * num_processors used when 0 is supplied as default netty thread count

dhaniram-kshirsagar commented 3 years ago

@rishabh1212 Commented on your PR #873

rishabh1212 commented 3 years ago

@dhaniram-kshirsagar I update PR, please review