[3/N] HiSparse: host-resident sparse-MLA decode hot-buffering (#53781)
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Signed-off-by: Lucas Wilkinson <lwilkinson@neuralmagic.com> Signed-off-by: Matthew Bonanni <matthew@neuralmagic.com> Signed-off-by: Nicolò Lucchesi <nicolo.lucchesi@mistral.ai> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Lucas Wilkinson <lwilkinson@neuralmagic.com> Co-authored-by: Nicolò Lucchesi <nicolo.lucchesi@mistral.ai> Co-authored-by: OpenAI Codex <noreply@openai.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com>
This commit is contained in:
co-authored by
OpenAI Codex
Lucas Wilkinson
Lucas Wilkinson
Nicolò Lucchesi
OpenAI Codex
Claude Opus 5
Lucas Wilkinson
parent
120ec4ebd2
commit
d43bb2f37f
@@ -62,7 +62,7 @@ def _make_offloading_config(
|
||||
normalized_extra_config["cpu_bytes_to_use"] = cpu_bytes_to_use
|
||||
|
||||
if groups is None:
|
||||
groups = (OffloadingGroupConfig(16, ("layer",)),)
|
||||
groups = (OffloadingGroupConfig(16, ("layer",), 0),)
|
||||
|
||||
return OffloadingConfig(
|
||||
groups=groups,
|
||||
@@ -493,8 +493,8 @@ def test_offloading_spec_has_replicated_layout_default():
|
||||
|
||||
def test_offloading_spec_uses_normalized_chunk_geometry():
|
||||
groups = (
|
||||
OffloadingGroupConfig(12, ("full_layer",)),
|
||||
OffloadingGroupConfig(16, ("mla_layer",)),
|
||||
OffloadingGroupConfig(12, ("full_layer",), 0),
|
||||
OffloadingGroupConfig(16, ("mla_layer",), 1),
|
||||
)
|
||||
spec = _create_spec(
|
||||
groups=groups,
|
||||
|
||||
Reference in New Issue
Block a user