Skip to content

[CB] Refactor any model-related code in a separate class#45654

Draft
remi-or wants to merge 11 commits intomainfrom
cb-model-runner
Draft

[CB] Refactor any model-related code in a separate class#45654
remi-or wants to merge 11 commits intomainfrom
cb-model-runner

Conversation

@remi-or
Copy link
Copy Markdown
Collaborator

@remi-or remi-or commented Apr 27, 2026

Summary

This PR simplifies the continuous batching code by refactoring away any model-related code in the ModelRunner class. This is because the ContinuousBatchingProcessor class is starting to get too big and this will help keep things organized.
Draft until #45653 is merged.

Performance

TBD

Tests

TBD

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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