fix test_lora_update.py starvation message check (#13702)

This commit is contained in:
Glen Liu
2025-11-21 19:33:04 -08:00
committed by GitHub
parent 59b4d7f8d6
commit 53620a1b1a
+3 -3
View File
@@ -713,7 +713,7 @@ MAX_LOADED_LORAS_TESTS = [
"lora_path": "pbevan11/llama-3.1-8b-ocr-correction", "lora_path": "pbevan11/llama-3.1-8b-ocr-correction",
"pinned": True, "pinned": True,
}, },
expected_error="unpin some adapters", expected_error="starvation",
), ),
Operation( Operation(
type=OperationType.UNLOAD, type=OperationType.UNLOAD,
@@ -768,7 +768,7 @@ EVICTION_TESTS = [
"lora_path": "Nutanix/Meta-Llama-3.1-8B-Instruct_lora_4_alpha_16", "lora_path": "Nutanix/Meta-Llama-3.1-8B-Instruct_lora_4_alpha_16",
"pinned": True, "pinned": True,
}, },
expected_error="unpin some adapters", expected_error="starvation",
), ),
Operation( Operation(
type=OperationType.LOAD, type=OperationType.LOAD,
@@ -809,7 +809,7 @@ EVICTION_TESTS = [
"lora_path": "philschmid/code-llama-3-1-8b-text-to-sql-lora", "lora_path": "philschmid/code-llama-3-1-8b-text-to-sql-lora",
"pinned": True, "pinned": True,
}, },
expected_error="unpin some adapters", expected_error="starvation",
), ),
Operation( Operation(
type=OperationType.LOAD, type=OperationType.LOAD,