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

feat: lazy load bentoml.server #3763

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

aarnphm
Copy link
Contributor

@aarnphm aarnphm commented Apr 17, 2023

Signed-off-by: Aaron [email protected]

What does this PR address?

Lazy load server such that users can do:

import bentoml

server = bentoml.server.HTTPServer(...)

Before submitting:

@aarnphm aarnphm requested a review from a team as a code owner April 17, 2023 09:42
@aarnphm aarnphm requested review from larme and removed request for a team April 17, 2023 09:42
@aarnphm aarnphm changed the title chore: lazy load server feat: lazy load bentoml.server Apr 17, 2023
@aarnphm aarnphm enabled auto-merge (squash) April 17, 2023 09:43
@aarnphm aarnphm requested a review from sauyon April 17, 2023 10:01
@sauyon
Copy link
Contributor

sauyon commented Apr 17, 2023

Generally users should be using bentoml.HTTPServer directly, but we should do this anyway.

@aarnphm aarnphm merged commit 2eba681 into bentoml:main Apr 17, 2023
@aarnphm aarnphm deleted the chore/lazy-load-server branch April 17, 2023 20:07
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

Successfully merging this pull request may close these issues.

2 participants