Skip to content
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

Allow to provide custom model_service_worker.py #3353

Open
racinmat opened this issue Oct 23, 2024 · 0 comments
Open

Allow to provide custom model_service_worker.py #3353

racinmat opened this issue Oct 23, 2024 · 0 comments

Comments

@racinmat
Copy link

🚀 The feature

Allow to provide custom model_service_worker.py, ideally in config.properties.

Motivation, pitch

Sometimes I want to tweak some things in the model service worker, but it's not possible currently. This is mostly motivated by #3350 . While I am able to use my own base handler without extending https://github.com/pytorch/serve/blob/v0.12.0/ts/torch_handler/base_handler.py and it works well, I am not able to do the same with the https://github.com/pytorch/serve/blob/v0.12.0/ts/model_service_worker.py

Alternatives

Forking pytorch/serve.

Additional context

No response

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

No branches or pull requests

1 participant