[Bugfix][HiSparse] Never allocate GPU pages without host backing (#59036)
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Co-authored-by: Matthew Bonanni <mbonanni@redhat.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Matthew Bonanni
Claude Opus 5.5
parent
e006d761a5
commit
90e13fc757
@@ -1822,6 +1822,14 @@ class VllmConfig:
|
||||
raise ValueError(
|
||||
"HiSparse does not support decode context parallelism."
|
||||
)
|
||||
if not self.scheduler_config.scheduler_reserve_full_isl:
|
||||
# Without it, async loads admitted against free host blocks can
|
||||
# each wait on host pages the others hold, and waiting requests
|
||||
# are never preempted to free them.
|
||||
raise ValueError(
|
||||
"HiSparse requires --scheduler-reserve-full-isl; remove "
|
||||
"--no-scheduler-reserve-full-isl."
|
||||
)
|
||||
if self.model_config is not None and not hasattr(
|
||||
self.model_config.hf_config, "index_topk"
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user