Skip to content

Commit

Permalink
Address issue with staging engine
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Nov 16, 2023
1 parent 5e8e1a5 commit 820f86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve/mlc_serve/engine/staging_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def step(self) -> InferenceStepResult:
def _is_ready_to_serve(self) -> bool:
return self.worker_process is not None and self.worker_process.is_alive()

def _get_new_request_state(self, request: Request) -> Optional[RequestState]:
def _get_new_request_state(self, request: Request) -> RequestState:
if request.debug_options.prompt is not None:
prompt = request.debug_options.prompt
else:
Expand Down

0 comments on commit 820f86f

Please sign in to comment.