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

Stop token follow up for staging engine. Properly report stop reason #78

Merged
merged 4 commits into from
Nov 22, 2023

Conversation

masahi
Copy link
Member

@masahi masahi commented Nov 22, 2023

A follow-up to #72

@sunggg

@masahi masahi changed the title Stop token follow up Stop token follow up for staging engine. Properly report stop reason Nov 22, 2023
@sunggg sunggg merged commit 28422a1 into octoml:batch-serving Nov 22, 2023
5 checks passed
with self.queue_lock:
state = self._get_request_state(request_id)
if state:
del state
Copy link
Member Author

@masahi masahi Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need to requests.append(state) here like in the original code. The original code has two append in cancel but they seem to be appending the same state. cc @yelite

Copy link
Member Author

@masahi masahi Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I realized that self.queue and current_batch are disjoint. Sent a hot fix to #79

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