[1/N][warmup][DSv4] Migrate generic MLA metadata and indexing kernels (#50175)
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
co-authored by
Codex
parent
188716ace7
commit
e16b5e518d
@@ -737,7 +737,11 @@ class JitWarmupRegistry:
|
||||
for kernel, registrations in self._registrations.items():
|
||||
compile_keys: dict[Any, None] = {}
|
||||
for args, kwargs in registrations:
|
||||
if not args and not kwargs:
|
||||
if (
|
||||
not args
|
||||
and not kwargs
|
||||
and inspect.signature(kernel.get_warmup_keys).parameters
|
||||
):
|
||||
args = (self.vllm_config,)
|
||||
for compile_key in kernel.get_warmup_keys(*args, **kwargs):
|
||||
compile_keys[compile_key] = None
|
||||
|
||||
Reference in New Issue
Block a user