Skip to content
New issue

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

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

Already on GitHub? # 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

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

No branches or pull requests

1 participant