Skip to content

[serve] Make controller use import paths #22604

Closed

Description

@shrekris-anyscale

Search before asking

  • I had searched in the issues and found no similar feature requirement.

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?

  • Yes I am willing to submit a PR!

Activity

  1. added
    enhancement
    serve
    on Feb 23, 2022
  2. added
    P1
    on Feb 25, 2022
  3. added
    P2
    and removed
    P1
    on Dec 7, 2022
  4. hora-anyscale commented on Dec 7, 2022

    @hora-anyscale
    Contributor

    Per Triage Sync: @shrekris-anyscale is this still an issue?

    cc: @sihanwang41

  5. shrekris-anyscale commented on Dec 8, 2022

    @shrekris-anyscale
    ContributorAuthor

    Thanks for following up here @hora-anyscale. I don't think there's a strong motivation for this change anymore since the controller can use import paths now.

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

    P2enhancementserve

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions