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

[Misc] Add "LlumnixRequest" class and refactor api #21

Merged
merged 9 commits into from
Sep 2, 2024
Merged

Conversation

ZeldaHuang
Copy link
Contributor

@ZeldaHuang ZeldaHuang commented Aug 28, 2024

  1. Replace MigratingRequest with LlumnixRequest, maintain migration-related or llumnix args , backend engine should implements its own request class (likeSequenceGroupLlumnix in vllm backend)
  2. Move migration-policy function to LocalMigrationScheduler
  3. Fix some bugs in migration.
  4. Update unitests.

llumnix/llumlet/llumlet.py Outdated Show resolved Hide resolved
llumnix/llumlet/local_migration_scheduler.py Outdated Show resolved Hide resolved
llumnix/llumlet/local_migration_scheduler.py Show resolved Hide resolved
llumnix/llumlet/request.py Show resolved Hide resolved
Makefile Show resolved Hide resolved
fix

fix pylint

update

fix

add todo

add todo

fix
tests/backends/vllm/test_migration.py Outdated Show resolved Hide resolved
tests/backends/vllm/test_migration.py Show resolved Hide resolved
llumnix/backends/vllm/llm_engine.py Show resolved Hide resolved
llumnix/backends/vllm/llm_engine.py Show resolved Hide resolved
llumnix/backends/vllm/llm_engine.py Show resolved Hide resolved
llumnix/llumlet/request.py Show resolved Hide resolved
llumnix/llumlet/local_migration_scheduler.py Show resolved Hide resolved
Copy link
Contributor

@s5u13b s5u13b left a comment

Choose a reason for hiding this comment

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

LGTM

@ZeldaHuang ZeldaHuang merged commit f6bbb18 into main Sep 2, 2024
4 checks passed
@ZeldaHuang ZeldaHuang deleted the misc branch September 2, 2024 13:02
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.

3 participants