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

How can I deploy bentoDeployment with both remote runner and embedded runner? #507

Open
KimSoungRyoul opened this issue Feb 28, 2024 · 0 comments

Comments

@KimSoungRyoul
Copy link
Contributor

As far as I know, this feature is not currently supported, can you please consider this for yatai 2.0?


a_runner = bentoml.xxx.to_runner(embedded=True)
b_runner = bentoml.xxx.to_runner()

svc = bentoml.Service()

@svc.api(...)
async predict(...): 
    a_result = await a_runner.async_run(...) # embedded runner
    b_result = await b_runner.async_run(...) # remote runner ( other pods )

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

No branches or pull requests

1 participant