From 7de2ce45b26959ac36aed42ebf800d8ec70c7bb7 Mon Sep 17 00:00:00 2001 From: Baizhou Zhang Date: Sun, 31 Aug 2025 22:28:22 -0700 Subject: [PATCH] Disable radix cache in test_lora_update.py for better stability (#9852) --- test/srt/lora/test_lora_update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/srt/lora/test_lora_update.py b/test/srt/lora/test_lora_update.py index 3c01858c7..f2058f466 100644 --- a/test/srt/lora/test_lora_update.py +++ b/test/srt/lora/test_lora_update.py @@ -824,6 +824,7 @@ class LoRAUpdateEngineTestSession(LoRAUpdateTestSessionBase): disable_cuda_graph=self.disable_cuda_graph, cuda_graph_max_bs=self.cuda_graph_max_bs, enable_lora=self.enable_lora, + disable_radix_cache=True, ) self.handle.__enter__() return self @@ -958,6 +959,7 @@ class LoRAUpdateServerTestSession(LoRAUpdateTestSessionBase): "1", "--mem-fraction-static", str(MEM_FRACTION_STATIC), + "--disable-radix-cache", ] if self.enable_lora: other_args.append("--enable-lora")