serve
serve copied to clipboard
Document the docker settings for running in production mode
Document the steps for running docker in production mode, with parameters like --shm-size=1g --ulimit memlock=-1 --ulimit stack=32505856 that will be needed for proper functioning with production workloads
Please add me to the review when the steps are fully fleshed out. "with parameters like" isn't ready for a doc update.
@chauhang Tried to understand how and which other similar system parameters for 'run command' could be useful. However, need more details to understand the following aspect -
- Are we looking to specify certain optimum values for these parameters for torchserve?
- I think the values of these will vary based on the use case of torchserve.
- There are other parameters like memory, swapiness, security config.. Do we have to consider some of these as well?
Went over a few available resources such as NVIDIA docker user guide and docker run command..