Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Allow to provide custom model_service_worker.py #3353

Open

Description

@racinmat

🚀 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions