Skip to content

[Bug in compaction] Undefined variable in scheduler_adapter #43

@Alex-q-z

Description

@Alex-q-z

On the compact branch, in lmcache_vllm/scheduler_adapter.py, PreemptionMode is undefined on line 270. This will lead to a variable undefined error whenever a sequence group gets pre-empted, e.g. due to insufficient space for KV cache on GPU. To reproduce, try running any offline batch inference workload with a large batch size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions