Should not copy the code from awslabs/multi-model-server
Currently most of the code of this project are copied from awslabs/multi-model-server. Just refer to the source of InferenceRequestHandler.java in serve / multi-model-server and model_service_worker.py in serve / multi-model-server etc.
This project should not be the fork of awslabs/multi-model-server and we can reuse the same abstraction by deploying the common modules or just extend the functionality of awslabs/multi-model-server. Copying the source code is dangerous and make it difficult to maintain when we want to fix the issues or improve the performance.
TorchServe was initially ported over from the open source Multi-Model Server project (we have an issue to acknowledge MMS here #259 ). But TorchServe is now an independent project that will grow within the PyTorch community based on PyTorch user needs. All new features and enhancements will be implemented natively in TorchServe, and where appropriate, we will learn from other open source projects, including MMS. AWS continues to maintain and support users of the Multi-Model Server project independently.
Thanks @adityabindal . But we still hope the common code of MMS and pytorch/serve could be reusable meanwhile these code are copying under different licenses.