[Qwen4Exp][ROCm] PLE n-gram table CPU offload (#57497)

Signed-off-by: Mathew Odden <modden@redhat.com>
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: opencode+deepseek-v4-flash+vllm <opencode+deepseek-v4-flash+vllm@example.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
Mathew Odden
2026-09-24 23:28:20 -05:00
committed by GitHub
co-authored by opencode+deepseek-v4-flash+vllm Andreas Karatzas OpenAI Codex
parent fa94450b74
commit 267eee54bf
7 changed files with 887 additions and 529 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ class EngramConfig:
):
raise ValueError(
"EngramConfig requires a model with supported Engram "
"embeddings, non-empty n-gram layer ids, and CUDA."
"embeddings, non-empty n-gram layer ids, and a CUDA-alike "
"device (CUDA or ROCm)."
)
def resolve_dp_shared_memory(self, parallel_config: "ParallelConfig") -> None: