Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
c7bb1e83
Unverified
Commit
c7bb1e83
authored
May 09, 2025
by
Graham King
Committed by
GitHub
May 09, 2025
Browse files
fix(bindings): serve_endpoint no longer takes a lease (#1014)
parent
d2768c22
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
docs/guides/dynamo_run.md
docs/guides/dynamo_run.md
+1
-1
launch/dynamo-run/src/subprocess/sglang_inc.py
launch/dynamo-run/src/subprocess/sglang_inc.py
+1
-1
launch/dynamo-run/src/subprocess/vllm_inc.py
launch/dynamo-run/src/subprocess/vllm_inc.py
+1
-1
lib/bindings/python/examples/hello_world/server_sglang.py
lib/bindings/python/examples/hello_world/server_sglang.py
+1
-1
lib/bindings/python/examples/hello_world/server_vllm.py
lib/bindings/python/examples/hello_world/server_vllm.py
+1
-1
No files found.
docs/guides/dynamo_run.md
View file @
c7bb1e83
...
...
@@ -438,7 +438,7 @@ async def worker(runtime: DistributedRuntime):
# 3. Attach request handler
#
await endpoint.serve_endpoint(RequestHandler(engine).generate
, None
)
await endpoint.serve_endpoint(RequestHandler(engine).generate)
class RequestHandler:
...
...
launch/dynamo-run/src/subprocess/sglang_inc.py
View file @
c7bb1e83
...
...
@@ -134,7 +134,7 @@ async def init(runtime: DistributedRuntime, config: Config):
# the server will gracefully shutdown (i.e., keep opened TCP streams finishes)
# after the lease is revoked
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
,
None
)
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
)
def
cmd_line_args
():
...
...
launch/dynamo-run/src/subprocess/vllm_inc.py
View file @
c7bb1e83
...
...
@@ -154,7 +154,7 @@ async def init(runtime: DistributedRuntime, config: Config):
# the server will gracefully shutdown (i.e., keep opened TCP streams finishes)
# after the lease is revoked
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
,
default_sampling_params
).
generate
,
None
RequestHandler
(
engine_client
,
default_sampling_params
).
generate
)
...
...
lib/bindings/python/examples/hello_world/server_sglang.py
View file @
c7bb1e83
...
...
@@ -108,7 +108,7 @@ async def init(runtime: DistributedRuntime, config: Config):
# the server will gracefully shutdown (i.e., keep opened TCP streams finishes)
# after the lease is revoked
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
,
None
)
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
)
def
cmd_line_args
():
...
...
lib/bindings/python/examples/hello_world/server_vllm.py
View file @
c7bb1e83
...
...
@@ -125,7 +125,7 @@ async def init(runtime: DistributedRuntime, config: Config):
# the server will gracefully shutdown (i.e., keep opened TCP streams finishes)
# after the lease is revoked
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
,
None
)
await
endpoint
.
serve_endpoint
(
RequestHandler
(
engine_client
).
generate
)
def
cmd_line_args
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment