Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Add ability for multiple dev servers simultaneously - #73

Open
aaronsantiago wants to merge 2 commits into
bentoml:mainfrom
aaronsantiago:main
Open

Add ability for multiple dev servers simultaneously#73
aaronsantiago wants to merge 2 commits into
bentoml:mainfrom
aaronsantiago:main

Conversation

@aaronsantiago

Copy link
Copy Markdown

I wrote this in a way where it would create effectively no impact towards existing use cases for comfy-pack, but this is quite important for my use case. I am currently trying to use the API to spawn multiple endpoints on a given computer, and I'm finding that comfy-pack seems to arbitrarily be limiting to 1 server.

The behavior should stay exactly the same if used as before, unless you call the bentoml/serve endpoint with an additional "parallel" field, in which comfy-pack won't close any servers when starting the new one.

Calling the terminate endpoint will terminate all endpoints.

Happy to take feedback here. I've tested this on my end and it works great.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant