[2/N][warmup][DSv4] Migrate sequence and DCP kernels (#53564)
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <codex@openai.com> Co-authored-by: OpenAI Codex <noreply@openai.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Codex
OpenAI Codex
Lucas Wilkinson
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
ecd600d91e
commit
1713b9866a
@@ -532,10 +532,12 @@ def test_runtime_cache_miss_compiles_and_caches_executor() -> None:
|
||||
def test_registry_records_only_inside_model_setup_context() -> None:
|
||||
registry = JitWarmupRegistry(_config())
|
||||
kernel = RecordingToyKernel()
|
||||
config = _config()
|
||||
|
||||
kernel.register_warmup(3, _config())
|
||||
with registry.activate():
|
||||
kernel.register_warmup(3, _config())
|
||||
kernel.register_warmup(3, config)
|
||||
kernel.register_warmup(3, config)
|
||||
|
||||
assert len(registry) == 1
|
||||
assert kernel.compiled == []
|
||||
|
||||
Reference in New Issue
Block a user