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

Add warmup to SRT server #146

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Add warmup to SRT server #146

merged 1 commit into from
Feb 5, 2024

Conversation

comaniac
Copy link
Collaborator

@comaniac comaniac commented Feb 5, 2024

Now the first request after the SRT is launched is extremely slow. This is because when the first time running the model forward, the backend needs to allocate intermediate memory, build kernels, etc. Thus, this PR adds a warmup process after the server is ready, just like other serving frameworks do.

@merrymercy merrymercy merged commit 322421f into main Feb 5, 2024
@merrymercy merrymercy deleted the cody/warmup branch February 5, 2024 22:21
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.

None yet

2 participants