Search before asking
Description
The Serve controller primarily uses serialized classes and functions when setting up replicas. It should instead primarily use import paths.
Use case
Import paths better support the REST API and cross-language use cases. With runtime environments, replicas can directly import the deployment class or function without worrying about serialization.
Related issues
#22578 contains some discussion about this enhancement.
Are you willing to submit a PR?
Search before asking
Description
The Serve controller primarily uses serialized classes and functions when setting up replicas. It should instead primarily use import paths.
Use case
Import paths better support the REST API and cross-language use cases. With runtime environments, replicas can directly import the deployment class or function without worrying about serialization.
Related issues
#22578 contains some discussion about this enhancement.
Are you willing to submit a PR?